Sfoglia il codice sorgente

修复查询问题

cyy 2 anni fa
parent
commit
c07f55bd2a
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  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) {
                         // 转角色名
-                        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
             }).catch(() => {
                 this.loading = false