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