mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 15:46:43 +08:00
【FIX】附件管理新增广西地区附件上传
This commit is contained in:
@@ -73,6 +73,21 @@
|
||||
:max-count="20"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<van-cell-group v-if="isEvalateNeed">
|
||||
<van-field label="投保人声明附件上传(仅广西地区上传)" disabled class="evalate-need"/>
|
||||
</van-cell-group>
|
||||
<div v-if="isEvalateNeed" @click="test('fileListEvalte', '30', '0', saleInsuredInfo.appntId, saleInsuredInfo.idType)">
|
||||
<van-uploader
|
||||
name="fileListEvalte"
|
||||
v-model="fileListEvalte"
|
||||
:after-read="afterRead"
|
||||
@delete="deleteImg"
|
||||
:before-delete="beforeDelete"
|
||||
class="mt10 ml20"
|
||||
:max-count="20"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -211,7 +226,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ml30 mt30 mb80">
|
||||
<van-radio-group v-model="radio">
|
||||
@@ -269,6 +284,7 @@ export default {
|
||||
fileListIdFrontBeneficiary: [], // 受益人身份证正面
|
||||
fileListIdBackBeneficiary: [], // 受益人身份证反面
|
||||
fileLIstImgBeneficiary: [], // 受益人其他类型页面
|
||||
fileListEvalte:[], //测评不通过需要上传的图片
|
||||
bnfInfo:[], // 受益人
|
||||
isDisabledBnf:true,
|
||||
radio: '', // 单选框
|
||||
@@ -291,11 +307,15 @@ export default {
|
||||
subBusinessNo: '',
|
||||
subBusinessType: '',
|
||||
changeCard: localStorage.changeCard,
|
||||
isEvalateNeed:true
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
//如果是从编辑进来的
|
||||
let res= await getOrderDetail({ orderNo: this.$route.query.orderNo })
|
||||
let res= await getOrderDetail({ orderNo: this.$route.query.orderNo,userAssessLogic:true })
|
||||
this.isEvalateNeed = res.orderDTO.orderInfoDTO.assessFlag==='1'?true:false
|
||||
this.isEvalateNeed = true
|
||||
console.log('this.isEvalateNeed',this.isEvalateNeed)
|
||||
if (res.result == 0) {
|
||||
if(res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint == '1'&&res.orderDTO.riskEvaluationDTO.totalScore == null){
|
||||
Dialog.alert({
|
||||
@@ -563,7 +583,12 @@ export default {
|
||||
if (detail.name == 'fileListIdFront') {
|
||||
this.fileListIdFront = []
|
||||
this.deleteImg(file, 'fileListIdFront')
|
||||
} else if (detail.name == 'fileListIdBack') {
|
||||
}else if (detail.name == 'fileListEvalte') {
|
||||
this.fileListEvalte = []
|
||||
this.deleteImg(file, 'fileListEvalte')
|
||||
}
|
||||
|
||||
else if (detail.name == 'fileListIdBack') {
|
||||
this.fileListIdBack = []
|
||||
this.deleteImg(file, 'fileListIdBack')
|
||||
} else if (detail.name == 'fileLIstImg') {
|
||||
@@ -911,6 +936,8 @@ export default {
|
||||
that.list.map((i) => {
|
||||
delete i.name
|
||||
})
|
||||
// console.log('that.list',that.list)
|
||||
// return
|
||||
let nowTime = new Date().getTime()
|
||||
let localTime = window.localStorage.getItem('serrorTime')
|
||||
if(nowTime - localTime < 20000){
|
||||
@@ -1091,4 +1118,10 @@ export default {
|
||||
/deep/ .van-field__label{
|
||||
width: 50vw;
|
||||
}
|
||||
|
||||
/deep/ .evalate-need{
|
||||
.van-field__label{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user