Commit fb96c0c4 authored by Your Name's avatar Your Name

平台账户管理新建

parent 04af5cbb
...@@ -13,7 +13,7 @@ module.exports = { ...@@ -13,7 +13,7 @@ module.exports = {
proxyTable: { proxyTable: {
'/mall': { '/mall': {
target: "http://111.203.232.175:8088/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", // target: "http://192.168.204.66:8088/mall",
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
......
...@@ -55,13 +55,15 @@ ...@@ -55,13 +55,15 @@
</el-form-item> </el-form-item>
<el-form-item label="账号类型" prop="roleList"> <el-form-item label="账号类型" prop="roleList">
<el-checkbox-group v-model="form.roleList" :min="1"> <el-checkbox-group v-model="form.roleList" :min="1">
<span v-for="(item, index) in rolesList">
<el-checkbox <el-checkbox
v-for="(item, index) in rolesList" v-if="item.name !== '单位管理员' && item.name !== '统计管理员' && item.name !== '互动审核员'"
:key="index" :key="index"
:label="item.id" :label="item.id"
> >
{{ item.name }} {{ item.name }}
</el-checkbox> </el-checkbox>
</span>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
......
...@@ -109,6 +109,7 @@ export default { ...@@ -109,6 +109,7 @@ export default {
// 获取角色列表 // 获取角色列表
getRolesList() { getRolesList() {
getRoles().then((res) => { getRoles().then((res) => {
console.log(res)
this.rolesList = 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