diff --git a/artSystem.js b/artSystem.js index cf00ea3..da31243 100644 --- a/artSystem.js +++ b/artSystem.js @@ -731,6 +731,7 @@ class ArtSystem { let editTask = new EditTask(artApi.laboratoryInsert); editTask.addParam('_name', params.name); editTask.addParam('_geometry', params.geometry); + editTask.addParam("_geometry_position", params.geometryPosition); editTask.addParam('_description', params.description); return new Promise((resolve, reject) => { editTask diff --git a/laboratory.js b/laboratory.js index e422aec..9447327 100644 --- a/laboratory.js +++ b/laboratory.js @@ -10,6 +10,7 @@ class Laboratory { this.name = params.name; this.description = params.description; this.geometry = params.geometry; + this.geometryPosition=params.geometry_position; this.creator = params.creator; this.updater = params.updater; this.createTime = params.create_time; @@ -29,6 +30,7 @@ class Laboratory { editTask.addParam("_description", params.description); editTask.addParam("_name", params.name); editTask.addParam("_geometry", params.geometry); + editTask.addParam("_geometry_position", params.geometryPosition); return new Promise((resolve, reject) => { editTask