Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qzhxx
national_museum_vod
Commits
fb96c0c4
Commit
fb96c0c4
authored
Jun 01, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平台账户管理新建
parent
04af5cbb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
497 additions
and
494 deletions
+497
-494
index.js
config/index.js
+1
-1
add.vue
src/page/accounts/userDialog/add.vue
+207
-205
users.vue
src/page/accounts/users.vue
+289
-288
No files found.
config/index.js
View file @
fb96c0c4
...
...
@@ -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
:
{
...
...
src/page/accounts/userDialog/add.vue
View file @
fb96c0c4
...
...
@@ -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>
...
...
src/page/accounts/users.vue
View file @
fb96c0c4
...
...
@@ -109,6 +109,7 @@ export default {
// 获取角色列表
getRolesList
()
{
getRoles
().
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
rolesList
=
res
;
});
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment