mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 02:46:45 +08:00
卡单学平险:处理学平险分享 --提交人:阳华祥
This commit is contained in:
@@ -111,13 +111,6 @@ export default {
|
|||||||
this.shareInfo.shareURL = res.productShowInfo.itemProductBaseInfoDTO.itemDesc + '';
|
this.shareInfo.shareURL = res.productShowInfo.itemProductBaseInfoDTO.itemDesc + '';
|
||||||
this.productCode = res.productShowInfo.itemProductDTOS[0].productCode
|
this.productCode = res.productShowInfo.itemProductDTOS[0].productCode
|
||||||
this.results = res.productShowInfo.itemProductDTOS[0]
|
this.results = res.productShowInfo.itemProductDTOS[0]
|
||||||
if(this.shareInfo.isShare == '2'){
|
|
||||||
const resAgent = getAgentInfo({});
|
|
||||||
if (resAgent.result == 0) {
|
|
||||||
this.shareInfo.shareURL = this.shareInfo.shareURL + resAgent.jobNo
|
|
||||||
this.shareInfo.shareFlag = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
Toast.fail(res.resultMessage)
|
Toast.fail(res.resultMessage)
|
||||||
}
|
}
|
||||||
@@ -125,6 +118,13 @@ export default {
|
|||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.log('errerr', err)
|
console.log('errerr', err)
|
||||||
})
|
})
|
||||||
|
if(this.shareInfo.isShare == '2'){
|
||||||
|
const resAgent = await getAgentInfo({});
|
||||||
|
if (resAgent.result == 0) {
|
||||||
|
this.shareInfo.shareURL = this.shareInfo.shareURL + 'agentCode='+ resAgent.jobNo
|
||||||
|
this.shareInfo.shareFlag = false
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
shareItem() {
|
shareItem() {
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
|
|||||||
Reference in New Issue
Block a user