From 62ec89c3d429f6b1e848331b3bbfde49228b5687 Mon Sep 17 00:00:00 2001 From: "yang.huaxiang" Date: Mon, 16 Nov 2020 14:14:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E6=80=A7=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=A4=84=E7=90=86=EF=BC=9A=E5=BB=BA=E8=AE=AE=E4=B9=A6=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=A0=A1=E9=AA=8C=E7=BB=84=E4=BB=B6=20--?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/CheckAgent.vue | 4 ++-- src/views/ebiz/proposal/List.vue | 33 +++++++++++++++++----------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/src/components/common/CheckAgent.vue b/src/components/common/CheckAgent.vue index 50417a53f..aad99550b 100644 --- a/src/components/common/CheckAgent.vue +++ b/src/components/common/CheckAgent.vue @@ -12,11 +12,11 @@
-

为保护客户隐私数据安全,请您授权访问。请在下面输入框输入登录密码:

+

为保护客户隐私数据安全,请您授权访问。请在下面输入框输入登录密码后完成后续操作。

点我新增 + + +
@@ -85,10 +88,12 @@ import { Tabs, Tab, Tag, Dialog, List, Sticky, Toast } from 'vant' import { getList, toInsurance, deleteProposal } from '@/api/ebiz/proposal/proposal.js' import { formatRiskList } from '@/assets/js/utils/formatRiskList.js' import riskRules from '../common/risk-rules.js' +import CheckAgent from '@/components/common/CheckAgent' export default { name: 'proposalList', components: { + [CheckAgent.name]: CheckAgent, [Tabs.name]: Tabs, [Tab.name]: Tab, [Tag.name]: Tag, @@ -109,20 +114,22 @@ export default { isSuccess: false } }, - created() { - // document.body.style.backgroundColor = '#F5F5F5' - setTimeout(() => { - // eslint-disable-next-line no-undef - EWebBridge.webCallAppInJs('webview_left_button', { - intercept: '1' //是否拦截原生返回事件 1是 其他否 - }) - }, 100) - window.appCallBack = this.appCallBack - }, - mounted() { - this.loadMore() - }, + created() {}, + mounted() {}, methods: { + initThisPage(showFlag) { + if (showFlag) { + return + } + setTimeout(() => { + // eslint-disable-next-line no-undef + EWebBridge.webCallAppInJs('webview_left_button', { + intercept: '1' //是否拦截原生返回事件 1是 其他否 + }) + }, 100) + window.appCallBack = this.appCallBack + this.loadMore() + }, appCallBack(data) { if (data.trigger == 'left_button_click') { this.$jump({