Преглед изворни кода

派工取消部门强关联,关联维修角色

3254194295 пре 2 година
родитељ
комит
1012fe5a36
1 измењених фајлова са 6 додато и 4 уклоњено
  1. 6 4
      src/views/repair/application-form/modules/AssignForm.vue

+ 6 - 4
src/views/repair/application-form/modules/AssignForm.vue

@@ -85,11 +85,13 @@ export default {
       this.record = record
     },
     getDeptUsers () {
-      queryUserDept({ deptCode: this.DictCache.VALUE.SYS_DEPT_CODE.XIAN_CHANG_WEI_XIU_ZU, userStatus: 1 }).then(res => {
-        queryUserDept({ deptCode: this.DictCache.VALUE.SYS_DEPT_CODE.CHANG_NEI_WEI_XIU_ZU, userStatus: 1 }).then(res2 => {
-          this.deptUserList = res.data.concat(res2.data)
-        })
+      queryUserDept({ userStatus: 1 }).then(res => {
+        // queryUserDept({ userStatus: 1 }).then(res2 => {
+        this.deptUserList = res.data
+        console.log("role11")
+        console.log(this.deptUserList)
       })
+      // })
     },
     getUsers () {
       queryUser({ status: 1 }).then(res => {