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
bbe429e1
Commit
bbe429e1
authored
Nov 12, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加筛选功能
parent
124d9898
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
wxAuth.vue
src/containers/system/wxAuth/wxAuth.vue
+4
-2
No files found.
src/containers/system/wxAuth/wxAuth.vue
View file @
bbe429e1
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</el-pagination>
</el-pagination>
</div>
</div>
<drag-dialog
class=
"wxAuthDialog"
title=
"修改"
:visible
.
sync=
"dialogEditVisible"
:before-close=
"resetEditDialog"
width=
"70%"
>
<drag-dialog
class=
"wxAuthDialog"
title=
"修改"
:visible
.
sync=
"dialogEditVisible"
:before-close=
"resetEditDialog"
width=
"70%"
>
<el-transfer
v-loading=
"loading"
v-model=
"selected.userId"
:props=
"{ key: 'userId', label: 'name'}"
:titles=
"['未被选中列', '已被选中列']"
:data=
"authUserList"
>
<el-transfer
v-loading=
"loading"
v-model=
"selected.userId"
filterable
:filter-method=
"filterMethod"
filter-placeholder=
"请输入姓名"
:props=
"{ key: 'userId', label: 'name'}"
:titles=
"['未被选中列', '已被选中列']"
:data=
"authUserList"
>
<div
slot-scope=
"{ option }"
>
<div
slot-scope=
"{ option }"
>
<span
class=
"auth-name"
>
{{ option.name }}
</span>
<span
class=
"auth-name"
>
{{ option.name }}
</span>
<span
class=
"auth-department"
>
{{ option.department }}
</span>
<span
class=
"auth-department"
>
{{ option.department }}
</span>
...
@@ -102,7 +102,9 @@ export default {
...
@@ -102,7 +102,9 @@ export default {
this
.
$message
.
error
(
err
.
msg
||
'查询失败!'
);
this
.
$message
.
error
(
err
.
msg
||
'查询失败!'
);
});
});
},
},
filterMethod
()
{},
filterMethod
(
query
,
list
)
{
return
list
.
name
.
indexOf
(
query
)
>
-
1
;
},
updateAuth
()
{
updateAuth
()
{
const
entity
=
{
const
entity
=
{
menuId
:
this
.
selected
.
id
,
menuId
:
this
.
selected
.
id
,
...
...
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