许成详 6 年前
父节点
当前提交
7a7f31ba6d
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1
    0
      src/pages/system/index.vue
  2. 2
    1
      src/pages/system/systemSet/userManager/index.vue

+ 1
- 0
src/pages/system/index.vue 查看文件

@@ -97,6 +97,7 @@ export default {
97 97
           type: 'success',
98 98
           message: '操作成功!'
99 99
         })
100
+        this.$cookie.set('accountInfo', null)
100 101
         this.$router.push({ name: 'login' })
101 102
       })
102 103
     },

+ 2
- 1
src/pages/system/systemSet/userManager/index.vue 查看文件

@@ -271,6 +271,7 @@ export default {
271 271
       }).then(res => {
272 272
         if (res !== null) this.tags = res
273 273
         this.currentEditItem = row
274
+        this.getRole()
274 275
         this.dialogTableVisible = true
275 276
       })
276 277
     },
@@ -291,7 +292,7 @@ export default {
291 292
     getRole () { // 绑定角色搜索事件,发送请求搜索角色列表
292 293
       this.$ajax(this.$api.caseManager.getRolesList.url, {
293 294
         method: this.$api.caseManager.getRolesList.method,
294
-        data: this.postData
295
+        queryData: this.postData
295 296
       }).then(res => {
296 297
         this.searchTagList = res.list
297 298
       })