瀏覽代碼

修改农业部门下拉树404 修改错误备注

phy 1 年之前
父節點
當前提交
ecdffa0fd4

+ 8 - 7
data-ui/src/views/data/digitalagriculture/agricultural_machinery_info/index.vue

@@ -482,13 +482,14 @@
         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.open = true;
+          // treeselect().then(response => {
+          //   _this.deptOptions = response.data;
+          //   treeselectAll().then(response => {
+          //     addDeptToTreeSelect(_this.form.deptId, _this.deptOptions, response.data[0]);
+          //     this.open = true;
+          //   });
+          // });
         });
       },
       /** 提交按钮 */

+ 10 - 9
data-ui/src/views/data/digitalagriculture/animalhusbandry_info/index.vue

@@ -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;
+          //   });
+          // });
         });
       },
       /** 提交按钮 */

+ 8 - 7
data-ui/src/views/data/digitalagriculture/implements_info/index.vue

@@ -448,13 +448,14 @@ export default {
       getImplementsInfo(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.open = true;
+        // treeselect().then(response => {
+        //   _this.deptOptions = response.data;
+        //   treeselectAll().then(response => {
+        //     addDeptToTreeSelect(_this.form.deptId, _this.deptOptions, response.data[0]);
+        //     this.open = true;
+        //   });
+        // });
       });
     },
     /** 提交按钮 */

+ 8 - 7
data-ui/src/views/data/digitalagriculture/machinery_info/index.vue

@@ -411,13 +411,14 @@
         getMachineryInfo(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.open = true;
+          // treeselect().then(response => {
+          //   _this.deptOptions = response.data;
+          //   treeselectAll().then(response => {
+          //     addDeptToTreeSelect(_this.form.deptId, _this.deptOptions, response.data[0]);
+          //     this.open = true;
+          //   });
+          // });
         });
       },
       /** 提交按钮 */