Merge remote-tracking branch 'airkoon/master'

# Conflicts:
#	package.json
This commit is contained in:
ag 2025-03-21 17:17:40 +08:00
commit 62dcb1cdb3

View File

@ -19,12 +19,14 @@ class Warehouse {
this.typeName = params.type_name;
this.style = params.style ? params.style : {};
this.description = params.description;
this.geometryPosition=params.geometry_position;
}
static createWarehouse(params) {
let editTask = new EditTask(artApi.wareHouseInsert);
editTask.addParam("_name", params.name);
editTask.addParam("_description", params.description);
editTask.addParam("_geometry", params.geometry);
editTask.addParam("_geometry_position", params.geometryPosition);
editTask.addParam("_type", params.type);
editTask.addParam("_status", 1);
editTask.addParam("_action", params.action);
@ -37,6 +39,7 @@ class Warehouse {
editTask.addParam("_type", params.type);
editTask.addParam("_id", params.id);
editTask.addParam("_geometry", params.geometry);
editTask.addParam("_geometry_position", params.geometryPosition);
editTask.addParam("_name", params.name);
editTask.addParam("_description", params.description);
editTask.addParam("_action", params.action);