|
@@ -240,7 +240,7 @@ import {
|
|
|
handleAdd() {
|
|
|
this.reset();
|
|
|
this.open = true;
|
|
|
- this.title = "添加农机技术推广部门信息";
|
|
|
+ this.title = "添加畜牧信息技术信息";
|
|
|
},
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row) {
|
|
@@ -249,14 +249,15 @@ import {
|
|
|
const id = row.id || this.ids
|
|
|
getAgriculturalMachineryInfo(id).then(response => {
|
|
|
this.form = response.data;
|
|
|
- this.title = "修改农机技术推广部门信息";
|
|
|
- treeselect().then(response => {
|
|
|
- _this.deptOptions = response.data;
|
|
|
- treeselectAll().then(response => {
|
|
|
- addDeptToTreeSelect(_this.form.deptId, _this.deptOptions, response.data[0]);
|
|
|
- this.open = true;
|
|
|
- });
|
|
|
- });
|
|
|
+ this.title = "修改畜牧信息技术信息";
|
|
|
+ this.open = true;
|
|
|
+ // treeselect().then(response => {
|
|
|
+ // _this.deptOptions = response.data;
|
|
|
+ // treeselectAll().then(response => {
|
|
|
+ // addDeptToTreeSelect(_this.form.deptId, _this.deptOptions, response.data[0]);
|
|
|
+ // this.open = true;
|
|
|
+ // });
|
|
|
+ // });
|
|
|
});
|
|
|
},
|
|
|
/** 提交按钮 */
|