|
|
@@ -2,8 +2,8 @@
|
|
|
<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 stripe
|
|
|
- @expand-change="handleRowChange" ref="expandTable"
|
|
|
+ <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>
|
|
|
<el-table-column prop="username" label="业务员" align="center" width="200">
|
|
|
@@ -18,7 +18,7 @@
|
|
|
<el-tag v-if="scope.row.managementSource == '电销'" type="warning">电销</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="agreementName" label="协议名称" align="center" width="180"></el-table-column>
|
|
|
+ <el-table-column prop="agreementName" label="协议名称" align="center"></el-table-column>
|
|
|
<el-table-column prop="insCompany" label="承保公司" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.insCompany ? scope.row.insCompany : '--' }}</span>
|
|
|
@@ -29,8 +29,12 @@
|
|
|
<span>{{ scope.row.isExternal == '1' ? '是' : '否' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
- <el-table-column prop="insCompany" label="合作公司" width="180" align="center">
|
|
|
+ <el-table-column prop="problemOrder" label="疑问订单" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.problemOrder == '1' ? '是' : '否' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="insCompany" label="合作公司" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.partnerCompaniesName ? scope.row.partnerCompaniesName : '--' }}</span>
|
|
|
</template>
|
|
|
@@ -38,6 +42,7 @@
|
|
|
<el-table-column prop="licenseno" label="车牌号" align="center"></el-table-column>
|
|
|
<el-table-column prop="insuredname" label="投保人姓名" align="center"></el-table-column>
|
|
|
<el-table-column prop="product" label="投保险种" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="operatorName" label="录入人" align="center"></el-table-column>
|
|
|
<el-table-column prop="auditStatus" label="状态" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag v-if="scope.row.auditStatus == '0'" type="success" size="small">未审核</el-tag>
|
|
|
@@ -45,16 +50,17 @@
|
|
|
<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" width="140"></el-table-column>
|
|
|
- <el-table-column prop="signingTime" label="签单时间" align="center" width="140"></el-table-column>
|
|
|
- <el-table-column prop="payDate" label="支付时间" align="center" width="140"></el-table-column>
|
|
|
- <el-table-column label="操作" align="center" min-width="100" fixed="right">
|
|
|
+ <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)" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -65,8 +71,8 @@
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="totalSize"></el-pagination>
|
|
|
</div>
|
|
|
<!-- 车辆报价新页面 -->
|
|
|
- <detailsDialog ref="detailsDialog" :orderInfo="orderInfo" :feeOrderNewVoList="feeOrderNewVoList"
|
|
|
- @updatedCost="updatedCost" @adusitFUn="adusitFUn">
|
|
|
+ <detailsDialog ref="detailsDialog" :orderInfo="orderInfo" :feeOrderNewVoList="feeOrderNewVoList" :isrejection="true"
|
|
|
+ @updatedCost="updatedCost" @adusitFUn="adusitFUn" @rejectionFUn="rejectionFUn">
|
|
|
</detailsDialog>
|
|
|
<el-dialog :visible.sync="ddgjdialogVisible" width="430px">
|
|
|
<div slot="title" class="dialog-title">
|
|
|
@@ -236,6 +242,38 @@ export default {
|
|
|
options: [],
|
|
|
optionsIabel: "agreementName",
|
|
|
},
|
|
|
+ {
|
|
|
+ name: 'isExternal',
|
|
|
+ label: '外部订单',
|
|
|
+ type: 'select',
|
|
|
+ optionsIabel: "label",
|
|
|
+ optionsValue: "value",
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label:'是',
|
|
|
+ value:'1'
|
|
|
+ },{
|
|
|
+ label:'否',
|
|
|
+ value:'0'
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'problemOrder',
|
|
|
+ label: '疑问订单',
|
|
|
+ type: 'select',
|
|
|
+ optionsIabel: "label",
|
|
|
+ optionsValue: "value",
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label:'是',
|
|
|
+ value:'1'
|
|
|
+ },{
|
|
|
+ label:'否',
|
|
|
+ value:'0'
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
{
|
|
|
name: ["quoteStartDateStr", "quoteEndDateStr"],
|
|
|
label: '报价时间',
|
|
|
@@ -344,6 +382,9 @@ export default {
|
|
|
if (val == "2") {
|
|
|
return "审核驳回";
|
|
|
}
|
|
|
+ if (val == "3") {
|
|
|
+ return "已承保";
|
|
|
+ }
|
|
|
},
|
|
|
trajectory(row) {
|
|
|
// let a='1797905916021248000'
|
|
|
@@ -357,6 +398,20 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ doubtfulOrders(row) {
|
|
|
+ this.$api.task.markProblemOrder({subOrder:row.orderno,problemOrder:row.problemOrder=='0'?'1':'0'}).then((res) => {
|
|
|
+ if (res.code == 200 ) {
|
|
|
+ this.$message({
|
|
|
+ message: res.msg ||'操作成功',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.$message.error(res.msg)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//获取机构数据
|
|
|
areaqueryList(level, parentId, filed) {
|
|
|
this.$api.task.queryListByParentId(level, parentId).then((res) => {
|
|
|
@@ -465,9 +520,42 @@ export default {
|
|
|
closeDialog() {
|
|
|
this.adjustFeeFlag = false;
|
|
|
},
|
|
|
+ // 审核驳回
|
|
|
+ rejectionFUn(){
|
|
|
+ this.$prompt('输入驳回原因', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ inputPattern: /^.+$/,
|
|
|
+ distinguishCancelAndClose: true,
|
|
|
+ inputErrorMessage: '输入驳回原因!'
|
|
|
+ }).then(({ value }) => {
|
|
|
+ let subParam = {
|
|
|
+ orderNo: this.orderInfo.orderno,
|
|
|
+ jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
|
|
|
+ syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
|
|
|
+ auditStatus:'2',
|
|
|
+ updateFlag: this.adjustFeeFlag ? "1" : "0",
|
|
|
+ rejectinfo:value
|
|
|
+ }
|
|
|
+ this.$api.task
|
|
|
+ .auditFee(subParam)
|
|
|
+ .then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.findPage()
|
|
|
+ this.$message({
|
|
|
+ message: '操作成功' || res.msg,
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ this.$refs.detailsDialog.setBackupVisible(false);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.$message.error(res.msg)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
//审核通过
|
|
|
adusitFUn() {
|
|
|
- console.log(1)
|
|
|
this.$confirm('是否确认审核?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
@@ -483,6 +571,7 @@ export default {
|
|
|
orderNo: this.orderInfo.orderno,
|
|
|
jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
|
|
|
syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
|
|
|
+ auditStatus:'1',
|
|
|
updateFlag: this.adjustFeeFlag ? "1" : "0",
|
|
|
}
|
|
|
this.$api.task.auditFee(subParam).then((res) => {
|
|
|
@@ -630,6 +719,14 @@ export default {
|
|
|
}
|
|
|
|
|
|
},
|
|
|
+ tableRowClassName(row) {
|
|
|
+ if(row.row.isExternal===1){
|
|
|
+ return "flagRow";
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ },
|
|
|
//应用详情
|
|
|
OrderDetails(dy) {
|
|
|
this.carImageList = [];
|