From f67cf5bf19f0d35a2a0391138ec19e950ca7749b Mon Sep 17 00:00:00 2001
From: "zhang.weiwei" <578974917@qq.com>
Date: Wed, 19 Feb 2025 23:20:18 +0800
Subject: [PATCH] =?UTF-8?q?fix-=E4=BF=AE=E5=A4=8D=E6=8B=A8=E6=89=93?=
=?UTF-8?q?=E7=94=B5=E8=AF=9D=E6=9C=AA=E8=B0=83=E7=94=A8=E5=8E=9F=E7=94=9F?=
=?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/YB_APP/renewalDetail.vue | 13 +++++----
src/views/ebiz/proposal/ProposalInfo.vue | 15 ++++++++---
src/views/ebiz/survey/ShareCover.vue | 34 +++++++++++++-----------
3 files changed, 39 insertions(+), 23 deletions(-)
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()