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 1e660244
authored
May 19, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.9.3-0518' into 'master'
V3.9.3 0518 See merge request
!8
2 parents
c8708667
24794b21
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
3 deletions
src/api/modules/seckillActivity.js
src/views/activityLink/components/browseList.vue
src/views/activityLink/editActivity.vue
src/api/modules/seckillActivity.js
View file @
1e66024
...
@@ -60,6 +60,7 @@ const getSharedListApi = params => {
...
@@ -60,6 +60,7 @@ const getSharedListApi = params => {
sign
:
true
sign
:
true
})
})
}
}
// 意向客户
const
getPurposeListApi
=
params
=>
{
const
getPurposeListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.gh.customer.purpose.page'
params
.
method
=
'scrm.api.shopmall.gh.customer.purpose.page'
return
http
({
return
http
({
...
@@ -69,6 +70,15 @@ const getPurposeListApi = params => {
...
@@ -69,6 +70,15 @@ const getPurposeListApi = params => {
sign
:
true
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
)
=>
{
const
exportBrowseApi
=
(
params
,
TYPE
=
1
)
=>
{
...
@@ -279,4 +289,4 @@ const liveroomOverview = params => {
...
@@ -279,4 +289,4 @@ const liveroomOverview = params => {
sign
:
true
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 @
1e66024
...
@@ -49,6 +49,9 @@
...
@@ -49,6 +49,9 @@
<span
class=
"m-l-10"
>
{{ scope.scope.shareName }}
</span>
<span
class=
"m-l-10"
>
{{ scope.scope.shareName }}
</span>
<span
class=
"m-l-10"
>
{{ scope.scope.sharePhone }}
</span>
<span
class=
"m-l-10"
>
{{ scope.scope.sharePhone }}
</span>
</div>
</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"
>
<div
slot=
"isBuy"
slot-scope=
"scope"
>
<span
:class=
"['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"
></span>
<span
:class=
"['table-circle', 'm-r-8', scope.scope.isBuy == 'Y' ? 'back-green' : 'back-grey']"
></span>
<span>
<span>
...
@@ -234,6 +237,12 @@ export default {
...
@@ -234,6 +237,12 @@ export default {
label
:
'最后浏览时间'
,
label
:
'最后浏览时间'
,
prop
:
'lastBrowseDate'
,
prop
:
'lastBrowseDate'
,
width
:
'195px'
width
:
'195px'
},
{
label
:
'是否跟进'
,
prop
:
'isFlow'
,
width
:
'100'
,
addHtml
:
'isFlow'
}
}
]
]
break
break
...
@@ -245,6 +254,12 @@ export default {
...
@@ -245,6 +254,12 @@ export default {
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
},
},
methods
:
{
methods
:
{
changeSwith
(
scope
)
{
const
{
id
,
followUpFlag
}
=
scope
this
.
$apis
.
seckillActivity
.
updateFollow
({
followUpFlag
:
followUpFlag
==
1
?
2
:
1
,
id
}).
then
(
res
=>
{
this
.
handleSearch
()
})
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
console
.
log
(
this
.
$parent
)
console
.
log
(
this
.
$parent
)
...
...
src/views/activityLink/editActivity.vue
View file @
1e66024
...
@@ -1252,7 +1252,7 @@ export default {
...
@@ -1252,7 +1252,7 @@ export default {
let
hideStatus
=
false
let
hideStatus
=
false
if
(
val
==
2
)
{
if
(
val
==
2
)
{
hideStatus
=
true
hideStatus
=
true
this
.
editForm
.
couponList
=
[]
this
.
editForm
.
couponList
=
[]
this
.
selectedGoodsList
=
[]
this
.
selectedGoodsList
=
[]
}
else
{
}
else
{
hideStatus
=
false
hideStatus
=
false
...
@@ -1893,7 +1893,7 @@ export default {
...
@@ -1893,7 +1893,7 @@ export default {
}
}
// 表单设置
// 表单设置
this
.
editForm
.
formDescribeCheck
=
[]
this
.
$set
(
this
.
editForm
,
'formDescribeCheck'
,
[])
this
.
editForm
.
selectCarNumberFlag
=
this
.
editForm
.
selectCarNumberFlag
||
1
this
.
editForm
.
selectCarNumberFlag
=
this
.
editForm
.
selectCarNumberFlag
||
1
this
.
editForm
.
selectVehicleTypeFlag
=
this
.
editForm
.
selectVehicleTypeFlag
||
1
this
.
editForm
.
selectVehicleTypeFlag
=
this
.
editForm
.
selectVehicleTypeFlag
||
1
this
.
editForm
.
selectPhoneNumberFlag
=
this
.
editForm
.
selectPhoneNumberFlag
||
1
this
.
editForm
.
selectPhoneNumberFlag
=
this
.
editForm
.
selectPhoneNumberFlag
||
1
...
...
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