Explorar o código

修复查询问题

cyy %!s(int64=2) %!d(string=hai) anos
pai
achega
c07f55bd2a
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/views/platform/org/employee/list.vue

+ 4 - 3
src/views/platform/org/employee/list.vue

@@ -349,11 +349,12 @@ export default {
                     }
                     }
                     if (item.job) {
                     if (item.job) {
                         // 转角色名
                         // 转角色名
-                        const name = this.getRoleName(item.job)
-                        this.$set(item, 'roleName', name)
+                        const role = this.getRoleName(item.job)
+                        this.$set(item, 'roleName', role)
                     }
                     }
+                    ActionUtils.handleListData(this, response.data)
                 })
                 })
-                ActionUtils.handleListData(this, response.data)
+                
                 this.loading = false
                 this.loading = false
             }).catch(() => {
             }).catch(() => {
                 this.loading = false
                 this.loading = false