Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
a28199bb
Commit
a28199bb
authored
Aug 12, 2019
by
denghr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按钮权限
parent
7354dfb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
carApplyList.vue
src/views/applyManagements/carApplyList.vue
+3
-1
index.vue
src/views/userManagement/userList/index.vue
+3
-1
No files found.
src/views/applyManagements/carApplyList.vue
View file @
a28199bb
...
...
@@ -75,7 +75,7 @@
</el-table-column>
<el-table-column
align=
"center"
label=
"操作"
width=
"150"
fixed=
"right"
>
<
template
scope=
"scope"
>
<el-button
class=
"el-button el-button--text el-button--small"
size=
"small"
v-if=
"scope.row.status==0"
@
click=
"clickHandler(scope.row)"
>
处理
</el-button>
<el-button
class=
"el-button el-button--text el-button--small"
size=
"small"
v-if=
"scope.row.status==0
&&app
"
@
click=
"clickHandler(scope.row)"
>
处理
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -166,10 +166,12 @@
zoneId
:
null
},
allBranchCompany
:[],
app
:
false
,
}
},
created
()
{
this
.
getList
();
this
.
app
=
this
.
elements
[
'app'
];
},
computed
:
{
...
mapGetters
([
...
...
src/views/userManagement/userList/index.vue
View file @
a28199bb
...
...
@@ -133,7 +133,7 @@
<
template
scope=
"scope"
>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"viewDetails(scope.row)"
>
查看详情
</el-button>
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
@
click=
"peopleSetting(scope.row)"
>
身份设置
<el-button
size=
"small"
class=
"el-button el-button--text el-button--small"
v-if=
"admin_btn_user_postion_put"
@
click=
"peopleSetting(scope.row)"
>
身份设置
</el-button>
<el-button
class=
"el-button el-button--text el-button--small"
v-if=
"scope.row.status!=1&&userList_btn_edit"
size=
"small"
@
click=
" setMember(scope.row)"
>
设置会员信息
</el-button>
...
...
@@ -705,6 +705,7 @@
userList_btn_forbidden
:
false
,
//禁用
userList_btn_unmute
:
false
,
//取消禁用
userList_btn_del
:
false
,
//删除
admin_btn_user_postion_put
:
false
,
//身份设置
settingList
:[],
}
},
...
...
@@ -713,6 +714,7 @@
this
.
userList_btn_forbidden
=
this
.
elements
[
'userList:btn_forbidden'
];
//禁用
this
.
userList_btn_unmute
=
this
.
elements
[
'userList:btn_unmute'
];
//取消禁用
this
.
userList_btn_del
=
this
.
elements
[
'userList:btn_del'
];
//删除
this
.
admin_btn_user_postion_put
=
this
.
elements
[
'admin:btn:user_postion:put'
];
//身份设置
this
.
getList
();
this
.
getMembersLevel
();
}
...
...
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