Commit 88e72599 by 杨北旺

..

1 parent 21a01dab
......@@ -8,7 +8,7 @@
<i class="gl-icon-filter filter-icon" @click.stop="showFilter = !showFilter"></i>
<div v-show="showFilter" ref="closetree" class="tree-wrap">
<div class="filter-tree">
<el-tree ref="tree" :data="treeBasic" show-checkbox node-key="id" :props="defaultProps"></el-tree>
<el-tree ref="tree" :data="treeBasic" show-checkbox node-key="id" :props="defaultProps"></el-tree>
</div>
<div class="filter-all">
<el-checkbox v-model="treeChecked">全选</el-checkbox>
......@@ -98,7 +98,7 @@ export default {
inputType: 'textarea',
rows: 3,
isClear: true,
maxlength:200,
maxlength: 200,
inputChange: e => {
this.handleApproval(0, e)
}
......@@ -184,14 +184,25 @@ export default {
id: index
}
this.treeBasic[0].children.push(obj)
el.secondClassifyList.forEach(ele => {
ele.attachmentList.forEach(ke => {
if (ke.attachmentFile) {
ke.secondClassifyName = ele.secondClassifyName
arr.push(ke)
}
if (el.firstClassifyName.indexOf('其他') != -1) {
el.secondClassifyList.forEach(ele => {
el.allImages.forEach(ke => {
if (ke.attachmentFile) {
ke.secondClassifyName = ele.secondClassifyName
arr.push(ke)
}
})
})
})
} else {
el.secondClassifyList.forEach(ele => {
ele.attachmentList.forEach(ke => {
if (ke.attachmentFile) {
ke.secondClassifyName = ele.secondClassifyName
arr.push(ke)
}
})
})
}
})
this.filterImgList = arr
this.curImg = arr[0]
......@@ -202,7 +213,6 @@ export default {
},
initDialog() {
this.visibility = true
console.log(this.images);
this.handlerData(this.images)
},
changeCurImg(item, index) {
......@@ -250,7 +260,7 @@ export default {
}
})
}
if(!filtterList.length)return
if (!filtterList.length) return
filtterList = [...new Set(filtterList)]
this.showFilter = false
this.filterImages(filtterList)
......
......@@ -181,15 +181,15 @@ export default {
isClear: true,
isDisabled: this.pageType == 2
},
{
label: '出险经过描述:',
name: 'reimbursementDesc',
type: 'input',
inputType: 'textarea',
maxlength: 200,
isClear: true,
isDisabled: this.pageType == 2
},
// {
// label: '出险经过描述:',
// name: 'reimbursementDesc',
// type: 'input',
// inputType: 'textarea',
// maxlength: 200,
// isClear: true,
// isDisabled: this.pageType == 2
// },
// {
// label: '申请核赔服务:',
// addHtml: 'serviceApply'
......@@ -235,7 +235,7 @@ export default {
trigger: 'change'
}
],
reimbursementDesc: [{ required: true, message: '请输入出险经过描述', trigger: 'change' }]
// reimbursementDesc: [{ required: true, message: '请输入出险经过描述', trigger: 'change' }]
},
checkList: []
}
......
......@@ -262,7 +262,6 @@ export default {
otherObj.attachmentFile = res
otherObj.auditStatus = null
otherObj.attachmentType = file.name.split('.').pop()
console.log(otherObj);
if (this.otherUploadIndex != null) {
this.insuranceAttachmentConfigs[this.currentIndx].allImages[this.otherUploadIndex] = otherObj
this.$forceUpdate()
......@@ -273,6 +272,7 @@ export default {
otherObj.reasonForFailure = null
otherObj.auditBy = null
otherObj.classifyId = this.classifyId
otherObj.attachmentCode = 4
this.insuranceAttachmentConfigs[this.currentIndx].allImages.push(otherObj)
}
return
......
......@@ -221,7 +221,7 @@
</div>
<div v-if="item.firstClassifyName.indexOf('细节') != -1" class="image_container">
<template v-for="(img, i) in images[currentIndx].secondClassifyList">
<div v-if="!isClaims && img.serviceItemName == '钥匙及车牌重置服务' && img.serviceItemName == item.services[currentServicesIndex] ? lossTypeList.includes(img.lossType) : img.serviceItemName == item.services[currentServicesIndex]" :key="i" class="img_box">
<div v-if="img.serviceItemName == '钥匙及车牌重置服务' && img.serviceItemName == item.services[currentServicesIndex] ? lossTypeList.includes(img.lossType) : img.serviceItemName == item.services[currentServicesIndex]" :key="i" class="img_box">
<div class="title_tip flex_sc">
<i v-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 1" class="el-icon-success success"></i>
<i v-else-if="img.attachmentList.length && img.attachmentList[0].auditStatus == 0" class="el-icon-error error"></i>
......
......@@ -10,7 +10,7 @@
<div class="tab_wrap">
<el-tabs v-model="activeName">
<el-tab-pane class="bg" label="核赔信息" name="first">
<CheckClaims @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" @changeObjectType="changeObjectType" :insuranceAttachmentConfigs.sync="claimsAttachmentConfigs" :repotData.sync="repotData" :itemsList.sync="itemList" :accountForm.sync="accountForm"></CheckClaims>
<CheckClaims ref="checkclaims" @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" @changeObjectType="changeObjectType" :insuranceAttachmentConfigs.sync="claimsAttachmentConfigs" :repotData.sync="repotData" :itemsList.sync="itemList" :accountForm.sync="accountForm"></CheckClaims>
</el-tab-pane>
<el-tab-pane class="bg" label="定损信息" name="second">
<CheckData @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" :isDisabled="true" :otherInfoData.sync="otherInfoData" :itemList.sync="itemList" :insuranceAttachmentConfigs.sync="insuranceAttachmentConfigs" :repotData.sync="repotData"></CheckData>
......@@ -272,8 +272,8 @@ export default {
item.lossTypeList = []
if (item.serviceItemCode == 'SC0006' && item.lossType) {
item.lossTypeList = item.lossType.split(',')
this.lossTypeList = item.lossTypeList
}
this.lossTypeList = item.lossTypeList
this.$set(item, 'checked', true)
})
this.itemList = res.itemsList
......@@ -755,7 +755,6 @@ export default {
writeOffCode: this.repotData.writeOffCode,
...imgObj
}
return this.orderMsg.status == 12 || this.orderMsg.status == 2 ? claims : para
},
// 保存订单
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!