yrik 4 年之前
父節點
當前提交
37c7f436eb
共有 1 個文件被更改,包括 3 次插入2 次删除
  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])
 
     },
     /** 查询 部门招商计划列表 */