[银保app] 续期列表详情,保全列表详情5个页面添加水印效果,续期详情为出单失败时添加失败原因字段

This commit is contained in:
DESKTOP-AFPHKHF\PC
2022-12-28 14:39:47 +08:00
committed by liu.xiaofeng@ebiz-digits.com
parent d7d32f7850
commit 336fad2d04
5 changed files with 132 additions and 72 deletions

View File

@@ -36,6 +36,7 @@
<van-cell title="转账银行" :value="ybOrderDTOList.bankCode" />
<van-cell title="转账帐号" :value="ybOrderDTOList.bankAccNo" />
<van-cell title="交费次数" :value="ybOrderDTOList.payTimes" />
<van-cell title="扣款失败原因" :value="ybOrderDTOList.defeateCause" v-if="changestate == 3" />
<van-cell title="应交日" :value="ybOrderDTOList.payToDate" />
<van-cell title="归属网点" :value="ybOrderDTOList.netWorkName" />
<van-cell title="归属地市" :value="ybOrderDTOList.city" />
@@ -62,6 +63,8 @@
<script>
import { getYBRenewalInfo } from '@/api/YB_APP/index'
import warterMark from "@/assets/js/utils/warterMark.js"
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'policyDetail',
components: {},
@@ -82,8 +85,19 @@ export default {
console.log(this.policyNo, 'avc111111111111')
this.getYBRenewalInfo()
this.changestate = this.policyNo.payFlag
this.getAgentInfo()
},
methods: {
// 水印
getAgentInfo(){
getAgentInfo({}).then(res=>{
if(res.result == 0){
console.log('123')
warterMark.set(res.name+res.jobNo,"")
}
})
},
cancel() {
this.show = false
},

View File

@@ -109,7 +109,8 @@ import { Button, Search } from 'vant'
import { ref } from 'vue'
import { getYBRenewalsList } from '@/api/YB_APP/index'
import utils from '@/assets/js/utils/date-utils'
import warterMark from "@/assets/js/utils/warterMark.js"
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'renewalList',
components: {
@@ -155,8 +156,18 @@ export default {
let monthNum = new Date().getMonth() + 1
this.calendarValue = yearNum + '-' + monthNum
this.getYBRenewalsList()
this.getAgentInfo()
},
methods: {
// 水印
getAgentInfo(){
getAgentInfo({}).then(res=>{
if(res.result == 0){
console.log('123')
warterMark.set(res.name+res.jobNo,"")
}
})
},
// 上方关键词搜索按钮
keywordSearch(value) {
console.log('点击搜索了')

View File

@@ -30,6 +30,8 @@
<script>
import { ybSaveAllDetail } from '@/api/YB_APP/index'
import warterMark from "@/assets/js/utils/warterMark.js"
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'policyDetail',
components: {},
@@ -43,8 +45,18 @@ export default {
this.policyNo = this.$route.query.policyNo
console.log(this.policyNo, 'avc')
this.ybSaveAllDetail()
this.getAgentInfo()
},
methods: {
// 水印
getAgentInfo(){
getAgentInfo({}).then(res=>{
if(res.result == 0){
console.log('123')
warterMark.set(res.name+res.jobNo,"")
}
})
},
ybSaveAllDetail() {
let params = {
edorAcceptNo: this.policyNo

View File

@@ -25,6 +25,8 @@
<script>
import { ybSaveManyDetail } from '@/api/YB_APP/index'
import warterMark from "@/assets/js/utils/warterMark.js"
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'policyDetail',
components: {},
@@ -38,8 +40,18 @@ export default {
this.policyNo = this.$route.query.policyNo
console.log(this.policyNo, 'avc')
this.ybSaveManyDetail()
this.getAgentInfo()
},
methods: {
// 水印
getAgentInfo(){
getAgentInfo({}).then(res=>{
if(res.result == 0){
console.log('123')
warterMark.set(res.name+res.jobNo,"")
}
})
},
ybSaveManyDetail() {
let params = {
contNo: this.policyNo

View File

@@ -1,7 +1,7 @@
<template>
<div class="public_container">
<!-- 最上方的搜索框 -->
<div style="position:relative;">
<div style="position: relative">
<van-search shape="round" v-model="findValue" placeholder="请输入保单号/客户身份证号" />
<button class="searchButton" @click="keywordSearch(findValue)">搜索</button>
</div>
@@ -25,7 +25,7 @@
</p>
</div>
<!-- 无内容显示的背景 -->
<div v-if="policyListDTOList == ''" style="position: relative;">
<div v-if="policyListDTOList == ''" style="position: relative">
<img class="noContentImg" src="../../assets/YB_APP/images/noguarantee.png" />
<p class="noContentText">暂无保单</p>
</div>
@@ -74,7 +74,7 @@
</p>
</div>
<!-- 无内容显示的背景 -->
<div v-if="policyListDTOListTwo == ''" style="position:relative;">
<div v-if="policyListDTOListTwo == ''" style="position: relative">
<img class="noContentImg" src="../../assets/YB_APP/images/noguarantee.png" />
<p class="noContentText">暂无保单</p>
</div>
@@ -117,7 +117,8 @@
import { Button, Search } from 'vant'
import { ref } from 'vue'
import { getSaveAllList, ybSaveManyList } from '@/api/YB_APP/index'
import warterMark from '@/assets/js/utils/warterMark.js'
import { getAgentInfo } from '@/api/ebiz/my/my.js'
export default {
name: 'renewalList',
components: {
@@ -131,7 +132,7 @@ export default {
policyListDTOList: [], // 保全申请进度卡片列表内容
policyListDTOListTwo: [], // 现金价值卡片列表内容
params: {
otherNo: '', // 搜索按钮入参
otherNo: '' // 搜索按钮入参
}
}
},
@@ -139,12 +140,22 @@ export default {
mounted() {
// this.getSaveAllList()
// this.ybSaveManyList()
console.log(this.active,'我是active');
console.log(this.active, '我是active')
this.getAgentInfo()
},
methods: {
// 水印
getAgentInfo() {
getAgentInfo({}).then((res) => {
if (res.result == 0) {
console.log('123')
warterMark.set(res.name + res.jobNo, '')
}
})
},
getSaveAllList() {
let that = this
console.log('我是log123第一个接口的',)
console.log('我是log123第一个接口的')
// 保全申请列表
getSaveAllList(that.params).then((res) => {
console.log(res, '我是res')
@@ -210,7 +221,7 @@ export default {
}
})
}
},
}
}
</script>
<style lang="scss" scoped>
@@ -341,7 +352,7 @@ export default {
.textList > p {
display: flex;
margin-bottom: 11px;
line-height: 20px
line-height: 20px;
}
.textList > p > span:nth-of-type(1) {
display: block;
@@ -350,7 +361,7 @@ export default {
overflow: hidden;
white-space: nowrap;
// background-color: blueviolet;
color: #3E3C3D;
color: #3e3c3d;
}
.textList > p > span:nth-of-type(2) {
// width: 5vh;