Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-static-bg
Project
Overview
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
姜雷
cdsf-static-bg
Commits
223374ac
Commit
223374ac
authored
Nov 13, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into 'master'
Test See merge request
!18
parents
6938ce2c
aa9402c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
wxAuth.vue
src/containers/system/wxAuth/wxAuth.vue
+6
-5
No files found.
src/containers/system/wxAuth/wxAuth.vue
View file @
223374ac
...
...
@@ -29,7 +29,7 @@
</el-pagination>
</div>
<drag-dialog
class=
"wxAuthDialog"
title=
"修改"
:visible
.
sync=
"dialogEditVisible"
:before-close=
"resetEditDialog"
width=
"70%"
>
<el-transfer
v-loading=
"loading"
v-model=
"selected.userId"
filterable
:filter-method=
"filterMethod"
filter-placeholder=
"请输入姓名"
:props=
"{ key: 'userId', label: 'name'}"
:titles=
"['未被选中列', '已被选中列']"
:data=
"authUser
List"
>
<el-transfer
:key=
"transferId"
v-loading=
"loading"
v-model=
"selected.userId"
filterable
:filter-method=
"filterMethod"
filter-placeholder=
"请输入姓名/科室/电话"
:props=
"{ key: 'userId', label: 'name'}"
:titles=
"['未被选中列', '已被选中列']"
:data=
"allAuth
List"
>
<div
slot-scope=
"{ option }"
>
<span
class=
"auth-name"
>
{{ option.name }}
</span>
<span
class=
"auth-department"
>
{{ option.department }}
</span>
...
...
@@ -61,6 +61,7 @@ export default {
filters
:
{
name
:
''
,
},
transferId
:
''
,
};
},
computed
:
{
...
...
@@ -68,9 +69,8 @@ export default {
...
mapGetters
(
'system/wxAuth'
,
[
'list'
,
'pagination'
]),
allAuthList
()
{
return
this
.
authUserList
.
map
(
item
=>
({
key
:
item
.
userId
,
label
:
item
.
name
,
disabled
:
false
,
...
item
,
query
:
item
.
name
+
item
.
department
+
item
.
cellphone
,
}));
},
},
...
...
@@ -87,6 +87,7 @@ export default {
};
},
showUserAuth
(
data
)
{
this
.
transferId
=
data
.
row
.
id
;
fetchAuthUserList
({
id
:
data
.
row
.
id
,
})
...
...
@@ -103,7 +104,7 @@ export default {
});
},
filterMethod
(
query
,
list
)
{
return
list
.
name
.
indexOf
(
query
)
>
-
1
;
return
list
.
query
.
indexOf
(
query
)
>
-
1
;
},
updateAuth
()
{
const
entity
=
{
...
...
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