Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
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 8ad2eb67
authored
May 06, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
b4710867
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletions
src/api/modules/seckillActivity.js
src/views/activityLink/components/browseList.vue
src/api/modules/seckillActivity.js
View file @
8ad2eb6
...
...
@@ -60,6 +60,7 @@ const getSharedListApi = params => {
sign
:
true
})
}
// 意向客户
const
getPurposeListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.gh.customer.purpose.page'
return
http
({
...
...
@@ -69,6 +70,15 @@ const getPurposeListApi = params => {
sign
:
true
})
}
const
updateFollow
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.gh.customer.record.update.follow.up.flag'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
// 分页浏览-导出
const
exportBrowseApi
=
(
params
,
TYPE
=
1
)
=>
{
...
...
@@ -279,4 +289,4 @@ const liveroomOverview = params => {
sign
:
true
})
}
export
default
{
purposeExport
,
getPayMerchatListApi
,
getPayListApi
,
liveroomDetailexport
,
liveroomDetailpage
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
,
getPurposeListApi
,
getDailyOrderQuantityStatistics
,
exportDailyOrderQuantityStatistics
}
export
default
{
purposeExport
,
getPayMerchatListApi
,
getPayListApi
,
liveroomDetailexport
,
liveroomDetailpage
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
,
getPurposeListApi
,
updateFollow
,
getDailyOrderQuantityStatistics
,
exportDailyOrderQuantityStatistics
}
src/views/activityLink/components/browseList.vue
View file @
8ad2eb6
...
...
@@ -49,6 +49,9 @@
<span
class=
"m-l-10"
>
{{ scope.scope.shareName }}
</span>
<span
class=
"m-l-10"
>
{{ scope.scope.sharePhone }}
</span>
</div>
<div
slot=
"isFlow"
slot-scope=
"scope"
>
<el-switch
:value=
"scope.scope.followUpFlag == 2 ? true : false"
class=
"switchStyle"
@
change=
"changeSwith(scope.scope)"
></el-switch>
</div>
<div
slot=
"isBuy"
slot-scope=
"scope"
>
<span
:class=
"['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"
></span>
<span>
...
...
@@ -234,6 +237,12 @@ export default {
label
:
'最后浏览时间'
,
prop
:
'lastBrowseDate'
,
width
:
'195px'
},
{
label
:
'是否跟进'
,
prop
:
'isFlow'
,
width
:
'100'
,
addHtml
:
'isFlow'
}
]
break
...
...
@@ -245,6 +254,12 @@ export default {
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
},
methods
:
{
changeSwith
(
scope
)
{
const
{
id
,
followUpFlag
}
=
scope
this
.
$apis
.
seckillActivity
.
updateFollow
({
followUpFlag
:
followUpFlag
==
1
?
2
:
1
,
id
}).
then
(
res
=>
{
this
.
handleSearch
()
})
},
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
console
.
log
(
this
.
$parent
)
...
...
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