|
|
@@ -130,6 +130,28 @@ export const mixin = { // 导出混入对象
|
|
|
type: 'input',
|
|
|
Retained: true,
|
|
|
},
|
|
|
+ {
|
|
|
+ name: 'entryStatus',
|
|
|
+ label: '录入来源',
|
|
|
+ type: 'select',
|
|
|
+ Retained: true,
|
|
|
+ optionsIabel: "label",
|
|
|
+ optionsValue: "value",
|
|
|
+ options: [
|
|
|
+ {
|
|
|
+ label: "车险录入",
|
|
|
+ value: "1",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "代客录单",
|
|
|
+ value: "2",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "外部订单",
|
|
|
+ value: "3",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
],
|
|
|
loading: false,
|
|
|
queryFrom: {},
|
|
|
@@ -140,6 +162,7 @@ export const mixin = { // 导出混入对象
|
|
|
{ prop: "username", label: "业务员姓名", minWidth: 180 },
|
|
|
{ prop: "leaderName", label: "管理人", minWidth: 160, },
|
|
|
{ prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
|
|
|
+ { prop: "entryStatus", label: "录入来源", minWidth: 160, formatter: this.entryStatusFormatter },
|
|
|
// { prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
{ prop: "partnerCompaniesName", label: "合作公司", minWidth: 120 },
|
|
|
// { prop: "agreementName", label: "协议", minWidth: 160 },
|
|
|
@@ -151,7 +174,8 @@ export const mixin = { // 导出混入对象
|
|
|
|
|
|
{ prop: "jypremium", label: "驾意险保费", minWidth: 120 },
|
|
|
{ prop: "userid", label: "业务员工号", minWidth: 180 },
|
|
|
- { prop: "createtime", label: "录单日期", minWidth: 160 },
|
|
|
+ { prop: "createtime", label: "报价时间", minWidth: 160 },
|
|
|
+
|
|
|
],
|
|
|
columns1: [
|
|
|
{ prop: "subOrderId", label: "订单号", minWidth: 180 },
|
|
|
@@ -159,6 +183,7 @@ export const mixin = { // 导出混入对象
|
|
|
{ prop: "username", label: "业务员姓名", minWidth: 180 },
|
|
|
{ prop: "leaderName", label: "管理人", minWidth: 160, },
|
|
|
{ prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
|
|
|
+ { prop: "entryStatus", label: "录入来源", minWidth: 160, formatter: this.entryStatusFormatter },
|
|
|
// { prop: "insCompany", label: "保险公司", minWidth: 120 },
|
|
|
{ prop: "partnerCompaniesName", label: "已承保公司", minWidth: 120 },
|
|
|
{ prop: "licenseno", label: "车牌号", minWidth: 160 },
|
|
|
@@ -170,7 +195,7 @@ export const mixin = { // 导出混入对象
|
|
|
// { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
|
|
|
{ prop: "insuredname", label: "投保人姓名", minWidth: 120 },
|
|
|
{ prop: "userid", label: "业务员工号", minWidth: 180 },
|
|
|
- { prop: "createtime", label: "录单日期", minWidth: 160 },
|
|
|
+ { prop: "createtime", label: "报价时间", minWidth: 160 }
|
|
|
],
|
|
|
statusoptions: "",
|
|
|
dialogVisible: false,
|
|
|
@@ -1235,6 +1260,18 @@ export const mixin = { // 导出混入对象
|
|
|
default:
|
|
|
}
|
|
|
},
|
|
|
+ entryStatusFormatter(row, column) {
|
|
|
+ let entryStatus = row.entryStatus;
|
|
|
+ switch (entryStatus) {
|
|
|
+ case 1:
|
|
|
+ return <el-tag>车险录入</el-tag>
|
|
|
+ case 2:
|
|
|
+ return <el-tag type="success">代客录单</el-tag>
|
|
|
+ case 3:
|
|
|
+ return <el-tag type="warning">外部订单</el-tag>
|
|
|
+ default:
|
|
|
+ }
|
|
|
+ },
|
|
|
//核保原因
|
|
|
failureReasonFormatter(row,column){
|
|
|
let id=row.subOrderId;
|