scorpio 2 anos atrás
pai
commit
764b0c07e2
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/views/home/component/params/params1.vue

+ 3 - 3
src/views/home/component/params/params1.vue

@@ -442,12 +442,12 @@ export default {
     },
     getDepList() {
       const local = {
-        label: this.user.info.deptName,
-        value: this.user.info.deptId
+        label: this.form.competent_unit_name,
+        value: this.form.competent_unit
       }
       this.deptDic.push(local)
       this.$api.system
-        .getDeptLazy({ parentId: this.user.info.deptId, deptCategory: 3 })
+        .getDeptLazy({ parentId: this.form.competent_unit, deptCategory: 3 })
         .then(res => {
           if (res.code === 200) {
             const tmp = res.data.map(ele => {