Commit fb96c0c4 authored by Your Name's avatar Your Name

平台账户管理新建

parent 04af5cbb
......@@ -13,7 +13,7 @@ module.exports = {
proxyTable: {
'/mall': {
target: "http://111.203.232.175:8088/mall",
// target: "http://192.168.110.67/mall",
// target: "http://192.168.0.106:8088/mall",
// target: "http://192.168.204.66:8088/mall",
changeOrigin: true,
pathRewrite: {
......
......@@ -55,13 +55,15 @@
</el-form-item>
<el-form-item label="账号类型" prop="roleList">
<el-checkbox-group v-model="form.roleList" :min="1">
<span v-for="(item, index) in rolesList">
<el-checkbox
v-for="(item, index) in rolesList"
v-if="item.name !== '单位管理员' && item.name !== '统计管理员' && item.name !== '互动审核员'"
:key="index"
:label="item.id"
>
{{ item.name }}
</el-checkbox>
</span>
</el-checkbox-group>
</el-form-item>
</el-form>
......
......@@ -109,6 +109,7 @@ export default {
// 获取角色列表
getRolesList() {
getRoles().then((res) => {
console.log(res)
this.rolesList = res;
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment