Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
ybf
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
xulili
ybf
Commits
c0c3ef7d
Commit
c0c3ef7d
authored
Feb 04, 2020
by
Z
Browse files
Options
Browse Files
Download
Plain Diff
Z: Dot: next bar and keywords.
parents
9ba083f2
c966cd7d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
190 additions
and
99 deletions
+190
-99
mail.js
ybf_admin/src/api/in/mail.js
+26
-1
move.vue
ybf_admin/src/pages/in/contact/components/move.vue
+14
-2
mail.vue
ybf_admin/src/pages/in/contact/mail.vue
+150
-96
No files found.
ybf_admin/src/api/in/mail.js
View file @
c0c3ef7d
...
@@ -18,7 +18,14 @@ export function getNoGroupMember(data) {
...
@@ -18,7 +18,14 @@ export function getNoGroupMember(data) {
params
:
data
params
:
data
})
})
}
}
// 获取柜组用户
export
function
getGroupById
(
data
)
{
return
request
({
url
:
'/admin/auth/addressbook/getUserByShopId'
,
method
:
'get'
,
params
:
data
})
}
// 根据部门id获取人员
// 根据部门id获取人员
export
function
getMemberById
(
data
)
{
export
function
getMemberById
(
data
)
{
return
request
({
return
request
({
...
@@ -66,3 +73,21 @@ export function getHistoryList(data) {
...
@@ -66,3 +73,21 @@ export function getHistoryList(data) {
data
data
})
})
}
}
// 移动人员
export
function
moveMember
(
data
)
{
return
request
({
url
:
'admin/auth/addressbook/updateStallClerkByUserId'
,
method
:
'put'
,
params
:
data
})
}
// 模糊查询
export
function
search
(
data
)
{
return
request
({
url
:
'/admin/auth/addressbook/getUserByKeyWords'
,
method
:
'get'
,
params
:
data
})
}
\ No newline at end of file
ybf_admin/src/pages/in/contact/components/move.vue
View file @
c0c3ef7d
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getGroup
}
from
"@/api/in/mail"
;
import
{
getGroup
,
moveMember
}
from
"@/api/in/mail"
;
import
{
log
}
from
"util"
;
import
{
log
}
from
"util"
;
export
default
{
export
default
{
...
@@ -85,6 +85,10 @@ export default {
...
@@ -85,6 +85,10 @@ export default {
moveDialog
:
{
moveDialog
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
idList
:
{
type
:
Array
,
default
:
()
=>
[]
}
}
},
},
data
()
{
data
()
{
...
@@ -105,7 +109,15 @@ export default {
...
@@ -105,7 +109,15 @@ export default {
this
.
$emit
(
"handleCancel"
);
this
.
$emit
(
"handleCancel"
);
},
},
handleFinish
()
{
handleFinish
()
{
let
groupId
=
this
.
$refs
.
tree
.
getCheckedKeys
()[
0
]
let
data
=
{
stallIds
:
groupId
,
userIds
:
this
.
idList
+
','
}
moveMember
(
data
).
then
(
res
=>
{
this
.
$emit
(
"handleFinish"
,
false
);
this
.
$emit
(
"handleFinish"
,
false
);
})
},
},
/* handleChange() {},
/* handleChange() {},
handleClose() {
handleClose() {
...
...
ybf_admin/src/pages/in/contact/mail.vue
View file @
c0c3ef7d
This diff is collapsed.
Click to expand it.
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