Merge branch 'feature/GFRS-1991【待确定】APP检测结果优化-整理' into dev

# Conflicts:
#	src/views/ebiz/proposal/List.vue
This commit is contained in:
yang.huaxiang
2020-11-16 14:17:29 +08:00
2 changed files with 37 additions and 17 deletions

View File

@@ -10,14 +10,25 @@
>
<van-tabs v-model="active" @click="clickTable">
<van-tab>
<template #title>密码校验 </template>
<template #title>密码校验</template>
<div class="p10 fs14">
<p>为保护客户隐私数据安全请您授权访问请在下面输入框输入登录密码</p>
<van-field v-model="checkModel.pwd" clearable type="password" label="密码:" name="密码" label-width="3em" placeholder="请输入密码" />
<p>为保护客户隐私数据安全请您授权访问请在下面输入框输入登录密码后完成后续操作</p>
<van-field
minlength="6"
class="pt5 mt10"
style="border-top:1px solid #eaeaea;border-bottom:1px solid #eaeaea"
v-model="checkModel.pwd"
clearable
type="password"
label="密码:"
name="密码"
label-width="3em"
placeholder="请输入密码"
/>
</div>
</van-tab>
<van-tab v-if="isShowSms">
<template #title>短信校验校验 </template>
<van-tab :disabled="isShowSms">
<template #title>短信校验</template>
<div>
<p class="p10 fs14">
为保护客户隐私数据安全请您授权访问短信验证码已发送至您手机号{{ checkModel.mobile | encryCheckModelMobile }}请您输入验证码以完成后续操作
@@ -62,7 +73,7 @@ export default {
data() {
return {
active: 0,
isShowSms: false,
isShowSms: true,
checkModel: {
pwd: null,
show: false,
@@ -118,7 +129,7 @@ export default {
if (!/^N{1}/.test(agentInfoRes.branchType)) {
this.checkModel.mobile = agentInfoRes.phoneNo
this.checkModel.show = true
this.isShowSms = true
this.isShowSms = false
} else {
// 已校验过 触发成功事件
this.checkModel.show = true

View File

@@ -77,6 +77,9 @@
</div>
</van-list>
<van-button type="danger" @click="addProposal" class="bottom-btn fs16">点我新增</van-button>
<check-agent @checModelSuccessMethod="initThisPage" />
</div>
</template>
@@ -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,
@@ -112,18 +117,22 @@ export default {
created() {
this.$CacheUtils.removeLocItem('orderNo')
this.$CacheUtils.removeLocItem('canMoveOn')
setTimeout(() => {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_left_button', {
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
window.appCallBack = this.appCallBack
},
mounted() {
this.loadMore()
},
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({