|
|
@@ -3,9 +3,9 @@
|
|
|
<retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
|
|
|
@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" @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="请选择">
|
|
|
@@ -16,17 +16,15 @@
|
|
|
<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="430px">
|
|
|
<div slot="title" class=" dialog-title">
|
|
|
<span>订单轨迹</span>
|
|
|
</div>
|
|
|
<div style="height: 300px; overflow-y: auto">
|
|
|
- <el-steps direction="vertical" :active="trajectoryTable.length - 1" >
|
|
|
- <el-step v-for="item in trajectoryTable"
|
|
|
- :key="item.id"
|
|
|
- :title="getStatusText(item.orderStatus)"
|
|
|
- >
|
|
|
+ <el-steps direction="vertical" :active="trajectoryTable.length - 1">
|
|
|
+ <el-step v-for="item in trajectoryTable" :key="item.id" :title="getStatusText(item.orderStatus)">
|
|
|
<template slot="description">
|
|
|
<span>保险公司:{{ item.insCompany }}</span>
|
|
|
<span>提交人:{{ item.operator }}</span>
|
|
|
@@ -36,20 +34,25 @@
|
|
|
</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
|
|
|
- :header-cell-style="{
|
|
|
- background: '#F2F7FC',
|
|
|
- fontWeight: '700',
|
|
|
- color: '#606266',
|
|
|
- }">
|
|
|
+ <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',
|
|
|
+ color: '#606266',
|
|
|
+ }">
|
|
|
<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%">
|
|
|
+ <span>{{ viewReasonMsg }}</span>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" @click="viewReasondialogVisible = false">关闭</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -75,25 +78,46 @@ 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 },
|
|
|
+ { prop: "product", label: "投保险种", minWidth: 100 },
|
|
|
+ { prop: "username", label: "业务员姓名", minWidth: 180 },
|
|
|
+ // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
|
|
|
+ { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
|
|
|
+ // { prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
+ { prop: "partnerCompaniesName", label: "合作公司", minWidth: 120 },
|
|
|
+ // { prop: "agreementName", label: "协议", minWidth: 160 },
|
|
|
+ { prop: "licenseno", label: "车牌号", minWidth: 160 },
|
|
|
+ { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
|
|
|
+ { prop: "jqpremium", label: "交强险保费", minWidth: 120 },
|
|
|
+ { prop: "sypremium", label: "商业险保费", minWidth: 120 },
|
|
|
+ { prop: "taxamount", label: "车船税", minWidth: 120 },
|
|
|
+
|
|
|
+ { prop: "jypremium", label: "驾意险保费", minWidth: 120 },
|
|
|
+ { prop: "userid", label: "业务员工号", minWidth: 180 },
|
|
|
+ { label: "原因", minWidth: 180, formatter: this.failureReasonFormatter },
|
|
|
+ { prop: "createtime", label: "录单日期", minWidth: 160 },
|
|
|
+ ],
|
|
|
}
|
|
|
},
|
|
|
mixins: [mixin],
|
|
|
@@ -107,7 +131,7 @@ export default {
|
|
|
methods: {
|
|
|
|
|
|
getStatusText(code) {
|
|
|
- return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
|
|
|
+ return this.optionsStatus.find(val => val.dictValue == code).dictTag;;
|
|
|
},
|
|
|
|
|
|
handleFormSubmit(data) {
|
|
|
@@ -248,31 +272,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>
|