Browse Source

修复查询问题

cyy 2 năm trước cách đây
mục cha
commit
c07f55bd2a
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  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