瀏覽代碼

修复查询问题

cyy 2 年之前
父節點
當前提交
c07f55bd2a
共有 1 個文件被更改,包括 4 次插入3 次删除
  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