Commit 3f058e56 by chenwq

看线索跳转开通活动,适配

1 parent 7fde6600
......@@ -286,21 +286,21 @@ Page({
let { userInfo } = wx.$storage.get()
let pMerchantName = userInfo.subLoginUser.merchantName
let pMerchantId = userInfo.subLoginUser.merchantId
let sceneActive
switch (this.data.actNum) {
case 0:
sceneActive = 1
break
case 1:
sceneActive = 2
break
case 2:
sceneActive = 3
break
case 3:
sceneActive = 4
break
}
// let sceneActive
// switch (this.data.actNum) {
// case 0:
// sceneActive = 1
// break
// case 1:
// sceneActive = 2
// break
// case 2:
// sceneActive = 3
// break
// case 3:
// sceneActive = 4
// break
// }
// let pMerchantId = userInfo.subLoginUser.merchantId
// console.log("type,item: ", type, item);
......@@ -311,7 +311,7 @@ Page({
merchantId: item.visitList[0].merchantId,
merchantName: item.visitList[0].merchantName
},
sceneActive,
// sceneActive,
clueId: item.clueId
// sceneCodeList: ['SC001', 'SC002','SC003','SC004']
}
......
......@@ -138,7 +138,7 @@ Page({
merchantInfo: obj.merchantInfo,
// sceneActive: obj.sceneActive,
sceneCodeList: obj.sceneCodeList || ['SC002', 'SC003', 'SC004', 'SC001'],
sceneCodeActive: obj.sceneCodeActive,
sceneCodeActive: obj.sceneCodeActive || 'SC002',
clueId: obj.clueId
})
this.getSceneProStatus(this.data.sceneCodeList[this.findSceneIdx()])
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!