mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 19:46:43 +08:00
Merge branch 'feature/FCRS-1048投保流程优化需求' into dev-new
This commit is contained in:
@@ -2123,7 +2123,7 @@ export default {
|
|||||||
window.localStorage.setItem('insuredSignFile', JSON.stringify(this.insuredSign))
|
window.localStorage.setItem('insuredSignFile', JSON.stringify(this.insuredSign))
|
||||||
window.localStorage.setItem('sign-val', val)
|
window.localStorage.setItem('sign-val', val)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: 'flow-improve/sale/readDocuments',
|
path: '/flow-improve/sale/readDocuments',
|
||||||
query: {
|
query: {
|
||||||
orderNo: this.$route.query.orderNo,
|
orderNo: this.$route.query.orderNo,
|
||||||
currentIndex: currentIndex + 1
|
currentIndex: currentIndex + 1
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class='insuranceInformation-container redRadioCheckbox' :class="[isGuanhuaiBiaozhun === 0 ? '' : 'active1']">
|
<div class='insuranceInformation-container redRadioCheckbox' :class="[isGuanhuaiBiaozhun === 0 ? '' : 'active1']">
|
||||||
<!--文件导航 开始-->
|
<!--文件导航 开始-->
|
||||||
<div class="xxx-fileList" v-if="!isPreview">
|
<div class="xxx-fileList" v-if="!isPreview" ref="xxx1">
|
||||||
<p :key="index" v-for="(item, index) in fileList" :class="{ active: index+1 == current }"
|
<p :key="index" v-for="(item, index) in fileList" :class="{ active: index+1 == current }"
|
||||||
@click="fileListClick(item,index)"
|
@click="fileListClick(item,index)"
|
||||||
style="white-space: nowrap;display: flex;align-items: center;">
|
style="white-space: nowrap;display: flex;align-items: center;">
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<!--文件导航 结束-->
|
<!--文件导航 结束-->
|
||||||
|
|
||||||
<!-- 顶部提示 开始 -->
|
<!-- 顶部提示 开始 -->
|
||||||
<p v-if='branchType != "14"' class="xxx-notice-bar">文件滑动至底部完成阅读</p>
|
<p v-if='branchType != "14"' class="xxx-notice-bar" ref="xxx2">文件滑动至底部完成阅读</p>
|
||||||
<!-- 顶部提示 结束 -->
|
<!-- 顶部提示 结束 -->
|
||||||
|
|
||||||
<!-- 一键置底 开始 -->
|
<!-- 一键置底 开始 -->
|
||||||
@@ -23,25 +23,25 @@
|
|||||||
|
|
||||||
<!--文件内容 开始-->
|
<!--文件内容 开始-->
|
||||||
<div id="pdf" ref="scrollableContent" @scroll="updateScrollProgress">
|
<div id="pdf" ref="scrollableContent" @scroll="updateScrollProgress">
|
||||||
<div id="pdfH5ID"></div>
|
<div ref="xxx8" id="pdfH5ID"></div>
|
||||||
<div ref="activeButtonEle"></div>
|
<div ref="activeButtonEle"></div>
|
||||||
</div>
|
</div>
|
||||||
<!--文件内容 结束-->
|
<!--文件内容 结束-->
|
||||||
|
|
||||||
<!--底部提示和按钮 开始-->
|
<!--底部提示和按钮 开始-->
|
||||||
<div class="xxx-bottom">
|
<div class="xxx-bottom">
|
||||||
<p class="xxx-isread">
|
<p class="xxx-isread" ref="xxx3">
|
||||||
本人已阅读确认,理解并同意<span>{{documentName}}</span>各项内容
|
本人已阅读确认,理解并同意<span>{{documentName}}</span>各项内容
|
||||||
</p>
|
</p>
|
||||||
<div class='bg-white bottom-btn' v-if="current != '1'">
|
<div class='bg-white bottom-btn' v-if="current != '1'" ref="xxx4">
|
||||||
<van-button style="width: 30%;font-size: 16px;" plain type='danger' size='large' v-no-more-click='1000' @click="prevStep">上一步
|
<van-button style="width: 30%;font-size: 16px;" plain type='danger' size='large' v-no-more-click='1000' @click="prevStep">上一步
|
||||||
</van-button>
|
</van-button>
|
||||||
<van-button style="width: 70%;font-size: 16px;" type='danger' size='large' :disabled='scrollProgress < 70' @click='goNext' v-no-more-click='1000'>
|
<van-button style="width: 70%;font-size: 16px;" type='danger' size='large' :disabled='isyiye ? false : scrollProgress < 70' @click='goNext' v-no-more-click='1000'>
|
||||||
我已阅读确认并理解,继续
|
我已阅读确认并理解,继续
|
||||||
</van-button>
|
</van-button>
|
||||||
</div>
|
</div>
|
||||||
<div class='bg-white bottom-btn' v-if="current == '1'">
|
<div class='bg-white bottom-btn' v-if="current == '1'" ref="xxx5">
|
||||||
<van-button class="fs20" type='danger' size='large' :disabled='scrollProgress < 70' @click='goNext' v-no-more-click='1000'>我已阅读确认并理解,继续
|
<van-button class="fs20" type='danger' size='large' :disabled='isyiye ? false : scrollProgress < 70' @click='goNext' v-no-more-click='1000'>我已阅读确认并理解,继续
|
||||||
</van-button>
|
</van-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -80,7 +80,8 @@
|
|||||||
scrollTimer: null,
|
scrollTimer: null,
|
||||||
pdfStatus: void 0,
|
pdfStatus: void 0,
|
||||||
scrollProgress: 0,
|
scrollProgress: 0,
|
||||||
isGuanhuaiBiaozhun: Number(sessionStorage.getItem('oldVersionSwitch'))
|
isGuanhuaiBiaozhun: Number(sessionStorage.getItem('oldVersionSwitch')),
|
||||||
|
isyiye: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -371,6 +372,12 @@
|
|||||||
}).on("complete", (status, msg, time)=> { //监听完成事件
|
}).on("complete", (status, msg, time)=> { //监听完成事件
|
||||||
this.pdfStatus = status
|
this.pdfStatus = status
|
||||||
console.log("状态:" + status + ",信息:" + msg + ",耗时:" + time + "毫秒,总页数:" + this.totalNum)
|
console.log("状态:" + status + ",信息:" + msg + ",耗时:" + time + "毫秒,总页数:" + this.totalNum)
|
||||||
|
if (this.current!= '1') {
|
||||||
|
this.isyiye = (window.innerHeight - (this.$refs.xxx1.clientHeight + this.$refs.xxx2.clientHeight + this.$refs.xxx3.clientHeight + this.$refs.xxx4.clientHeight)) > this.$refs.xxx8.clientHeight
|
||||||
|
} else {
|
||||||
|
this.isyiye = (window.innerHeight - (this.$refs.xxx1.clientHeight + this.$refs.xxx2.clientHeight + this.$refs.xxx3.clientHeight + this.$refs.xxx5.clientHeight)) > this.$refs.xxx8.clientHeight
|
||||||
|
}
|
||||||
|
console.log(this.isyiye)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
fileListClick(item,index) {
|
fileListClick(item,index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user