Просмотр исходного кода

任务池增加核保通过方式

@dongkboy 2 лет назад
Родитель
Сommit
550d076578

+ 21 - 2
src/views/Task/AgentPoolChannel/AgentPoolChannel2.vue

@@ -3,7 +3,7 @@
     <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" 
+      :showBatchDelete="false" @findPage="findPage"
       button3Name="状态更新"
       button3Type="text"
       @handleButton3="querystatus"
@@ -106,7 +106,26 @@ export default {
           },
           click:(row)=>this.cancelorder(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: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],

+ 20 - 0
src/views/Task/AgentPoolChannel/AgentPoolChannel3.vue

@@ -81,6 +81,26 @@ export default {
       ddgjdialogVisible:false,
       trajectoryTable:[],
       optionsStatus:[],
+      columns1: [
+        { 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: "licenseno", label: "车牌号", minWidth: 160 },
+        { prop: "jqpremium", label: "交强险保费", minWidth: 160 },
+        { prop: "sypremium", label: "商业险保费", minWidth: 160 },
+        // { prop: "agreementName", label: "协议", minWidth: 160 },
+        { prop: "taxamount", label: "车船税", minWidth: 160 },
+        { prop: "jypremium", label: "驾意险保费", minWidth: 160 },
+        // { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
+        { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
+        {prop: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],

+ 19 - 0
src/views/Task/CompanyPoolChannel/CompanyPoolChannel2.vue

@@ -177,6 +177,25 @@ export default {
           click: (row) => this.cancelorder(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: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     };
   },
   mixins: [mixin],

+ 20 - 0
src/views/Task/CompanyPoolChannel/CompanyPoolChannel3.vue

@@ -219,6 +219,26 @@ export default {
       ddgjdialogVisible:false,
       trajectoryTable:[],
       optionsStatus:[],
+      columns1: [
+        { 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: "licenseno", label: "车牌号", minWidth: 160 },
+        { prop: "jqpremium", label: "交强险保费", minWidth: 160 },
+        { prop: "sypremium", label: "商业险保费", minWidth: 160 },
+        // { prop: "agreementName", label: "协议", minWidth: 160 },
+        { prop: "taxamount", label: "车船税", minWidth: 160 },
+        { prop: "jypremium", label: "驾意险保费", minWidth: 160 },
+        // { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
+        { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
+        {prop: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],

+ 21 - 2
src/views/Task/ElectricSales/AgentPoolChannel2.vue

@@ -3,7 +3,7 @@
     <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" 
+      :showBatchDelete="false" @findPage="findPage"
       button3Name="状态更新"
       button3Type="text"
       @handleButton3="querystatus"
@@ -106,7 +106,26 @@ export default {
           },
           click:(row)=>this.cancelorder(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: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],

+ 20 - 0
src/views/Task/ElectricSales/AgentPoolChannel3.vue

@@ -81,6 +81,26 @@ export default {
       ddgjdialogVisible:false,
       trajectoryTable:[],
       optionsStatus:[],
+      columns1: [
+        { 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: "licenseno", label: "车牌号", minWidth: 160 },
+        { prop: "jqpremium", label: "交强险保费", minWidth: 160 },
+        { prop: "sypremium", label: "商业险保费", minWidth: 160 },
+        // { prop: "agreementName", label: "协议", minWidth: 160 },
+        { prop: "taxamount", label: "车船税", minWidth: 160 },
+        { prop: "jypremium", label: "驾意险保费", minWidth: 160 },
+        // { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
+        { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
+        {prop: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],

+ 25 - 4
src/views/Task/TaskPoolChannel/TaskPoolChannel2.vue

@@ -3,13 +3,13 @@
     <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" 
+      :showBatchDelete="false" @findPage="findPage"
       :buttonDropdown="dropdownOption"
       button3Name="状态更新"
       button3Type="text"
       @handleButton3="querystatus"
-      button2Name="报价轨迹" button2Type="text" @handleButton2="trajectory" 
-      button5Name="详情" button5Type="text" @handleButton5="detailFun" 
+      button2Name="报价轨迹" button2Type="text" @handleButton2="trajectory"
+      button5Name="详情" button5Type="text" @handleButton5="detailFun"
       button4Name="转发记录" button4Type="text"   @handleButton4="forwardingRecords"
       :operationWidth="300"></kt-common-table>
     <el-dialog title="转发" :visible.sync="dialogVisible" width="30%">
@@ -106,7 +106,27 @@ export default {
           },
           click:(row)=>this.cancelorder(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: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],
@@ -119,6 +139,7 @@ export default {
   },
 
   methods: {
+
     querystatus(item) {
       let inscompany = {
         国任财险: "updateOrderInfoGuoren",

+ 22 - 2
src/views/Task/TaskPoolChannel/TaskPoolChannel3.vue

@@ -3,7 +3,7 @@
     <retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
       @areaSelectChange="areaSelectChange"></retrievalForm>
     <kt-common-table :data="pageResult" ref="commonTable" :columns="columns1" element-loading-text="加载中..." v-loading="loading"
-      :showBatchDelete="false" @findPage="findPage"  
+      :showBatchDelete="false" @findPage="findPage"
       button3Name="转发" button3Type="text" @handleButton3="transmit" :stripe="false"
       button2Name="报价轨迹" button2Type="text" @handleButton2="trajectory"
       button6Name="批单" button6Type="text" @handleButton6="batchOrder"
@@ -78,6 +78,26 @@ export default {
       ddgjdialogVisible: false,
       trajectoryTable: [],
       optionsStatus: [],
+      columns1: [
+        { 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: "licenseno", label: "车牌号", minWidth: 160 },
+        { prop: "jqpremium", label: "交强险保费", minWidth: 160 },
+        { prop: "sypremium", label: "商业险保费", minWidth: 160 },
+        // { prop: "agreementName", label: "协议", minWidth: 160 },
+        { prop: "taxamount", label: "车船税", minWidth: 160 },
+        { prop: "jypremium", label: "驾意险保费", minWidth: 160 },
+        // { prop: "isExternal", label: "外部订单", formatter: this.isExternalFormatter},
+        { prop: "insuredname", label: "投保人姓名", minWidth: 120 },
+        {prop: "underwritingStatus", label: "核保通过方式", minWidth: 180, formatter: this.underwritingMethodFormatter },
+        { prop: "userid", label: "业务员工号", minWidth: 180 },
+        { prop: "createtime", label: "录单日期", minWidth: 160 },
+      ],
     }
   },
   mixins: [mixin],
@@ -282,5 +302,5 @@ export default {
   }
 }
 
- 
+
 </style>

+ 12 - 0
src/views/Task/mixin.js

@@ -1223,6 +1223,7 @@ export const mixin = { // 导出混入对象
         default:
       }
     },
+    //核保原因
     failureReasonFormatter(row,column){
       let id=row.subOrderId;
       const handleClick = () => {
@@ -1240,6 +1241,17 @@ export const mixin = { // 导出混入对象
       };
       return <el-button size="small" type="text" style="color:#409EFF" onClick={handleClick}>查看</el-button>;
     },
+    //核保通过方式
+    underwritingMethodFormatter(row,column){
+      let underwritingStatus = row.underwritingStatus;
+      switch (underwritingStatus) {
+        case 1:
+          return <el-tag>自动核保</el-tag>
+        case 2:
+          return <el-tag type="success">人工核保</el-tag>
+        default:
+      }
+    },
     isExternalFormatter(row, column) {
       let isExternal = row.isExternal;
       switch (isExternal) {