Commit e54faf39 by 杨明

fixed

1 parent 82b510b6
......@@ -158,9 +158,8 @@ export default {
getDetail() {
this.$apis.journeyConfig.getInstIdDetail({ instId: this.query.instId }).then(res => {
const instParam = JSON.parse(res.instParam)
const dataTypeCode = instParam.dataTypeCode
console.log(dataTypeCode)
if (dataTypeCode == 'xbpzj') {
this.dataTypeCode = instParam.dataTypeCode
if (this.dataTypeCode == 'xbpzj') {
this.statusList = this.activityType[1]
} else {
this.statusList = this.activityType[2]
......@@ -181,7 +180,6 @@ export default {
if (instStatus == -1) {
this.journeyStatus = 4
}
console.log(stages, 'this.journeyStatus')
const nodes = res.nodes
const configList = []
for (let k in stages) {
......@@ -212,8 +210,10 @@ export default {
},
async haneldOpenQY() {
this.handleConfirm('开启提示', '确定开启', '旅程开启后将无法修改关联的活动链接', '', async () => {
await this.$apis.journeyConfig.authorizeMerchant({ merchantId: this.$globalState.session.merchantId })
await this.$apis.journeyConfig.concatActivity({ instId: this.query.instId, data: { supMerchantNo: this.$globalState.session.merchantId } })
if (this.dataTypeCode == 'qiwei') {
await this.$apis.journeyConfig.authorizeMerchant({ merchantId: this.$globalState.session.merchantId })
await this.$apis.journeyConfig.concatActivity({ instId: this.query.instId, data: { supMerchantNo: this.$globalState.session.merchantId } })
}
this.setSopInsts(1)
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!