yrik 4 tahun lalu
induk
melakukan
37c7f436eb
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      ruoyi-ui/src/views/deptplan/index.vue

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

@@ -238,7 +238,7 @@ export default {
       if(e.length == 1){
         this.queryParams.sysDeptId  = e.join(',')
       }else{
-         this.queryParams.sysDeptId = e[2]
+         this.queryParams.sysDeptId = e[e.length-1]
       }
 
     },
@@ -246,8 +246,9 @@ export default {
       if(e.length == 1){
         this.form.sysDeptId  = e.join(',')
       }else{
-        this.form.sysDeptId = e[2]
+        this.form.sysDeptId = e[e.length-1]
       }
+      console.log(e[e.length-1])
 
     },
     /** 查询 部门招商计划列表 */