diff --git a/src/views/YB_APP/renewalDetail.vue b/src/views/YB_APP/renewalDetail.vue index 8c0aefac3..a6510bff1 100644 --- a/src/views/YB_APP/renewalDetail.vue +++ b/src/views/YB_APP/renewalDetail.vue @@ -104,13 +104,16 @@ export default { this.show = true // 显示确认对话框 }, contact() { - const a = document.createElement('a') - a.href = `tel:'${this.ybOrderDTOList.appntPhone}'` - a.click() - this.show = false + EWebBridge.webCallAppInJs('callSystem', { + system: 'tel', + number: this.ybOrderDTOList.appntPhone + }) }, callPhone(phoneNumber) { - window.location.href = 'tel://' + phoneNumber + EWebBridge.webCallAppInJs('callSystem', { + system: 'tel', + number: phoneNumber + }) }, getYBRenewalInfo() { // let params = { diff --git a/src/views/ebiz/proposal/ProposalInfo.vue b/src/views/ebiz/proposal/ProposalInfo.vue index 216fcba85..5337ce760 100644 --- a/src/views/ebiz/proposal/ProposalInfo.vue +++ b/src/views/ebiz/proposal/ProposalInfo.vue @@ -242,7 +242,7 @@ :value.sync="pageShowInfo.showInsuredDTO.tap" >
拖动按钮查看不同年龄的保单利益
- +
{ item.riskDTOLst.forEach((item01) => { if (item01.isMainRisk == '0') { - if (item01.mainRiskCode == 'GFRS_M0080' || item01.mainRiskCode == 'GFRS_M0083' || item01.mainRiskCode == 'GFRS_M0085' || item01.mainRiskCode == 'GFRS_M0098') { + if ( + item01.mainRiskCode == 'GFRS_M0080' || + item01.mainRiskCode == 'GFRS_M0083' || + item01.mainRiskCode == 'GFRS_M0085' || + item01.mainRiskCode == 'GFRS_M0098' + ) { that.ispremshow = false } mainRiskNameList.push(item01.riskName) diff --git a/src/views/ebiz/survey/ShareCover.vue b/src/views/ebiz/survey/ShareCover.vue index cc2c585ce..bc2566bc0 100644 --- a/src/views/ebiz/survey/ShareCover.vue +++ b/src/views/ebiz/survey/ShareCover.vue @@ -2,17 +2,17 @@
- +
- 立即参加 + 立即参加
-
+
{{ item.orderCode }}.{{ item.title }} - + -
+
- 提交 + 提交
- - + +
- 返回 + 返回
@@ -143,9 +143,9 @@ export default { // detail 页面 getSurveyQuestionInfo() { let that = this - getSurveyQuestion(that.surveyDetailReqDTO).then(res => { + getSurveyQuestion(that.surveyDetailReqDTO).then((res) => { if (res.result == '0') { - that.questionList.map(item => { + that.questionList.map((item) => { that.anwerJson[item.orderCode + ''] = '' }) that.questionList = res.content.questionList @@ -158,7 +158,7 @@ export default { // 获取代理人信息 getSurveyAgentInfo() { let that = this - getSurveyAgentInfo(that.surveyAgentInfoReqDTO).then(res => { + getSurveyAgentInfo(that.surveyAgentInfoReqDTO).then((res) => { if (res.result == '0') { that.agentInfo = res.content that.enterFlag = false @@ -171,7 +171,7 @@ export default { // 校验是否选择 let that = this let returnFlag = true - that.questionList.map(item => { + that.questionList.map((item) => { if (!that.anwerJson[item.orderCode + '']) { that.$toast('请认真填写问卷的全部内容!') returnFlag = false @@ -197,7 +197,7 @@ export default { that.surveyAnswerReqDTO.agentCode = that.agentInfo.agentCode that.surveyAnswerReqDTO.agentName = that.agentInfo.name that.surveyAnswerReqDTO.tableId = that.tableId - saveSurveyAnswer(that.surveyAnswerReqDTO).then(res => { + saveSurveyAnswer(that.surveyAnswerReqDTO).then((res) => { if (res.result == '0') { //跳转结果页面 that.resultImgUrl = res.content @@ -221,7 +221,11 @@ export default { }, callPhone() { console.log('callPhone') - window.location.href = 'tel://' + this.agentInfo.mobile + // window.location.href = 'tel://' + this.agentInfo.mobile + EWebBridge.webCallAppInJs('callSystem', { + system: 'tel', + number: this.agentInfo.mobile + }) }, closeWXWindow() { closeWindow()