|
|
@@ -411,7 +411,7 @@ export default {
|
|
|
remark: null,
|
|
|
map: null,
|
|
|
workareaCode: null,
|
|
|
- workareaId: null,
|
|
|
+ workareaId: undefined,
|
|
|
workareaName: null,
|
|
|
workareaType: null,
|
|
|
workshopId: null,
|
|
|
@@ -470,14 +470,17 @@ export default {
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
|
- this.reset();
|
|
|
+
|
|
|
this.EditId = row.workareaId || this.ids;
|
|
|
getWorkareaInfo(row.workareaId).then((response) => {
|
|
|
this.form = response.data;
|
|
|
this.open = true;
|
|
|
this.title = "修改作业区域";
|
|
|
});
|
|
|
- data
|
|
|
+const data={
|
|
|
+ current:1,
|
|
|
+ size:-1
|
|
|
+}
|
|
|
listWorkarea(data).then((response) => {
|
|
|
this.deptOptions = this.handleTree(
|
|
|
response.data.records,
|