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 0c7906dd
authored
Jul 13, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
b8df9b6f
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
95 additions
and
98 deletions
src/api/modules/activity.js
src/api/modules/common.js
src/api/modules/giftBag.js
src/api/modules/marketing.js
src/api/modules/orderManage.js
src/api/modules/seckillActivity.js
src/views/activityLink/components/Marketing.vue
src/views/activityLink/components/MarketingContent.vue
src/views/activityLink/components/MarketingGift.vue
src/views/activityLink/components/MarketingTask.vue
src/views/activityLink/components/PhoneView.vue
src/views/activityLink/components/Scene.vue
src/api/modules/activity.js
View file @
0c7906d
...
@@ -12,7 +12,7 @@ const defaultPath = 'scrm.api.shopmall.activity.'
...
@@ -12,7 +12,7 @@ const defaultPath = 'scrm.api.shopmall.activity.'
const
dropdownList
=
params
=>
{
const
dropdownList
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.tencentcloudmedia.dropdown.list`
params
.
method
=
`scrm.api.shopmall.tencentcloudmedia.dropdown.list`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -22,7 +22,7 @@ const dropdownList = params => {
...
@@ -22,7 +22,7 @@ const dropdownList = params => {
const
tencentcloudmediaDelete
=
params
=>
{
const
tencentcloudmediaDelete
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.tencentcloudmedia.delete`
params
.
method
=
`scrm.api.shopmall.tencentcloudmedia.delete`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -42,7 +42,7 @@ const tencentcloudmediaUpdate = params => {
...
@@ -42,7 +42,7 @@ const tencentcloudmediaUpdate = params => {
const
tencentcloudmediaDetail
=
params
=>
{
const
tencentcloudmediaDetail
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.tencentcloudmedia.detail`
params
.
method
=
`scrm.api.shopmall.tencentcloudmedia.detail`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -62,7 +62,7 @@ const tencentcloudmediaPage = params => {
...
@@ -62,7 +62,7 @@ const tencentcloudmediaPage = params => {
const
getActivityDetailApi
=
params
=>
{
const
getActivityDetailApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
detail`
params
.
method
=
`
${
defaultPath
}
detail`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -73,7 +73,7 @@ const getActivityDetailApi = params => {
...
@@ -73,7 +73,7 @@ const getActivityDetailApi = params => {
const
toggleStatus
=
params
=>
{
const
toggleStatus
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
toggle.status`
params
.
method
=
`
${
defaultPath
}
toggle.status`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -83,7 +83,7 @@ const toggleStatus = params => {
...
@@ -83,7 +83,7 @@ const toggleStatus = params => {
const
deleteApi
=
params
=>
{
const
deleteApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
delete`
params
.
method
=
`
${
defaultPath
}
delete`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -93,7 +93,7 @@ const deleteApi = params => {
...
@@ -93,7 +93,7 @@ const deleteApi = params => {
const
pageAllApi
=
params
=>
{
const
pageAllApi
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.all.bulge.activity.page`
params
.
method
=
`scrm.api.shopmall.all.bulge.activity.page`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -102,7 +102,7 @@ const pageAllApi = params => {
...
@@ -102,7 +102,7 @@ const pageAllApi = params => {
const
pageApi
=
params
=>
{
const
pageApi
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.bulge.activity.page`
params
.
method
=
`scrm.api.shopmall.bulge.activity.page`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -111,7 +111,7 @@ const pageApi = params => {
...
@@ -111,7 +111,7 @@ const pageApi = params => {
const
updateApi
=
params
=>
{
const
updateApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
bulge.add.or.update`
params
.
method
=
`
${
defaultPath
}
bulge.add.or.update`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -120,7 +120,7 @@ const updateApi = params => {
...
@@ -120,7 +120,7 @@ const updateApi = params => {
const
getShared
=
params
=>
{
const
getShared
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.bulge.activity.get.shared`
params
.
method
=
`scrm.api.shopmall.bulge.activity.get.shared`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -130,7 +130,7 @@ const getShared = params => {
...
@@ -130,7 +130,7 @@ const getShared = params => {
const
activityPage
=
params
=>
{
const
activityPage
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.history.activity.page`
params
.
method
=
`scrm.api.shopmall.history.activity.page`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/api/modules/common.js
View file @
0c7906d
...
@@ -22,7 +22,7 @@ const pictureUpload = params => {
...
@@ -22,7 +22,7 @@ const pictureUpload = params => {
const
getMerchantStaff
=
params
=>
{
const
getMerchantStaff
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowd.funding.staff.get'
params
.
method
=
'scrm.api.shopmall.crowd.funding.staff.get'
return
http
({
return
http
({
url
:
'/
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'/rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -82,7 +82,7 @@ const getCrowdfundingOrderConfig = (params = {}) => {
...
@@ -82,7 +82,7 @@ const getCrowdfundingOrderConfig = (params = {}) => {
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.config'
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.config'
params
.
requestType
=
1
//0:门店;1:运营版
params
.
requestType
=
1
//0:门店;1:运营版
return
http
({
return
http
({
url
:
'/
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'/rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/api/modules/giftBag.js
View file @
0c7906d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-12-13 16:38:54
* @Date: 2022-12-13 16:38:54
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-1
1 15:28:51
* @LastEditTime: 2023-07-1
3 14:25:32
* @FilePath: \scrm-micro-link\src\api\modules\giftBag.js
* @FilePath: \scrm-micro-link\src\api\modules\giftBag.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
*/
...
@@ -66,7 +66,7 @@ const equityMerchant = params => {
...
@@ -66,7 +66,7 @@ const equityMerchant = params => {
const
packageAdd
=
params
=>
{
const
packageAdd
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.add.or.update'
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.add.or.update'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -76,7 +76,7 @@ const packageAdd = params => {
...
@@ -76,7 +76,7 @@ const packageAdd = params => {
const
packageList
=
params
=>
{
const
packageList
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.list'
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.list'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -86,7 +86,7 @@ const packageList = params => {
...
@@ -86,7 +86,7 @@ const packageList = params => {
const
packageDetail
=
params
=>
{
const
packageDetail
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.detail'
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.detail'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -96,7 +96,7 @@ const packageDetail = params => {
...
@@ -96,7 +96,7 @@ const packageDetail = params => {
const
packageDefault
=
params
=>
{
const
packageDefault
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.default'
params
.
method
=
'scrm.api.shopmall.activity.coupon.package.default'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/api/modules/marketing.js
View file @
0c7906d
...
@@ -108,7 +108,7 @@ const EntWechatQrCode = params => {
...
@@ -108,7 +108,7 @@ const EntWechatQrCode = params => {
const
activityDetail
=
params
=>
{
const
activityDetail
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.detail'
params
.
method
=
'scrm.api.shopmall.activity.detail'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -137,7 +137,7 @@ const registerSso = params => {
...
@@ -137,7 +137,7 @@ const registerSso = params => {
const
updateApi
=
params
=>
{
const
updateApi
=
params
=>
{
params
.
method
=
`scrm.api.shopmall.activity.bulge.add.or.update`
params
.
method
=
`scrm.api.shopmall.activity.bulge.add.or.update`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/api/modules/orderManage.js
View file @
0c7906d
...
@@ -3,7 +3,7 @@ const defaultPath = 'scrm.api.shopmall.'
...
@@ -3,7 +3,7 @@ const defaultPath = 'scrm.api.shopmall.'
const
getListApi
=
params
=>
{
const
getListApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.page`
params
.
method
=
`
${
defaultPath
}
order.page`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -12,7 +12,7 @@ const getListApi = params => {
...
@@ -12,7 +12,7 @@ const getListApi = params => {
const
getCountApi
=
params
=>
{
const
getCountApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.count`
params
.
method
=
`
${
defaultPath
}
order.count`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -21,7 +21,7 @@ const getCountApi = params => {
...
@@ -21,7 +21,7 @@ const getCountApi = params => {
const
getOrderDetailApi
=
params
=>
{
const
getOrderDetailApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.detail`
params
.
method
=
`
${
defaultPath
}
order.detail`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -30,7 +30,7 @@ const getOrderDetailApi = params => {
...
@@ -30,7 +30,7 @@ const getOrderDetailApi = params => {
const
orderExportApi
=
params
=>
{
const
orderExportApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.export`
params
.
method
=
`
${
defaultPath
}
order.export`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -40,7 +40,7 @@ const orderExportApi = params => {
...
@@ -40,7 +40,7 @@ const orderExportApi = params => {
const
writeOffApi
=
params
=>
{
const
writeOffApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.verfication`
params
.
method
=
`
${
defaultPath
}
order.verfication`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -51,7 +51,7 @@ const writeOffApi = params => {
...
@@ -51,7 +51,7 @@ const writeOffApi = params => {
const
crowdFundWriteOffApi
=
params
=>
{
const
crowdFundWriteOffApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.verfication'
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.verfication'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -62,7 +62,7 @@ const crowdFundWriteOffApi = params => {
...
@@ -62,7 +62,7 @@ const crowdFundWriteOffApi = params => {
const
crowdFundRefundApi
=
params
=>
{
const
crowdFundRefundApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.refund'
params
.
method
=
'scrm.api.shopmall.crowd.funding.order.refund'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -73,7 +73,7 @@ const crowdFundRefundApi = params => {
...
@@ -73,7 +73,7 @@ const crowdFundRefundApi = params => {
const
addDeliveryApi
=
params
=>
{
const
addDeliveryApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.addDelivery`
params
.
method
=
`
${
defaultPath
}
order.addDelivery`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -84,7 +84,7 @@ const addDeliveryApi = params => {
...
@@ -84,7 +84,7 @@ const addDeliveryApi = params => {
const
examineDetailApi
=
params
=>
{
const
examineDetailApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
orderRefund.detail`
params
.
method
=
`
${
defaultPath
}
orderRefund.detail`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -94,7 +94,7 @@ const examineDetailApi = params => {
...
@@ -94,7 +94,7 @@ const examineDetailApi = params => {
const
examineAllowApi
=
params
=>
{
const
examineAllowApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
orderRefund.allow`
params
.
method
=
`
${
defaultPath
}
orderRefund.allow`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -105,7 +105,7 @@ const examineAllowApi = params => {
...
@@ -105,7 +105,7 @@ const examineAllowApi = params => {
const
confirmReceiptGoodsApi
=
params
=>
{
const
confirmReceiptGoodsApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
order.refund.confirmReceiptGoods`
params
.
method
=
`
${
defaultPath
}
order.refund.confirmReceiptGoods`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -116,7 +116,7 @@ const confirmReceiptGoodsApi = params => {
...
@@ -116,7 +116,7 @@ const confirmReceiptGoodsApi = params => {
const
checkMerchartApi
=
params
=>
{
const
checkMerchartApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.import.merchant.check'
params
.
method
=
'scrm.api.shopmall.import.merchant.check'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -126,7 +126,7 @@ const checkMerchartApi = params => {
...
@@ -126,7 +126,7 @@ const checkMerchartApi = params => {
const
orderAppointer
=
params
=>
{
const
orderAppointer
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.order.appointer.update'
params
.
method
=
'scrm.api.shopmall.order.appointer.update'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -136,7 +136,7 @@ const orderAppointer = params => {
...
@@ -136,7 +136,7 @@ const orderAppointer = params => {
const
orderDetail
=
params
=>
{
const
orderDetail
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.order.detail'
params
.
method
=
'scrm.api.shopmall.order.detail'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -146,7 +146,7 @@ const orderDetail = params => {
...
@@ -146,7 +146,7 @@ const orderDetail = params => {
const
orderPage
=
params
=>
{
const
orderPage
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.order.page'
params
.
method
=
'scrm.api.shopmall.order.page'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -156,7 +156,7 @@ const orderPage = params => {
...
@@ -156,7 +156,7 @@ const orderPage = params => {
const
goldRefund
=
params
=>
{
const
goldRefund
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.expanded.gold.refund'
params
.
method
=
'scrm.api.shopmall.expanded.gold.refund'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -165,7 +165,7 @@ const goldRefund = params => {
...
@@ -165,7 +165,7 @@ const goldRefund = params => {
const
orderUpdate
=
params
=>
{
const
orderUpdate
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.order.type.update'
params
.
method
=
'scrm.api.shopmall.order.type.update'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -174,7 +174,7 @@ const orderUpdate = params => {
...
@@ -174,7 +174,7 @@ const orderUpdate = params => {
const
orderExport
=
params
=>
{
const
orderExport
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.order.export'
params
.
method
=
'scrm.api.shopmall.order.export'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/api/modules/seckillActivity.js
View file @
0c7906d
...
@@ -4,7 +4,7 @@ const defaultPath = 'scrm.api.shopmall.activity.'
...
@@ -4,7 +4,7 @@ const defaultPath = 'scrm.api.shopmall.activity.'
const
getActivityPageApi
=
params
=>
{
const
getActivityPageApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
page`
params
.
method
=
`
${
defaultPath
}
page`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -14,7 +14,7 @@ const getActivityPageApi = params => {
...
@@ -14,7 +14,7 @@ const getActivityPageApi = params => {
const
getCrowdfundListApi
=
params
=>
{
const
getCrowdfundListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.all.crowdfunding.activity.page'
params
.
method
=
'scrm.api.shopmall.all.crowdfunding.activity.page'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -24,7 +24,7 @@ const getCrowdfundListApi = params => {
...
@@ -24,7 +24,7 @@ const getCrowdfundListApi = params => {
const
exportCrowdfundApi
=
params
=>
{
const
exportCrowdfundApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.all.crowdfunding.activity.export'
params
.
method
=
'scrm.api.shopmall.all.crowdfunding.activity.export'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -34,7 +34,7 @@ const exportCrowdfundApi = params => {
...
@@ -34,7 +34,7 @@ const exportCrowdfundApi = params => {
const
getBrowseListApi
=
params
=>
{
const
getBrowseListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.customer.browse.records'
params
.
method
=
'scrm.api.shopmall.customer.browse.records'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -44,7 +44,7 @@ const getBrowseListApi = params => {
...
@@ -44,7 +44,7 @@ const getBrowseListApi = params => {
const
getVisitorListApi
=
params
=>
{
const
getVisitorListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.customer.visitor.records'
params
.
method
=
'scrm.api.shopmall.customer.visitor.records'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -54,7 +54,7 @@ const getVisitorListApi = params => {
...
@@ -54,7 +54,7 @@ const getVisitorListApi = params => {
const
getSharedListApi
=
params
=>
{
const
getSharedListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.customer.shared.records'
params
.
method
=
'scrm.api.shopmall.customer.shared.records'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -64,7 +64,7 @@ const getSharedListApi = params => {
...
@@ -64,7 +64,7 @@ const getSharedListApi = params => {
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
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -73,7 +73,7 @@ const getPurposeListApi = params => {
...
@@ -73,7 +73,7 @@ const getPurposeListApi = params => {
const
updateFollow
=
params
=>
{
const
updateFollow
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.gh.customer.record.update.follow.up.flag'
params
.
method
=
'scrm.api.shopmall.gh.customer.record.update.follow.up.flag'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -89,7 +89,7 @@ const exportBrowseApi = (params, TYPE = 1) => {
...
@@ -89,7 +89,7 @@ const exportBrowseApi = (params, TYPE = 1) => {
3
:
'scrm.api.shopmall.customer.shared.records.export'
3
:
'scrm.api.shopmall.customer.shared.records.export'
}[
TYPE
]
}[
TYPE
]
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -99,7 +99,7 @@ const exportBrowseApi = (params, TYPE = 1) => {
...
@@ -99,7 +99,7 @@ const exportBrowseApi = (params, TYPE = 1) => {
const
addOrUpdateActivityApi
=
params
=>
{
const
addOrUpdateActivityApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
add.or.update`
params
.
method
=
`
${
defaultPath
}
add.or.update`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -110,7 +110,7 @@ const addOrUpdateActivityApi = params => {
...
@@ -110,7 +110,7 @@ const addOrUpdateActivityApi = params => {
const
getActivityDetailApi
=
params
=>
{
const
getActivityDetailApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
detail`
params
.
method
=
`
${
defaultPath
}
detail`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -120,7 +120,7 @@ const getActivityDetailApi = params => {
...
@@ -120,7 +120,7 @@ const getActivityDetailApi = params => {
const
toggleStatusApi
=
params
=>
{
const
toggleStatusApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
toggle.status`
params
.
method
=
`
${
defaultPath
}
toggle.status`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -131,7 +131,7 @@ const toggleStatusApi = params => {
...
@@ -131,7 +131,7 @@ const toggleStatusApi = params => {
const
deleteActivityApi
=
params
=>
{
const
deleteActivityApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
delete`
params
.
method
=
`
${
defaultPath
}
delete`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -142,7 +142,7 @@ const deleteActivityApi = params => {
...
@@ -142,7 +142,7 @@ const deleteActivityApi = params => {
const
topActivityApi
=
params
=>
{
const
topActivityApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
top`
params
.
method
=
`
${
defaultPath
}
top`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
,
sign
:
true
,
...
@@ -153,7 +153,7 @@ const topActivityApi = params => {
...
@@ -153,7 +153,7 @@ const topActivityApi = params => {
const
getSharedApi
=
params
=>
{
const
getSharedApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
get.shared`
params
.
method
=
`
${
defaultPath
}
get.shared`
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -163,7 +163,7 @@ const getSharedApi = params => {
...
@@ -163,7 +163,7 @@ const getSharedApi = params => {
const
getCrowdSharedApi
=
params
=>
{
const
getCrowdSharedApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowdfunding.activity.get.shared'
params
.
method
=
'scrm.api.shopmall.crowdfunding.activity.get.shared'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -173,7 +173,7 @@ const getCrowdSharedApi = params => {
...
@@ -173,7 +173,7 @@ const getCrowdSharedApi = params => {
const
getLiveListApi
=
params
=>
{
const
getLiveListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.livebroadcast.dropdown.list'
params
.
method
=
'scrm.api.shopmall.livebroadcast.dropdown.list'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -193,7 +193,7 @@ const getPayMerchatListApi = params => {
...
@@ -193,7 +193,7 @@ const getPayMerchatListApi = params => {
const
getPayListApi
=
params
=>
{
const
getPayListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.payment.account.list'
params
.
method
=
'scrm.api.shopmall.activity.payment.account.list'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -203,7 +203,7 @@ const getPayListApi = params => {
...
@@ -203,7 +203,7 @@ const getPayListApi = params => {
const
getRankListApi
=
params
=>
{
const
getRankListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.ranking.page'
params
.
method
=
'scrm.api.shopmall.activity.ranking.page'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -213,7 +213,7 @@ const getRankListApi = params => {
...
@@ -213,7 +213,7 @@ const getRankListApi = params => {
const
exportRankListApi
=
params
=>
{
const
exportRankListApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.ranking.export'
params
.
method
=
'scrm.api.shopmall.activity.ranking.export'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -223,7 +223,7 @@ const exportRankListApi = params => {
...
@@ -223,7 +223,7 @@ const exportRankListApi = params => {
const
getDataBoardApi
=
params
=>
{
const
getDataBoardApi
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.statdata'
params
.
method
=
'scrm.api.shopmall.activity.statdata'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -233,7 +233,7 @@ const getDataBoardApi = params => {
...
@@ -233,7 +233,7 @@ const getDataBoardApi = params => {
const
getDailyOrderQuantityStatistics
=
params
=>
{
const
getDailyOrderQuantityStatistics
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.daily.order.quantity'
params
.
method
=
'scrm.api.shopmall.activity.daily.order.quantity'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -243,7 +243,7 @@ const getDailyOrderQuantityStatistics = params => {
...
@@ -243,7 +243,7 @@ const getDailyOrderQuantityStatistics = params => {
const
exportDailyOrderQuantityStatistics
=
params
=>
{
const
exportDailyOrderQuantityStatistics
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.daily.order.quantity.export'
params
.
method
=
'scrm.api.shopmall.activity.daily.order.quantity.export'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -253,7 +253,7 @@ const exportDailyOrderQuantityStatistics = params => {
...
@@ -253,7 +253,7 @@ const exportDailyOrderQuantityStatistics = params => {
const
liveroomDetailexport
=
params
=>
{
const
liveroomDetailexport
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.liveroom.detailexport'
params
.
method
=
'scrm.api.shopmall.activity.liveroom.detailexport'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -262,7 +262,7 @@ const liveroomDetailexport = params => {
...
@@ -262,7 +262,7 @@ const liveroomDetailexport = params => {
const
purposeExport
=
params
=>
{
const
purposeExport
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.gh.customer.purpose.page.export'
params
.
method
=
'scrm.api.shopmall.gh.customer.purpose.page.export'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -273,7 +273,7 @@ const purposeExport = params => {
...
@@ -273,7 +273,7 @@ const purposeExport = params => {
const
liveroomDetailpage
=
params
=>
{
const
liveroomDetailpage
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.liveroom.detailpage'
params
.
method
=
'scrm.api.shopmall.activity.liveroom.detailpage'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
@@ -283,7 +283,7 @@ const liveroomDetailpage = params => {
...
@@ -283,7 +283,7 @@ const liveroomDetailpage = params => {
const
liveroomOverview
=
params
=>
{
const
liveroomOverview
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.liveroom.overview'
params
.
method
=
'scrm.api.shopmall.activity.liveroom.overview'
return
http
({
return
http
({
url
:
'
http://192.168.1.157:8558/
rop-scrm-shopmall/router'
,
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
sign
:
true
sign
:
true
...
...
src/views/activityLink/components/Marketing.vue
View file @
0c7906d
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
</GLTable>
</GLTable>
</GLDialog>
</GLDialog>
<el-dialog
title=
"预览"
:append-to-body=
"true"
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<el-dialog
title=
"预览"
:append-to-body=
"true"
:
before-close=
"handleClose"
:
visible
.
sync=
"dialogVisible"
width=
"30%"
>
<phone-view
v-if=
"dialogVisible"
:activityInfo=
"activityInfo"
></phone-view>
<phone-view
v-if=
"dialogVisible"
:activityInfo=
"activityInfo"
></phone-view>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -156,16 +156,23 @@ export default {
...
@@ -156,16 +156,23 @@ export default {
this
.
caseVisible
=
false
this
.
caseVisible
=
false
this
.
getActivityInfo
(
row
.
id
)
this
.
getActivityInfo
(
row
.
id
)
},
},
handleClose
()
{
this
.
dialogVisible
=
false
},
//预览
//预览
handleView
(
row
)
{
handleView
(
row
)
{
this
.
$apis
.
marketing
.
activityDetail
({
id
:
row
.
id
}).
then
(
res
=>
{
this
.
$apis
.
marketing
.
activityDetail
({
id
:
row
.
id
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
)
{
if
(
res
)
{
const
activityCoupon
=
res
.
activityCouponBaseInfoDTOS
||
res
.
couponList
||
[],
const
selectedCarList
=
res
.
serviceMerchantPackageConfigDTOS
||
[]
selectedGoodsList
=
activityCoupon
.
filter
(
i
=>
i
.
discountType
==
8
),
let
activityCoupon
=
res
.
activityCouponBaseInfoDTOS
||
res
.
couponList
||
res
.
couponItemList
||
[]
couponList
=
activityCoupon
.
filter
(
i
=>
i
.
discountType
!=
8
)
this
.
activityInfo
=
{
...
res
,
selectedEquityList
:
res
.
serviceMerchantPackageConfigDTOList
,
couponList
,
selectedGoodsList
}
let
selectedGoodsList
=
activityCoupon
.
filter
(
i
=>
i
.
discountType
==
8
)
let
selectedServiceList
=
activityCoupon
.
filter
(
i
=>
i
.
discountType
!=
8
)
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
activityInfo
=
{
...
res
,
selectedCarList
,
selectedServiceList
,
selectedGoodsList
}
})
}
}
})
})
},
},
...
...
src/views/activityLink/components/MarketingContent.vue
View file @
0c7906d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-06-29 21:24:27
* @Date: 2023-06-29 21:24:27
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-1
2 20:34:56
* @LastEditTime: 2023-07-1
3 11:09:28
* @FilePath: \scrm-micro-link\src\views\activityLink\components\MarketingContent.vue
* @FilePath: \scrm-micro-link\src\views\activityLink\components\MarketingContent.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -157,6 +157,7 @@ export default {
...
@@ -157,6 +157,7 @@ export default {
{
{
label
:
'服务热线'
,
label
:
'服务热线'
,
name
:
'serviceHotline'
,
name
:
'serviceHotline'
,
placeholder
:
'请填写真实有效的电话或手机号'
,
type
:
'input'
type
:
'input'
},
},
{
{
...
@@ -195,7 +196,7 @@ export default {
...
@@ -195,7 +196,7 @@ export default {
goodsStock
:
[{
required
:
true
,
message
:
'请输入库存'
,
trigger
:
'input'
}],
goodsStock
:
[{
required
:
true
,
message
:
'请输入库存'
,
trigger
:
'input'
}],
merchantname
:
[{
required
:
true
,
message
:
'请输入门店名称'
,
trigger
:
'input'
}],
merchantname
:
[{
required
:
true
,
message
:
'请输入门店名称'
,
trigger
:
'input'
}],
merchantAddress
:
[{
required
:
true
,
message
:
'请选择门店地址'
,
trigger
:
'input'
}],
merchantAddress
:
[{
required
:
true
,
message
:
'请选择门店地址'
,
trigger
:
'input'
}],
serviceHotline
:
[{
required
:
true
,
message
:
'请
输入服务热线
'
,
trigger
:
'input'
}]
serviceHotline
:
[{
required
:
true
,
message
:
'请
填写真实有效的电话或手机号
'
,
trigger
:
'input'
}]
}
}
}
}
},
},
...
...
src/views/activityLink/components/MarketingGift.vue
View file @
0c7906d
...
@@ -148,15 +148,7 @@ export default {
...
@@ -148,15 +148,7 @@ export default {
handler
(
info
)
{
handler
(
info
)
{
this
.
init
()
this
.
init
()
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
info
.
serviceMerchantPackageConfigDTOS
&&
info
.
serviceMerchantPackageConfigDTOS
.
length
)
{
if
(
info
.
serviceMerchantPackageConfigDTOS
)
this
.
selectedCarList
=
info
.
serviceMerchantPackageConfigDTOS
this
.
selectedCarList
=
info
.
serviceMerchantPackageConfigDTOS
.
map
(
item
=>
{
return
{
packageCode
:
item
.
packageCode
,
packageAmount
:
item
.
packageName
}
})
}
let
activityCoupon
=
info
.
activityCouponBaseInfoDTOS
||
info
.
couponList
||
info
.
couponItemList
let
activityCoupon
=
info
.
activityCouponBaseInfoDTOS
||
info
.
couponList
||
info
.
couponItemList
if
(
activityCoupon
&&
activityCoupon
.
length
)
{
if
(
activityCoupon
&&
activityCoupon
.
length
)
{
...
@@ -192,7 +184,6 @@ export default {
...
@@ -192,7 +184,6 @@ export default {
this
.
selectedServiceList
=
[]
this
.
selectedServiceList
=
[]
this
.
goodsList
=
[]
this
.
goodsList
=
[]
this
.
selectedGoodsList
=
[]
this
.
selectedGoodsList
=
[]
this
.
isInit
=
true
this
.
totalPrice
=
0
this
.
totalPrice
=
0
this
.
editForm
.
activityPrice
=
''
this
.
editForm
.
activityPrice
=
''
this
.
$refs
[
'carRef'
].
$refs
[
'listMutiTable'
].
clearSelection
()
this
.
$refs
[
'carRef'
].
$refs
[
'listMutiTable'
].
clearSelection
()
...
@@ -515,14 +506,7 @@ export default {
...
@@ -515,14 +506,7 @@ export default {
}
}
this
.
$apis
.
giftBag
.
packageDetail
({
id
:
this
.
giftValue
}).
then
(
res
=>
{
this
.
$apis
.
giftBag
.
packageDetail
({
id
:
this
.
giftValue
}).
then
(
res
=>
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
res
.
serviceMerchantPackageConfigDTOS
&&
res
.
serviceMerchantPackageConfigDTOS
.
length
)
{
this
.
selectedCarList
=
res
.
serviceMerchantPackageConfigDTOS
||
[]
this
.
selectedCarList
=
res
.
serviceMerchantPackageConfigDTOS
.
map
(
item
=>
{
return
{
packageCode
:
item
.
packageCode
,
packageAmount
:
item
.
packageName
}
})
}
let
activityCoupon
=
res
.
couponList
||
[]
let
activityCoupon
=
res
.
couponList
||
[]
...
@@ -535,7 +519,7 @@ export default {
...
@@ -535,7 +519,7 @@ export default {
this
.
selectedServiceList
=
activityCoupon
.
filter
(
i
=>
i
.
discountType
!=
8
)
this
.
selectedServiceList
=
activityCoupon
.
filter
(
i
=>
i
.
discountType
!=
8
)
}
}
console
.
log
(
this
.
selectedCarList
)
console
.
log
(
this
.
selectedCarList
)
this
.
getList
()
//
this.getList()
})
})
})
})
},
},
...
...
src/views/activityLink/components/MarketingTask.vue
View file @
0c7906d
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<
script
>
<
script
>
const
config
=
Object
.
freeze
({
const
config
=
Object
.
freeze
({
talkId
:
''
,
talkId
:
''
,
messageContent
:
'【广汇汽车】
尊敬的客户,您获得一份续保权益套餐,您可以点击https://dwz.cn/I2gmHGBQ 查看或使用您的权益明细,退订回T
'
messageContent
:
'【广汇汽车】
诚邀您参与{0},请尽快点击链接参与,谨防错过哦! {1} 谨防错过退订回T。
'
})
})
const
taskData
=
{
tableData
:
[],
expand
:
true
,
assignType
:
0
,
customerNumTotal
:
0
,
lastFollowStaffList
:
[],
staffList
:
[],
excelUrl
:
''
,
isFinish
:
false
}
const
taskData
=
{
tableData
:
[],
expand
:
true
,
assignType
:
0
,
customerNumTotal
:
0
,
lastFollowStaffList
:
[],
staffList
:
[],
excelUrl
:
''
,
isFinish
:
false
}
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
...
@@ -288,7 +288,7 @@ export default {
...
@@ -288,7 +288,7 @@ export default {
this
.
configVisible
=
false
this
.
configVisible
=
false
console
.
log
(
this
.
taskList
[
this
.
batchNo
].
tableData
)
console
.
log
(
this
.
taskList
[
this
.
batchNo
].
tableData
)
this
.
taskList
[
this
.
batchNo
].
tableData
[
this
.
selectIndex
].
talkId
=
this
.
configForm
.
talkId
this
.
taskList
[
this
.
batchNo
].
tableData
[
this
.
selectIndex
].
talkId
=
this
.
configForm
.
talkId
this
.
taskList
[
this
.
batchNo
].
tableData
[
this
.
selectIndex
].
messageContent
=
this
.
configForm
.
messageContent
.
replace
(
/广汇汽车/
,
this
.
$globalState
.
session
.
merchantName
)
this
.
taskList
[
this
.
batchNo
].
tableData
[
this
.
selectIndex
].
messageContent
=
this
.
configForm
.
messageContent
console
.
log
(
this
.
taskList
)
console
.
log
(
this
.
taskList
)
},
},
...
@@ -318,7 +318,7 @@ export default {
...
@@ -318,7 +318,7 @@ export default {
merchantId
:
i
.
merchantNo
,
merchantId
:
i
.
merchantNo
,
staffPhone
:
i
.
staffPhone
,
staffPhone
:
i
.
staffPhone
,
staffName
:
i
.
staffName
,
staffName
:
i
.
staffName
,
messageContent
:
i
.
messageContent
,
messageContent
:
i
.
messageContent
?
i
.
messageContent
.
replace
(
/广汇汽车/
,
this
.
$globalState
.
session
.
merchantName
)
:
''
,
registerStatus
:
i
.
registerStatus
,
registerStatus
:
i
.
registerStatus
,
talkId
:
i
.
talkId
,
talkId
:
i
.
talkId
,
createdBy
:
i
.
createdBy
createdBy
:
i
.
createdBy
...
...
src/views/activityLink/components/PhoneView.vue
View file @
0c7906d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:32
* @Date: 2023-05-15 15:08:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-13 1
0:05:36
* @LastEditTime: 2023-07-13 1
4:46:57
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\MarketingRight.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -295,7 +295,10 @@ export default {
...
@@ -295,7 +295,10 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
detail
=
this
.
activityInfo
this
.
detail
=
this
.
activityInfo
this
.
detailCoupon
=
this
.
detail
console
.
log
(
this
.
activityInfo
,
888
,
this
.
detail
)
this
.
isFestival
=
false
this
.
isFestival
=
false
this
.
isRenewal
=
false
this
.
isRenewal
=
false
if
(
!
this
.
detail
)
return
if
(
!
this
.
detail
)
return
...
@@ -306,6 +309,7 @@ export default {
...
@@ -306,6 +309,7 @@ export default {
if
(
FESTIVAL
.
includes
(
this
.
detail
.
codeId
))
{
if
(
FESTIVAL
.
includes
(
this
.
detail
.
codeId
))
{
this
.
isFestival
=
true
this
.
isFestival
=
true
}
}
})
},
},
watch
:
{
watch
:
{
// packageList: {
// packageList: {
...
@@ -320,7 +324,6 @@ export default {
...
@@ -320,7 +324,6 @@ export default {
handler
(
val
)
{
handler
(
val
)
{
this
.
detail
=
{
...
this
.
detail
,
...
val
[
2
]
}
this
.
detail
=
{
...
this
.
detail
,
...
val
[
2
]
}
this
.
detailCoupon
=
this
.
$common
.
utils
.
deepClone
(
this
.
packageList
)
this
.
detailCoupon
=
this
.
$common
.
utils
.
deepClone
(
this
.
packageList
)
console
.
log
(
this
.
detailCoupon
)
this
.
$nextTick
(
async
()
=>
{
this
.
$nextTick
(
async
()
=>
{
this
.
isFestival
=
false
this
.
isFestival
=
false
this
.
isRenewal
=
false
this
.
isRenewal
=
false
...
...
src/views/activityLink/components/Scene.vue
View file @
0c7906d
...
@@ -117,8 +117,6 @@ export default {
...
@@ -117,8 +117,6 @@ export default {
...
mapMutations
(
'marketing'
,
[
'SET_INIT'
,
'SET_STEP'
,
'SET_ACTIVITY_INFO'
]),
...
mapMutations
(
'marketing'
,
[
'SET_INIT'
,
'SET_STEP'
,
'SET_ACTIVITY_INFO'
]),
selectFes
(
item
)
{
selectFes
(
item
)
{
this
.
selectItem
=
item
this
.
selectItem
=
item
this
.
getTemplateInfo
(
item
.
id
)
this
.
setSubscribe
({
subscribe
:
6
,
keywords
:
item
.
keywords
})
},
},
handleStep
(
index
)
{
handleStep
(
index
)
{
if
(
this
.
addOrEdit
==
'edit'
&&
index
==
1
)
return
if
(
this
.
addOrEdit
==
'edit'
&&
index
==
1
)
return
...
@@ -134,6 +132,9 @@ export default {
...
@@ -134,6 +132,9 @@ export default {
if
(
index
!=
6
)
{
if
(
index
!=
6
)
{
this
.
setSubscribe
(
index
)
this
.
setSubscribe
(
index
)
this
.
SET_ACTIVITY_INFO
({})
this
.
SET_ACTIVITY_INFO
({})
}
else
{
this
.
getTemplateInfo
(
this
.
selectItem
.
id
)
this
.
setSubscribe
({
subscribe
:
6
,
keywords
:
this
.
selectItem
.
keywords
})
}
}
},
},
EntWechatQrCode
()
{
EntWechatQrCode
()
{
...
@@ -144,6 +145,7 @@ export default {
...
@@ -144,6 +145,7 @@ export default {
calendarPage
()
{
calendarPage
()
{
this
.
$apis
.
marketing
.
calendarPage
({
pageSize
:
100
,
pageNum
:
1
}).
then
(
res
=>
{
this
.
$apis
.
marketing
.
calendarPage
({
pageSize
:
100
,
pageNum
:
1
}).
then
(
res
=>
{
this
.
festivalList
=
(
res
.
data
||
[]).
filter
(
item
=>
item
.
marketingType
==
6
)
this
.
festivalList
=
(
res
.
data
||
[]).
filter
(
item
=>
item
.
marketingType
==
6
)
this
.
selectItem
=
this
.
festivalList
[
0
]
})
})
}
}
}
}
...
...
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