|
|
@@ -2,7 +2,7 @@
|
|
|
<div class="page">
|
|
|
<retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
|
|
|
@areaSelectChange="areaSelectChange"></retrievalForm>
|
|
|
- <el-table size="small" :data="pageResult" height="590" border v-loading="loading" highlight-current-row
|
|
|
+ <el-table size="small" :data="pageResult" height="590" border v-loading="loading" highlight-current-row
|
|
|
@expand-change="handleRowChange" ref="expandTable" :row-class-name="tableRowClassName"
|
|
|
:header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#606266' }">
|
|
|
<el-table-column prop="subOrderId" label="订单号" align="center"></el-table-column>
|
|
|
@@ -50,17 +50,18 @@
|
|
|
<el-tag v-if="scope.row.auditStatus == '2'" type="danger" size="small">审核驳回</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="createtime" label="录单日期" align="center" ></el-table-column>
|
|
|
- <el-table-column prop="signingTime" label="签单时间" align="center" ></el-table-column>
|
|
|
- <el-table-column prop="payDate" label="支付时间" align="center" ></el-table-column>
|
|
|
- <el-table-column label="操作" align="center" min-width="170" >
|
|
|
+ <el-table-column prop="createtime" label="录单日期" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="signingTime" label="签单时间" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="payDate" label="支付时间" align="center"></el-table-column>
|
|
|
+ <el-table-column label="操作" align="center" min-width="170">
|
|
|
<template slot-scope="scope">
|
|
|
<kt-button label="审核" type="text" perms="carInsurance:expenseVerification:pendingReview:review"
|
|
|
@click="OrderDetails(scope.row)" />
|
|
|
<!-- <kt-button label="轨迹" type="text" perms="carInsurance:expenseVerification:pendingReview:trajectory"
|
|
|
@click="trajectory(scope.row)" /> -->
|
|
|
<kt-button label="轨迹" type="text" @click="trajectory(scope.row)" />
|
|
|
- <kt-button :label="scope.row.problemOrder=='0'?'疑问订单':'取消疑问订单'" type="text" @click="doubtfulOrders(scope.row)" />
|
|
|
+ <kt-button :label="scope.row.problemOrder == '0' ? '疑问订单' : '取消疑问订单'" type="text"
|
|
|
+ @click="doubtfulOrders(scope.row)" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -71,8 +72,8 @@
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="totalSize"></el-pagination>
|
|
|
</div>
|
|
|
<!-- 车辆报价新页面 -->
|
|
|
- <detailsDialog ref="detailsDialog" :orderInfo="orderInfo" :feeOrderNewVoList="feeOrderNewVoList" :isrejection="isrejection"
|
|
|
- @updatedCost="updatedCost" @adusitFUn="adusitFUn" @rejectionFUn="rejectionFUn">
|
|
|
+ <detailsDialog ref="detailsDialog" :orderInfo="orderInfo" :feeOrderNewVoList="feeOrderNewVoList"
|
|
|
+ :isrejection="isrejection" @updatedCost="updatedCost" @adusitFUn="adusitFUn" @rejectionFUn="rejectionFUn">
|
|
|
</detailsDialog>
|
|
|
<el-dialog :visible.sync="ddgjdialogVisible" width="430px">
|
|
|
<div slot="title" class="dialog-title">
|
|
|
@@ -106,7 +107,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- isrejection:false,
|
|
|
+ isrejection: false,
|
|
|
ddgjdialogVisible: false,
|
|
|
trajectoryTable: [],
|
|
|
feeOrderNewVoList: {},
|
|
|
@@ -251,11 +252,11 @@ export default {
|
|
|
optionsValue: "value",
|
|
|
options: [
|
|
|
{
|
|
|
- label:'是',
|
|
|
- value:'1'
|
|
|
- },{
|
|
|
- label:'否',
|
|
|
- value:'0'
|
|
|
+ label: '是',
|
|
|
+ value: '1'
|
|
|
+ }, {
|
|
|
+ label: '否',
|
|
|
+ value: '0'
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
@@ -267,11 +268,11 @@ export default {
|
|
|
optionsValue: "value",
|
|
|
options: [
|
|
|
{
|
|
|
- label:'是',
|
|
|
- value:'1'
|
|
|
- },{
|
|
|
- label:'否',
|
|
|
- value:'0'
|
|
|
+ label: '是',
|
|
|
+ value: '1'
|
|
|
+ }, {
|
|
|
+ label: '否',
|
|
|
+ value: '0'
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
@@ -400,13 +401,13 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
doubtfulOrders(row) {
|
|
|
- this.$api.task.markProblemOrder({subOrder:row.orderno,problemOrder:row.problemOrder=='0'?'1':'0'}).then((res) => {
|
|
|
- if (res.code == 200 ) {
|
|
|
+ this.$api.task.markProblemOrder({ subOrder: row.orderno, problemOrder: row.problemOrder == '0' ? '1' : '0' }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
this.$message({
|
|
|
- message: res.msg ||'操作成功',
|
|
|
+ message: res.msg || '操作成功',
|
|
|
type: 'success'
|
|
|
});
|
|
|
- this.findPage();
|
|
|
+ this.findPage();
|
|
|
}
|
|
|
else {
|
|
|
this.$message.error(res.msg)
|
|
|
@@ -522,7 +523,7 @@ export default {
|
|
|
this.adjustFeeFlag = false;
|
|
|
},
|
|
|
// 审核驳回
|
|
|
- rejectionFUn(){
|
|
|
+ rejectionFUn() {
|
|
|
this.$prompt('输入驳回原因', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
@@ -534,9 +535,9 @@ export default {
|
|
|
orderNo: this.orderInfo.orderno,
|
|
|
jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
|
|
|
syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
|
|
|
- auditStatus:'2',
|
|
|
+ auditStatus: '2',
|
|
|
updateFlag: this.adjustFeeFlag ? "1" : "0",
|
|
|
- rejectinfo:value
|
|
|
+ rejectinfo: value
|
|
|
}
|
|
|
this.$api.task
|
|
|
.auditFee(subParam)
|
|
|
@@ -547,7 +548,7 @@ export default {
|
|
|
message: '操作成功' || res.msg,
|
|
|
type: 'success'
|
|
|
});
|
|
|
- this.$refs.detailsDialog.setBackupVisible(false);
|
|
|
+ this.$refs.detailsDialog.setBackupVisible(false);
|
|
|
}
|
|
|
else {
|
|
|
this.$message.error(res.msg)
|
|
|
@@ -563,16 +564,16 @@ export default {
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
const loading = this.$loading({
|
|
|
- lock: true,
|
|
|
- text: '数据加载中,请稍等',
|
|
|
- spinner: 'el-icon-loading',
|
|
|
- background: 'rgba(0, 0, 0, 0.7)'
|
|
|
- });
|
|
|
+ lock: true,
|
|
|
+ text: '数据加载中,请稍等',
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
+ });
|
|
|
let subParam = {
|
|
|
orderNo: this.orderInfo.orderno,
|
|
|
jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
|
|
|
syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
|
|
|
- auditStatus:'1',
|
|
|
+ auditStatus: '1',
|
|
|
updateFlag: this.adjustFeeFlag ? "1" : "0",
|
|
|
}
|
|
|
this.$api.task.auditFee(subParam).then((res) => {
|
|
|
@@ -721,20 +722,20 @@ export default {
|
|
|
|
|
|
},
|
|
|
tableRowClassName(row) {
|
|
|
- if(row.row.isExternal===1){
|
|
|
- return "flagRow";
|
|
|
- }
|
|
|
- else{
|
|
|
- return ''
|
|
|
- }
|
|
|
+ if (row.row.isExternal === 1) {
|
|
|
+ return "flagRow";
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
},
|
|
|
//应用详情
|
|
|
OrderDetails(dy) {
|
|
|
- if(dy.isExternal==1){
|
|
|
- this.isrejection=true
|
|
|
+ if (dy.isExternal == 1) {
|
|
|
+ this.isrejection = true
|
|
|
}
|
|
|
- else{
|
|
|
- this.isrejection=false
|
|
|
+ else {
|
|
|
+ this.isrejection = false
|
|
|
}
|
|
|
this.carImageList = [];
|
|
|
this.ownerImageList = []; //车主影像
|
|
|
@@ -955,52 +956,103 @@ export default {
|
|
|
}
|
|
|
break;
|
|
|
case "华泰财险":
|
|
|
- if (this.orderInfo.jqpolicyno) {
|
|
|
- this.$api.letter
|
|
|
- .HuataigetPolicyPrint({
|
|
|
- companyId: res.data.id,
|
|
|
- riskCode: "0507",
|
|
|
- type: "2", //2:保单
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.data) {
|
|
|
- if (res.data.jqxPolicyUrl) {
|
|
|
- this.oldfileList.push({
|
|
|
- fileTitle: "交强电子保单",
|
|
|
- filename: this.orderInfo.jqpolicyno,
|
|
|
- fileurl: res.data.jqxPolicyUrl,
|
|
|
- });
|
|
|
- }
|
|
|
- if (res.data.jqxFlagUrl) {
|
|
|
- this.oldfileList.push({
|
|
|
- fileTitle: "交强电子标志",
|
|
|
- filename: this.orderInfo.jqpolicyno,
|
|
|
- fileurl: res.data.jqxFlagUrl,
|
|
|
- });
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.$message.error(res.msg);
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
- if (this.orderInfo.sypolicyno) {
|
|
|
- this.$api.letter
|
|
|
- .HuataigetPolicyPrint({
|
|
|
- companyId: res.data.id,
|
|
|
- riskCode: "0510",
|
|
|
- type: "2", //2:保单
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- if (res.data && res.data.syxPolicyUrl) {
|
|
|
- businessList.push({
|
|
|
- fileTitle: "商业电子保单",
|
|
|
- filename: this.orderInfo.sypolicyno,
|
|
|
- fileurl: res.data.syxPolicyUrl,
|
|
|
+ switch (res.data.apiType) {
|
|
|
+ case 1:
|
|
|
+ if (this.orderInfo.jqpolicyno) {
|
|
|
+ this.$api.letter
|
|
|
+ .HuataigetPolicyPrint({
|
|
|
+ companyId: res.data.id,
|
|
|
+ riskCode: "0507",
|
|
|
+ type: "2", //2:保单
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data) {
|
|
|
+ if (res.data.jqxPolicyUrl) {
|
|
|
+ this.oldfileList.push({
|
|
|
+ fileTitle: "交强电子保单",
|
|
|
+ filename: this.orderInfo.jqpolicyno,
|
|
|
+ fileurl: res.data.jqxPolicyUrl,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (res.data.jqxFlagUrl) {
|
|
|
+ this.oldfileList.push({
|
|
|
+ fileTitle: "交强电子标志",
|
|
|
+ filename: this.orderInfo.jqpolicyno,
|
|
|
+ fileurl: res.data.jqxFlagUrl,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
});
|
|
|
- } else {
|
|
|
- this.$message.error(res.msg);
|
|
|
- }
|
|
|
- });
|
|
|
+ }
|
|
|
+ if (this.orderInfo.sypolicyno) {
|
|
|
+ this.$api.letter
|
|
|
+ .HuataigetPolicyPrint({
|
|
|
+ companyId: res.data.id,
|
|
|
+ riskCode: "0510",
|
|
|
+ type: "2", //2:保单
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.data && res.data.syxPolicyUrl) {
|
|
|
+ businessList.push({
|
|
|
+ fileTitle: "商业电子保单",
|
|
|
+ filename: this.orderInfo.sypolicyno,
|
|
|
+ fileurl: res.data.syxPolicyUrl,
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
|
|
|
+ this.$api.letter
|
|
|
+ .pythongetPolicyPrint({
|
|
|
+ subOrderNo: res.data.id
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ if (res.code == 200 && res.data) {
|
|
|
+ if (res.data.jqxPolicyUrl) {
|
|
|
+ this.oldfileList.push({
|
|
|
+ fileTitle: "交强电子保单",
|
|
|
+ filename: this.orderInfo.jqpolicyno,
|
|
|
+ fileurl: res.data.jqxPolicyUrl
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (res.data.jqxFlagUrl) {
|
|
|
+ this.oldfileList.push({
|
|
|
+ fileTitle: "交强电子标志",
|
|
|
+ filename: this.orderInfo.jqpolicyno,
|
|
|
+ fileurl: res.data.jqxFlagUrl
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (res.data.syxPolicyUrl) {
|
|
|
+ businessList.push({
|
|
|
+ fileTitle: "商业电子保单",
|
|
|
+ filename: this.orderInfo.sypolicyno,
|
|
|
+ fileurl: res.data.syxPolicyUrl
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if (
|
|
|
+ res.data.jyxInfoList &&
|
|
|
+ res.data.jyxInfoList.length > 0
|
|
|
+ ) {
|
|
|
+ res.data.jyxInfoList.forEach(val => {
|
|
|
+ accidentList.push({
|
|
|
+ fileTitle: "驾意险保单",
|
|
|
+ filename: "驾意险保单",
|
|
|
+ fileurl: val.jyx_policy_url
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ break;
|
|
|
}
|
|
|
break;
|
|
|
case "中煤财险":
|