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 a45d3639
authored
Feb 15, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
977b2e84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
23 deletions
linkwe-ui/src/api/redPacketTool/sendRecord.js
linkwe-ui/src/views/redPacketTool/sendRecord/Group.vue
linkwe-ui/src/api/redPacketTool/sendRecord.js
View file @
a45d363
...
@@ -17,7 +17,7 @@ const service = window.CONFIG.services.system + window.CONFIG.services.wecom + '
...
@@ -17,7 +17,7 @@ const service = window.CONFIG.services.system + window.CONFIG.services.wecom + '
export
function
getList
(
params
)
{
export
function
getList
(
params
)
{
return
request
({
return
request
({
url
:
service
+
'/findRedEnveForUser'
,
url
:
service
+
'/findRedEnveForUser'
,
params
params
,
})
})
}
}
...
@@ -34,7 +34,7 @@ export function getList(params) {
...
@@ -34,7 +34,7 @@ export function getList(params) {
export
function
exportCustomer
(
params
)
{
export
function
exportCustomer
(
params
)
{
return
request
({
return
request
({
url
:
service
+
'/exportRedEnveForUser'
,
url
:
service
+
'/exportRedEnveForUser'
,
params
params
,
})
})
}
}
...
@@ -54,7 +54,7 @@ export function exportCustomer(params) {
...
@@ -54,7 +54,7 @@ export function exportCustomer(params) {
export
function
getListGroup
(
params
)
{
export
function
getListGroup
(
params
)
{
return
request
({
return
request
({
url
:
service
+
'/findRedEnveForGroup'
,
url
:
service
+
'/findRedEnveForGroup'
,
params
params
,
})
})
}
}
...
@@ -67,10 +67,10 @@ export function getListGroup(params) {
...
@@ -67,10 +67,10 @@ export function getListGroup(params) {
chatId: '' // 群id
chatId: '' // 群id
}
}
*/
*/
export
function
getListGroupUser
(
chatId
)
{
export
function
getListGroupUser
(
params
)
{
return
request
({
return
request
({
url
:
service
+
'/findRedEnveForGroupUser/'
+
chatId
,
url
:
service
+
'/findRedEnveForGroupUser/'
+
params
.
chatId
,
params
params
,
})
})
}
}
...
@@ -87,6 +87,6 @@ export function getListGroupUser(chatId) {
...
@@ -87,6 +87,6 @@ export function getListGroupUser(chatId) {
export
function
exportGroup
(
params
)
{
export
function
exportGroup
(
params
)
{
return
request
({
return
request
({
url
:
service
+
'/exportRedEnveForGroup'
,
url
:
service
+
'/exportRedEnveForGroup'
,
params
params
,
})
})
}
}
linkwe-ui/src/views/redPacketTool/sendRecord/Group.vue
View file @
a45d363
...
@@ -13,7 +13,7 @@ export default {
...
@@ -13,7 +13,7 @@ export default {
groupName
:
''
,
// 客户群名
groupName
:
''
,
// 客户群名
redEnvelopeType
:
''
,
// 1: 普通红包2:拼手气红包
redEnvelopeType
:
''
,
// 1: 普通红包2:拼手气红包
beginTime
:
''
,
// 创建开始时间
beginTime
:
''
,
// 创建开始时间
endTime
:
''
// 创建结束时间
endTime
:
''
,
// 创建结束时间
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
//
total
:
0
,
//
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
dictStatusType
:
Object
.
freeze
({
dictStatusType
:
Object
.
freeze
({
0
:
'全部状态'
,
0
:
'全部状态'
,
1
:
'普通红包'
,
1
:
'普通红包'
,
2
:
'拼手气红包'
2
:
'拼手气红包'
,
}),
}),
dialogVisible
:
false
,
dialogVisible
:
false
,
...
@@ -32,12 +32,12 @@ export default {
...
@@ -32,12 +32,12 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
chatId
:
''
// 群id
chatId
:
''
,
// 群id
},
},
loading
:
false
,
loading
:
false
,
total
:
0
,
//
total
:
0
,
//
list
:
[]
//
list
:
[]
,
//
}
}
,
}
}
},
},
watch
:
{
watch
:
{
...
@@ -49,7 +49,7 @@ export default {
...
@@ -49,7 +49,7 @@ export default {
}
else
{
}
else
{
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
;[
this
.
query
.
beginTime
,
this
.
query
.
endTime
]
=
dateRange
}
}
}
}
,
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
this
.
$confirm
(
'确认导出吗?'
,
'提示'
,
{
this
.
$confirm
(
'确认导出吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
this
.
loading
=
true
this
.
loading
=
true
...
@@ -110,29 +110,29 @@ export default {
...
@@ -110,29 +110,29 @@ export default {
{
{
title
:
'群主'
,
title
:
'群主'
,
value
:
row
.
totalCnt
,
value
:
row
.
totalCnt
,
noArrow
:
true
noArrow
:
true
,
},
},
{
{
title
:
'领取人数'
,
title
:
'领取人数'
,
value
:
row
.
totalCnt
,
value
:
row
.
totalCnt
,
noArrow
:
true
noArrow
:
true
,
},
},
{
{
title
:
'剩余红包个数'
,
title
:
'剩余红包个数'
,
value
:
row
.
totalCnt
,
value
:
row
.
totalCnt
,
noArrow
:
true
noArrow
:
true
,
}
}
,
]
]
this
.
cardData
=
cardData
this
.
cardData
=
cardData
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
this
.
dialog
.
query
.
chatId
=
row
s
.
chatId
this
.
dialog
.
query
.
chatId
=
row
.
chatId
this
.
getListGroupUser
(
1
)
this
.
getListGroupUser
(
1
)
},
},
// 获取领取详情
// 获取领取详情
getListGroupUser
(
page
)
{
getListGroupUser
(
page
)
{
page
&&
(
this
.
dialog
.
query
.
pageNum
=
page
)
page
&&
(
this
.
dialog
.
query
.
pageNum
=
page
)
this
.
dialog
.
loading
=
true
this
.
dialog
.
loading
=
true
getListGroupUser
(
this
.
query
)
getListGroupUser
(
this
.
dialog
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
dialog
.
list
=
rows
this
.
dialog
.
list
=
rows
this
.
dialog
.
total
=
+
total
this
.
dialog
.
total
=
+
total
...
@@ -141,8 +141,8 @@ export default {
...
@@ -141,8 +141,8 @@ export default {
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialog
.
loading
=
false
this
.
dialog
.
loading
=
false
})
})
}
}
,
}
}
,
}
}
</
script
>
</
script
>
...
@@ -267,7 +267,6 @@ export default {
...
@@ -267,7 +267,6 @@ export default {
</el-table>
</el-table>
<pagination
<pagination
v-show=
"dialog.total > 0"
:total=
"dialog.total"
:total=
"dialog.total"
:page
.
sync=
"dialog.query.pageNum"
:page
.
sync=
"dialog.query.pageNum"
:limit
.
sync=
"dialog.query.pageSize"
:limit
.
sync=
"dialog.query.pageSize"
...
...
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