|
|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse" :dateType="1"
|
|
|
- @exportSubmit="exportSubmit" :isExport="true"
|
|
|
- @areaSelectChange="areaSelectChange"></retrievalForm>
|
|
|
+ @exportSubmit="exportSubmit" :isExport="true" @areaSelectChange="areaSelectChange"></retrievalForm>
|
|
|
<kt-common-table :data="pageResult" :columns="columns" element-loading-text="加载中..." v-loading="loading"
|
|
|
- :showBatchDelete="false" @findPage="findPage" button3Name="转发" button3Type="text"
|
|
|
- @handleButton3="transmit" :buttonDropdown="dropdownOption" button5Name="详情" button5Type="text" @handleButton5="detailFun" button4Name="转发记录" button4Type="text"
|
|
|
- @handleButton4="forwardingRecords" :operationWidth="300"></kt-common-table>
|
|
|
+ :showBatchDelete="false" :refreshStatus="true" refreshStatusName="批量更新状态" @refreshStatusBatch="refreshStatusBatch"
|
|
|
+ @findPage="findPage" button3Name="转发" button3Type="text" @handleButton3="transmit"
|
|
|
+ :buttonDropdown="dropdownOption" button5Name="详情" button5Type="text" @handleButton5="detailFun" button4Name="转发记录"
|
|
|
+ button4Type="text" @handleButton4="forwardingRecords" :operationWidth="300"></kt-common-table>
|
|
|
<el-dialog title="转发" :visible.sync="dialogVisible" width="30%">
|
|
|
转发人:
|
|
|
<el-select v-model="transmitValue" filterable clearable placeholder="请选择">
|
|
|
@@ -17,7 +17,8 @@
|
|
|
<el-button type="primary" size="small" @click="transmitSumit">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <detailsDialog ref="detailsDialog" :isTaskPool="true" :orderInfo="queryOrders" :isAuditing="isAuditing" :feeOrderNewVoList="feeOrderNewVoList"></detailsDialog>
|
|
|
+ <detailsDialog ref="detailsDialog" :isTaskPool="true" :orderInfo="queryOrders" :isAuditing="isAuditing"
|
|
|
+ :feeOrderNewVoList="feeOrderNewVoList"></detailsDialog>
|
|
|
<el-dialog :visible.sync="ddgjdialogVisible" width="500px">
|
|
|
<div slot="title" class=" dialog-title">
|
|
|
<span>订单轨迹</span>
|
|
|
@@ -31,7 +32,7 @@
|
|
|
<div>车牌号:{{ item.licenseNo }}</div>
|
|
|
<div>被保人:{{ item.insuredname }}</div>
|
|
|
<div>
|
|
|
- <span >操作人:{{ item.operator }}</span>
|
|
|
+ <span>操作人:{{ item.operator }}</span>
|
|
|
<span style="margin-left: 10px">操作人工号:{{ item.audituser }}</span>
|
|
|
</div>
|
|
|
<span v-if="item.operatorTime">
|
|
|
@@ -43,8 +44,8 @@
|
|
|
</el-steps>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog :visible.sync="forwardingRecordsdialogVisible" title="转发记录" width="70%">
|
|
|
- <el-table :data="gridData" height="400" border v-loading="loading" highlight-current-row stripe
|
|
|
+ <el-dialog :visible.sync="forwardingRecordsdialogVisible" title="转发记录" width="70%">
|
|
|
+ <el-table :data="gridData" height="400" border v-loading="loading" highlight-current-row stripe
|
|
|
:header-cell-style="{
|
|
|
background: '#F2F7FC',
|
|
|
fontWeight: '700',
|
|
|
@@ -53,11 +54,11 @@
|
|
|
<el-table-column property="subOrderId" align="center" label="订单号" width="200"></el-table-column>
|
|
|
<el-table-column property="oldOperatorId" align="center" label="转发人" width="200"></el-table-column>
|
|
|
<el-table-column property="newOperatorId" align="center" label="接收人"></el-table-column>
|
|
|
- <el-table-column property="remark" align="center" label="转发信息"></el-table-column>
|
|
|
+ <el-table-column property="remark" align="center" label="转发信息"></el-table-column>
|
|
|
<el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="原因查看" :visible.sync="viewReasondialogVisible" width="30%" >
|
|
|
+ <el-dialog title="原因查看" :visible.sync="viewReasondialogVisible" width="30%">
|
|
|
<span>{{ viewReasonMsg }}</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="small" @click="viewReasondialogVisible = false">关闭</el-button>
|
|
|
@@ -88,23 +89,23 @@ export default {
|
|
|
userId: "",
|
|
|
},
|
|
|
|
|
|
- ddgjdialogVisible:false,
|
|
|
- trajectoryTable:[],
|
|
|
- optionsStatus:[],
|
|
|
- dropdownOption:[
|
|
|
+ ddgjdialogVisible: false,
|
|
|
+ trajectoryTable: [],
|
|
|
+ optionsStatus: [],
|
|
|
+ dropdownOption: [
|
|
|
{
|
|
|
- label:'报价轨迹',
|
|
|
- click:(row)=>this.trajectory(row)
|
|
|
+ label: '报价轨迹',
|
|
|
+ click: (row) => this.trajectory(row)
|
|
|
},
|
|
|
{
|
|
|
- label:'撤单',
|
|
|
- hide:(row) => {
|
|
|
- return row.insCompany == '紫金财险' ?true:false
|
|
|
+ label: '撤单',
|
|
|
+ hide: (row) => {
|
|
|
+ return row.insCompany == '紫金财险' ? true : false
|
|
|
},
|
|
|
- click:(row)=>this.cancelorder(row)
|
|
|
- },{
|
|
|
- label:'更新订单',
|
|
|
- click:(row)=>this.refreshStatus(row)
|
|
|
+ click: (row) => this.cancelorder(row)
|
|
|
+ }, {
|
|
|
+ label: '更新订单',
|
|
|
+ click: (row) => this.refreshStatus(row)
|
|
|
},
|
|
|
], columns: [
|
|
|
{ prop: "subOrderId", label: "订单号", minWidth: 180 },
|
|
|
@@ -139,6 +140,23 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ //批量更新订单状态
|
|
|
+ refreshStatusBatch(list) {
|
|
|
+ this.$api.letter.batchOrderStatus({ orderNos: list }).then((res) => {
|
|
|
+ if (res.code == '200') {
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'error',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//导出
|
|
|
exportSubmit(data) {
|
|
|
let obj = Object.assign(this.pageRequest, data)
|
|
|
@@ -164,7 +182,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getStatusText(code) {
|
|
|
- return this.optionsStatus.find(val=>val.dictValue==code).dictTag;
|
|
|
+ return this.optionsStatus.find(val => val.dictValue == code).dictTag;
|
|
|
},
|
|
|
handleFormSubmit(data) {
|
|
|
let obj = Object.assign(this.pageRequest, data)
|
|
|
@@ -306,31 +324,37 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
-/deep/{
|
|
|
+/deep/ {
|
|
|
.el-step__description.is-finish,
|
|
|
.el-step__head.is-finish {
|
|
|
color: #333;
|
|
|
border: none;
|
|
|
}
|
|
|
- .el-step__title,.el-step__icon-inner{
|
|
|
- color:var(--themeColor)
|
|
|
+
|
|
|
+ .el-step__title,
|
|
|
+ .el-step__icon-inner {
|
|
|
+ color: var(--themeColor)
|
|
|
}
|
|
|
- .el-step__line-inner{
|
|
|
- height:0;
|
|
|
- display:none
|
|
|
- }
|
|
|
- .is-flex{
|
|
|
|
|
|
- .el-step__icon{
|
|
|
+ .el-step__line-inner {
|
|
|
+ height: 0;
|
|
|
+ display: none
|
|
|
+ }
|
|
|
+
|
|
|
+ .is-flex {
|
|
|
+
|
|
|
+ .el-step__icon {
|
|
|
background: var(--themeColor)
|
|
|
}
|
|
|
- .el-step__icon-inner{
|
|
|
+
|
|
|
+ .el-step__icon-inner {
|
|
|
color: #fff;
|
|
|
}
|
|
|
}
|
|
|
- .el-step__icon.is-text{
|
|
|
- border:none;
|
|
|
- box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.1);
|
|
|
+
|
|
|
+ .el-step__icon.is-text {
|
|
|
+ border: none;
|
|
|
+ box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
|
|
|
}
|
|
|
}
|
|
|
</style>
|