Commit 3f058e56 by chenwq

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

1 parent 7fde6600
...@@ -286,21 +286,21 @@ Page({ ...@@ -286,21 +286,21 @@ Page({
let { userInfo } = wx.$storage.get() let { userInfo } = wx.$storage.get()
let pMerchantName = userInfo.subLoginUser.merchantName let pMerchantName = userInfo.subLoginUser.merchantName
let pMerchantId = userInfo.subLoginUser.merchantId let pMerchantId = userInfo.subLoginUser.merchantId
let sceneActive // let sceneActive
switch (this.data.actNum) { // switch (this.data.actNum) {
case 0: // case 0:
sceneActive = 1 // sceneActive = 1
break // break
case 1: // case 1:
sceneActive = 2 // sceneActive = 2
break // break
case 2: // case 2:
sceneActive = 3 // sceneActive = 3
break // break
case 3: // case 3:
sceneActive = 4 // sceneActive = 4
break // break
} // }
// let pMerchantId = userInfo.subLoginUser.merchantId // let pMerchantId = userInfo.subLoginUser.merchantId
// console.log("type,item: ", type, item); // console.log("type,item: ", type, item);
...@@ -311,7 +311,7 @@ Page({ ...@@ -311,7 +311,7 @@ Page({
merchantId: item.visitList[0].merchantId, merchantId: item.visitList[0].merchantId,
merchantName: item.visitList[0].merchantName merchantName: item.visitList[0].merchantName
}, },
sceneActive, // sceneActive,
clueId: item.clueId clueId: item.clueId
// sceneCodeList: ['SC001', 'SC002','SC003','SC004'] // sceneCodeList: ['SC001', 'SC002','SC003','SC004']
} }
......
...@@ -138,7 +138,7 @@ Page({ ...@@ -138,7 +138,7 @@ Page({
merchantInfo: obj.merchantInfo, merchantInfo: obj.merchantInfo,
// sceneActive: obj.sceneActive, // sceneActive: obj.sceneActive,
sceneCodeList: obj.sceneCodeList || ['SC002', 'SC003', 'SC004', 'SC001'], sceneCodeList: obj.sceneCodeList || ['SC002', 'SC003', 'SC004', 'SC001'],
sceneCodeActive: obj.sceneCodeActive, sceneCodeActive: obj.sceneCodeActive || 'SC002',
clueId: obj.clueId clueId: obj.clueId
}) })
this.getSceneProStatus(this.data.sceneCodeList[this.findSceneIdx()]) 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!