15 Commits

4 changed files with 17 additions and 12 deletions

View File

@@ -243,7 +243,7 @@
</van-radio-group>
</div>
</div>
<div class="item_content_btn">
<div class="item_content_btn" v-if="[2,3].includes(this.liabilityInsuranceAudit)">
<span @click="goContinueInsurance">续保更新</span>
</div>
<span style="color: red">如有投保未投保选不必上传交强险或者商业险等其他保单</span>
@@ -969,6 +969,9 @@ export default {
if(key=='serviceIds'){
this.approvalForm.serviceChange[key]=this.$refs.tree.getCheckedKeys(true)
}
if(key=='vehicleType'){
this.approvalForm.serviceChange[key]=this.selectedOption?.join(',') || ''
}
});
}else {
this.vehicleInfoChange=false
@@ -1000,8 +1003,9 @@ export default {
this.approvalForm.insuranceChange=null
}
}
if(this.vehicleInfoChange || this.insuranceChange){
this.approvalDialogShow=true
if((this.vehicleInfoChange || this.insuranceChange) && this.id){
// this.approvalDialogShow=true
this.submitApprovalHandle()
console.log('11111',this.approvalForm.serviceChange)
console.log('2222',this.approvalForm.insuranceChange)
}else {
@@ -1027,10 +1031,10 @@ export default {
this.$toast('车辆状态不能为空')
return
}
if(!this.approvalForm.serviceRemark){
/* if(!this.approvalForm.serviceRemark){
this.$toast('车辆和服务备注不能为空')
return
}
}*/
}
if(this.insuranceChange){
if(this.hasLiabilityInsurance === null || this.hasLiabilityInsurance === undefined || this.hasLiabilityInsurance === '') { // 有职业责任险,就需要有保单照片
@@ -1053,10 +1057,10 @@ export default {
this.$toast('保单有效期不能为空')
return
}
if(!this.approvalForm.insuranceRemark){
/* if(!this.approvalForm.insuranceRemark){
this.$toast('保单备注不能为空')
return
}
}*/
}
try {
this.loading = true;

View File

@@ -1327,7 +1327,8 @@ export default {
columnObj.label = item.month // 每一列的标题的名称
columnObj.prop = props + index //自定义每一列标题字段名称
this.etlLabelList.push(columnObj)
let mappings = [ 'complainOrderCount', 'complainOrderRate', 'pinganFavorableCount','pinganFavorableRate' ];
// 'pinganFavorableCount','pinganFavorableRate'
let mappings = [ 'complainOrderCount', 'complainOrderRate' ];
for (let i = 0; i < mappings.length; i++) {
this.$set(this.etlDetailList[i], columnObj.prop, item[mappings[i]]);
}

View File

@@ -43,8 +43,8 @@ export default {
margin-top: 20px;
text-align: center;
.report_icon {
width: 45px;
height: 45px;
width: 60px;
height: 60px;
}
.report_title {
color: rgba(53, 53, 53, 0.67);

View File

@@ -263,10 +263,10 @@
data.lat = this.lat;
data.lng = this.lng;
}
if( !this.remark ) {
/*if( !this.remark ) {
Toast('备注内容不能为空')
return
}
}*/
this.clickFlag = false;
try {
await newOrderReporting(data)