Browse Source

init

newStyle
lancer 3 years ago
parent
commit
87b2b49bbc
2 changed files with 5 additions and 4 deletions
  1. +1
    -1
      src/api/modules/api.js
  2. +4
    -3
      src/views/admin/role/index.vue

+ 1
- 1
src/api/modules/api.js View File

@@ -215,7 +215,7 @@ export function orgUserList(query) {
// 验证电话号码是否存在
export function verPhone(username) {
return request({
url: 'admin/user/info/'+username,
url: 'admin/user/findByUsername/'+username,
method: 'get',
})
}


+ 4
- 3
src/views/admin/role/index.vue View File

@@ -4,8 +4,8 @@
<basic-container>
<div style="margin-bottom: 20px">
<el-radio-group v-model="tabselect" size="medium" @change="radioChange">
<el-radio-button label="0">楼盘角色</el-radio-button>
<el-radio-button label="1">公司角色</el-radio-button>
<el-radio-button label="0">业务角色</el-radio-button>
<!-- <el-radio-button label="1">公司角色</el-radio-button> -->
<el-radio-button label="2">代理商角色</el-radio-button>
<el-radio-button label="3">系统角色</el-radio-button>
</el-radio-group>
@@ -438,7 +438,7 @@ export default {
}
if (e == 2) {
this.findMyAgent();
this.getList();
// this.getList();
} else {
this.treeDataList = [];
this.getList();
@@ -462,6 +462,7 @@ export default {
this.$nextTick(() => {
// this.selectKeys=[res.data[0].id]
this.$refs.tree.setCurrentKey(res.data[0].id);
this.getList();
});
});
},


Loading…
Cancel
Save