Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 d4b1e1cb
authored
Feb 15, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
c504387e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
linkwe-ui/src/api/redPacketTool/staffManage.js
linkwe-ui/src/views/redPacketTool/sendRecord/Group.vue
linkwe-ui/src/views/redPacketTool/spendStatistics.vue
linkwe-ui/src/api/redPacketTool/staffManage.js
View file @
d4b1e1c
...
...
@@ -13,7 +13,7 @@ userId 是 检索条件,传员工id
export
function
getList
(
params
)
{
return
request
({
url
:
service
+
'/findLimitUserRedEnvelops'
,
params
params
,
})
}
...
...
@@ -31,7 +31,7 @@ export function addOrUpdate(params) {
return
request
({
url
:
service
+
'/addOrUpdateUserRedEnvelopsLimit'
,
method
:
'post'
,
data
:
params
data
:
params
,
})
}
...
...
@@ -48,14 +48,18 @@ export function batchUpdate(params) {
return
request
({
url
:
service
+
'/batchUpdateUserRedEnvelopsLimit'
,
method
:
'post'
,
data
:
params
data
:
params
,
})
}
export
function
remove
(
params
)
{
/**
* 员工管理删除
* @param {*} ids 多个id,使用逗号隔开
* @returns
*/
export
function
remove
(
ids
)
{
return
request
({
url
:
service
+
'/batchUpdateUserRedEnvelopsLimit'
,
method
:
'post'
,
data
:
params
url
:
service
+
'/deleteLimitUserRedEnvelops/'
+
ids
,
method
:
'DELETE'
,
})
}
linkwe-ui/src/views/redPacketTool/sendRecord/Group.vue
View file @
d4b1e1c
...
...
@@ -109,17 +109,17 @@ export default {
let
cardData
=
[
{
title
:
'群主'
,
value
:
row
.
totalCnt
,
value
:
row
.
groupLeaderName
,
noArrow
:
true
,
},
{
title
:
'领取人数'
,
value
:
row
.
totalCnt
,
value
:
row
.
receiveNum
,
noArrow
:
true
,
},
{
title
:
'剩余红包个数'
,
value
:
row
.
totalCnt
,
value
:
row
.
surplusNum
,
noArrow
:
true
,
},
]
...
...
linkwe-ui/src/views/redPacketTool/spendStatistics.vue
View file @
d4b1e1c
...
...
@@ -186,8 +186,8 @@ export default {
getRecordList
()
{
this
.
loading
=
true
getRecordList
(
this
.
query
)
.
then
(({
data
,
total
}
)
=>
{
this
.
list
=
data
.
then
(({
rows
,
total
}
)
=>
{
this
.
list
=
rows
this
.
total
=
+
total
}
)
.
catch
((
e
)
=>
{
...
...
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