yrik 4 năm trước cách đây
mục cha
commit
835b013818
1 tập tin đã thay đổi với 12 bổ sung2 xóa
  1. 12 2
      ruoyi-ui/src/views/deptplan/index.vue

+ 12 - 2
ruoyi-ui/src/views/deptplan/index.vue

@@ -235,10 +235,20 @@ export default {
   },
   methods: {
     changeBtn(e){
-      this.queryParams.sysDeptId = e[2]
+      if(e.length == 1){
+        this.queryParams.sysDeptId  = e
+      }else{
+         this.queryParams.sysDeptId = e[2]
+      }
+     
     },
     changeBtn1(e){
-      this.form.sysDeptId = e[2]
+      if(e.length == 1){
+        this.form.sysDeptId  = e
+      }else{
+        this.form.sysDeptId = e[2]
+      }
+
     },
     /** 查询 部门招商计划列表 */
     getList() {