Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
杨明
/
scrm-micro-config
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 429c5ec0
authored
Nov 03, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
路由
1 parent
afa43dde
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
src/views/employee/detailEmployee.vue
src/views/employee/editEmployee.vue
src/views/employee/detailEmployee.vue
View file @
429c5ec
...
...
@@ -50,7 +50,7 @@ export default {
methods
:
{
handleClose
()
{
this
.
$router
.
push
({
name
:
'Account2EmployeeI
ndex'
path
:
'/employee/i
ndex'
})
}
}
...
...
src/views/employee/editEmployee.vue
View file @
429c5ec
...
...
@@ -11,10 +11,10 @@
<select-page
:form=
"editForm"
width=
"360"
:targetItem=
"item.scope"
@
handleChange=
"handleChangeMerchant"
></select-page>
</
template
>
<
template
v-if=
"routeInfo.addOrEdit == 2"
slot=
"passwordSlot"
>
<el-button
type=
"primary"
@
click=
"handleResetPass"
>
重置密码
</el-button>
<el-button
class=
"m-l-10"
type=
"primary"
@
click=
"handleResetPass"
>
重置密码
</el-button>
</
template
>
<
template
v-if=
"userInfo.accountLevel == 4"
slot=
"roleIdsSlot"
>
<el-button
type=
"primary"
@
click=
"handleJumpRole"
>
创建角色
</el-button>
<
template
v-if=
"userInfo.accountLevel == 4
&& routeInfo.addOrEdit == 1
"
slot=
"roleIdsSlot"
>
<el-button
class=
"m-l-10"
type=
"primary"
@
click=
"handleJumpRole"
>
创建角色
</el-button>
</
template
>
<
template
slot=
"visibleInferiorMer"
slot-scope=
"item"
>
<el-input
:style=
"
{ width: item.width || '360px' }" placeholder="可见商户" v-model="filterText">
</el-input>
...
...
@@ -303,7 +303,7 @@ export default {
this
.
editForm
.
password
=
''
},
handleJumpRole
()
{
this
.
$router
.
push
(
"/role/create/"
+
0
)
this
.
$router
.
push
(
'/role/create/'
+
0
)
},
handleConfirm
()
{
// console.log(this.$refs.tree.getCheckedNodes())
...
...
@@ -339,7 +339,7 @@ export default {
},
handleCancel
()
{
this
.
$router
.
push
({
name
:
'Account2EmployeeI
ndex'
path
:
'/employee/i
ndex'
})
}
}
...
...
@@ -415,4 +415,7 @@ export default {
text-overflow
:
ellipsis
;
margin-left
:
8px
;
}
.config-employee
.m-l-10
{
margin-left
:
10px
;
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment