变更修复方案id问题
This commit is contained in:
parent
08fffc674d
commit
2e0ed5968e
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@airkoon/cellsysArt",
|
"name": "@airkoon/cellsysArt",
|
||||||
"version": "1.0.6",
|
"version": "1.0.8",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
@ -19,12 +19,14 @@ class Warehouse {
|
|||||||
this.typeName = params.type_name;
|
this.typeName = params.type_name;
|
||||||
this.style = params.style ? params.style : {};
|
this.style = params.style ? params.style : {};
|
||||||
this.description = params.description;
|
this.description = params.description;
|
||||||
|
this.geometryPosition=params.geometry_position;
|
||||||
}
|
}
|
||||||
static createWarehouse(params) {
|
static createWarehouse(params) {
|
||||||
let editTask = new EditTask(artApi.wareHouseInsert);
|
let editTask = new EditTask(artApi.wareHouseInsert);
|
||||||
editTask.addParam("_name", params.name);
|
editTask.addParam("_name", params.name);
|
||||||
editTask.addParam("_description", params.description);
|
editTask.addParam("_description", params.description);
|
||||||
editTask.addParam("_geometry", params.geometry);
|
editTask.addParam("_geometry", params.geometry);
|
||||||
|
editTask.addParam("_geometry_position", params.geometryPosition);
|
||||||
editTask.addParam("_type", params.type);
|
editTask.addParam("_type", params.type);
|
||||||
editTask.addParam("_status", 1);
|
editTask.addParam("_status", 1);
|
||||||
editTask.addParam("_action", params.action);
|
editTask.addParam("_action", params.action);
|
||||||
@ -37,6 +39,7 @@ class Warehouse {
|
|||||||
editTask.addParam("_type", params.type);
|
editTask.addParam("_type", params.type);
|
||||||
editTask.addParam("_id", params.id);
|
editTask.addParam("_id", params.id);
|
||||||
editTask.addParam("_geometry", params.geometry);
|
editTask.addParam("_geometry", params.geometry);
|
||||||
|
editTask.addParam("_geometry_position", params.geometryPosition);
|
||||||
editTask.addParam("_name", params.name);
|
editTask.addParam("_name", params.name);
|
||||||
editTask.addParam("_description", params.description);
|
editTask.addParam("_description", params.description);
|
||||||
editTask.addParam("_action", params.action);
|
editTask.addParam("_action", params.action);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user