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 773c17d3
authored
Nov 03, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新客拉群修改
1 parent
d7fbe760
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
4 deletions
vue3-lw-pc/src/views/communityOperating/newCustomer/api.js
vue3-lw-pc/src/views/communityOperating/newCustomer/statistics.vue
vue3-lw-pc/src/views/communityOperating/newCustomer/api.js
View file @
773c17d
...
@@ -193,3 +193,19 @@ export function getDataDetailExport(params) {
...
@@ -193,3 +193,19 @@ export function getDataDetailExport(params) {
responseType
:
'blob'
,
responseType
:
'blob'
,
})
})
}
}
/**
* 获取当前客户对应的群
{
id,string,false,,,新客拉群主键
externalUserid,string,false,,,当前客户的id
pageNum,integer,false,,,当前记录起始索引
pageSize,integer,false,,,每页显示记录数
}
*/
export
function
getCustomerToGroupList
(
params
)
{
return
request
({
url
:
service
+
'/findWeCommunityNewGroupChatTable'
,
params
,
})
}
vue3-lw-pc/src/views/communityOperating/newCustomer/statistics.vue
View file @
773c17d
...
@@ -68,10 +68,11 @@
...
@@ -68,10 +68,11 @@
<template
#
default=
"
{ row }">
{{
dictAddStatus
[
row
.
isJoinGroup
]
}}
</
template
>
<template
#
default=
"
{ row }">
{{
dictAddStatus
[
row
.
isJoinGroup
]
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"groupName"
label=
"进入客群"
>
<el-table-column
align=
"center"
prop=
"groupName"
label=
"进入客群"
>
<
template
#
default=
"{ row }"
>
{{
row
.
groupName
||
'—'
}}
</
template
>
<
template
#
default=
"{ row }"
>
</el-table-column>
<div
class=
"g-color cp"
@
click=
";(externalUserid = row.externalUserid), (dialogVisible = true)"
>
<el-table-column
align=
"center"
prop=
"joinTime"
label=
"进群时间"
>
{{
row
.
joinGroupNumber
}}
<
template
#
default=
"{ row }"
>
{{
row
.
joinTime
||
'—'
}}
</
template
>
</div>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
>
<el-table-column
label=
"操作"
align=
"center"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
...
@@ -90,6 +91,26 @@
...
@@ -90,6 +91,26 @@
</el-table>
</el-table>
</template>
</template>
</RequestChartTable>
</RequestChartTable>
<el-dialog
title=
"进入客群"
v-model=
"dialogVisible"
:close-on-click-modal=
"false"
>
<RequestChartTable
ref=
"importRecord"
style=
"padding: 0"
:request=
"
(query) => (
(query.id = $route.query.id), (query.externalUserid = externalUserid), api.getCustomerToGroupList(query)
)
"
>
<
template
#="{
data
}"
>
<el-table
:data=
"data"
>
<el-table-column
label=
"客群名称"
align=
"center"
prop=
"groupName"
></el-table-column>
<el-table-column
align=
"center"
prop=
"joinTime"
label=
"进群时间"
>
<template
#
default=
"
{ row }">
{{
row
.
joinTime
||
'—'
}}
</
template
>
</el-table-column>
</el-table>
</template>
</RequestChartTable>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -102,6 +123,7 @@ let id = useRoute().query.id
...
@@ -102,6 +123,7 @@ let id = useRoute().query.id
let
cardData
=
ref
([])
let
cardData
=
ref
([])
let
groups
=
[]
let
groups
=
[]
let
dictAddStatus
=
{
0
:
'未进群'
,
1
:
'已进群'
}
let
dictAddStatus
=
{
0
:
'未进群'
,
1
:
'已进群'
}
let
dialogVisible
=
ref
(
false
)
// 获取指标数据
// 获取指标数据
;(
function
getStatistic
()
{
;(
function
getStatistic
()
{
loading
.
value
=
true
loading
.
value
=
true
...
...
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