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

+ 8 - 1
src/http/moudules/task.js

@@ -95,6 +95,13 @@ export const savePolicy = (data) => {
     data
     data
   })
   })
 }
 }
+//待核保/核保退回原因查看接口
+export const viewReason = (subNoOrder) => {
+  return axios({
+    url: '/insurance/underwriting/cause/'+subNoOrder,
+    method: 'get',
+  })
+}
 // 费用清单查询(承保确认时会自动生成费用清单)
 // 费用清单查询(承保确认时会自动生成费用清单)
 export const insFeeFindPage = (data) => {
 export const insFeeFindPage = (data) => {
   return axios({
   return axios({
@@ -1792,4 +1799,4 @@ export const queryPageTelemarketingLinkAgent = (data) => {
     method: "post",
     method: "post",
     data
     data
   })
   })
-}
+}

+ 8 - 0
src/views/Core/components/detailsDialog.vue

@@ -37,6 +37,8 @@
               :class="{ 'li-selected': selectedItem === 'shyj' }" @click="selectItem('shyj')">审核意见</li>
               :class="{ 'li-selected': selectedItem === 'shyj' }" @click="selectItem('shyj')">审核意见</li>
             <li v-if="orderInfo && orderInfo.orderstatus == 3 && !isAuditing"
             <li v-if="orderInfo && orderInfo.orderstatus == 3 && !isAuditing"
               :class="{ 'li-selected': selectedItem === 'dzbd' }" @click="selectItem('dzbd')">保单信息</li>
               :class="{ 'li-selected': selectedItem === 'dzbd' }" @click="selectItem('dzbd')">保单信息</li>
+              <li v-if="['1','4'].includes(orderInfo.orderstatus)"
+              :class="{ 'li-selected': selectedItem === 'dzbd' }" @click="selectItem('hbyy')">核保原因</li>
           </ul>
           </ul>
         </div>
         </div>
         <div style="margin:20px;height: 60vh;overflow-y: auto;width: 100%;">
         <div style="margin:20px;height: 60vh;overflow-y: auto;width: 100%;">
@@ -637,6 +639,12 @@
               </el-table>
               </el-table>
             </div>
             </div>
           </OpenCloseBox>
           </OpenCloseBox>
+          <OpenCloseBox id="hbyy" >
+            <span slot="title">核保原因</span>
+            <div slot="boby" style="font-size:12px;width: 100%" class="FeeEnclosure">
+                <span>{{orderInfo.underwritingReason}}</span>
+            </div>
+          </OpenCloseBox>
         </div>
         </div>
       </div>
       </div>
       <span slot="footer" class="dialog-footer">
       <span slot="footer" class="dialog-footer">

+ 27 - 1
src/views/Task/AgentPoolChannel/AgentPoolChannel1.vue

@@ -50,6 +50,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -93,7 +99,27 @@ export default {
           label:'更新订单',
           label:'更新订单',
           click:(row)=>this.refreshStatus(row)
           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],
   mixins: [mixin],

+ 26 - 1
src/views/Task/AgentPoolChannel/AgentPoolChannel4.vue

@@ -51,6 +51,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -96,7 +102,26 @@ export default {
           },
           },
           click:(row)=>this.updateStatusHuatai(row)
           click:(row)=>this.updateStatusHuatai(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],
   mixins: [mixin],

+ 31 - 4
src/views/Task/CompanyPoolChannel/CompanyPoolChannel1.vue

@@ -51,6 +51,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -94,7 +100,27 @@ export default {
           label:'更新订单',
           label:'更新订单',
           click:(row)=>this.refreshStatus(row)
           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],
   mixins: [mixin],
@@ -107,11 +133,12 @@ export default {
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
       this.optionsStatus = res.data.ddList;
     });
     });
+
   },
   },
 
 
   methods: {
   methods: {
-   
- 
+
+
     getStatusText(code) {
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
     },
@@ -148,7 +175,7 @@ export default {
           }
           }
         });
         });
     },
     },
-  
+
     transmit(row) {
     transmit(row) {
       this.dialogVisible = true;
       this.dialogVisible = true;
       this.transmitValue = "";
       this.transmitValue = "";

+ 31 - 4
src/views/Task/CompanyPoolChannel/CompanyPoolChannel4.vue

@@ -3,10 +3,10 @@
     <retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
     <retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
       @areaSelectChange="areaSelectChange"></retrievalForm>
       @areaSelectChange="areaSelectChange"></retrievalForm>
     <kt-common-table :data="pageResult" :columns="columns" element-loading-text="加载中..." v-loading="loading"
     <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="transmit"
       button3Name="转发" button3Type="text" @handleButton3="transmit"
-      button5Name="详情" button5Type="text" @handleButton5="detailFun" 
-      button4Name="转发记录" button4Type="text" @handleButton4="forwardingRecords" 
+      button5Name="详情" button5Type="text" @handleButton5="detailFun"
+      button4Name="转发记录" button4Type="text" @handleButton4="forwardingRecords"
       :buttonDropdown="dropdownOption"
       :buttonDropdown="dropdownOption"
       :operationWidth="300"></kt-common-table>
       :operationWidth="300"></kt-common-table>
     <el-dialog title="转发" :visible.sync="dialogVisible" width="30%">
     <el-dialog title="转发" :visible.sync="dialogVisible" width="30%">
@@ -53,6 +53,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -99,7 +105,27 @@ export default {
           },
           },
           click:(row)=>this.updateStatusHuatai(row)
           click:(row)=>this.updateStatusHuatai(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],
   mixins: [mixin],
@@ -108,6 +134,7 @@ export default {
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
       this.optionsStatus = res.data.ddList;
     });
     });
+
   },
   },
 
 
   methods: {
   methods: {

+ 26 - 1
src/views/Task/ElectricSales/AgentPoolChannel1.vue

@@ -50,6 +50,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -93,7 +99,26 @@ export default {
           label:'更新订单',
           label:'更新订单',
           click:(row)=>this.refreshStatus(row)
           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],
   mixins: [mixin],

+ 27 - 1
src/views/Task/ElectricSales/AgentPoolChannel4.vue

@@ -51,6 +51,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -96,7 +102,27 @@ export default {
           },
           },
           click:(row)=>this.updateStatusHuatai(row)
           click:(row)=>this.updateStatusHuatai(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],
   mixins: [mixin],

+ 75 - 45
src/views/Task/TaskPoolChannel/TaskPoolChannel1.vue

@@ -3,9 +3,9 @@
     <retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
     <retrievalForm :fields="retrievalFields" @submit="handleFormSubmit" @toggleCollapse="toggleCollapse"
       @areaSelectChange="areaSelectChange"></retrievalForm>
       @areaSelectChange="areaSelectChange"></retrievalForm>
     <kt-common-table :data="pageResult" :columns="columns" element-loading-text="加载中..." v-loading="loading"
     <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-dialog title="转发" :visible.sync="dialogVisible" width="30%">
       转发人:
       转发人:
       <el-select v-model="transmitValue" filterable clearable placeholder="请选择">
       <el-select v-model="transmitValue" filterable clearable placeholder="请选择">
@@ -16,17 +16,15 @@
         <el-button type="primary" size="small" @click="transmitSumit">确 定</el-button>
         <el-button type="primary" size="small" @click="transmitSumit">确 定</el-button>
       </span>
       </span>
     </el-dialog>
     </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">
     <el-dialog :visible.sync="ddgjdialogVisible" width="430px">
       <div slot="title" class=" dialog-title">
       <div slot="title" class=" dialog-title">
         <span>订单轨迹</span>
         <span>订单轨迹</span>
       </div>
       </div>
       <div style="height: 300px; overflow-y: auto">
       <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">
             <template slot="description">
               <span>保险公司:{{ item.insCompany }}</span>
               <span>保险公司:{{ item.insCompany }}</span>
               <span>提交人:{{ item.operator }}</span>
               <span>提交人:{{ item.operator }}</span>
@@ -36,20 +34,25 @@
         </el-steps>
         </el-steps>
       </div>
       </div>
     </el-dialog>
     </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="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="oldOperatorId" align="center" label="转发人" width="200"></el-table-column>
         <el-table-column property="newOperatorId" align="center" label="接收人"></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-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -75,25 +78,46 @@ export default {
         userId: "",
         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],
   mixins: [mixin],
@@ -107,7 +131,7 @@ export default {
   methods: {
   methods: {
 
 
     getStatusText(code) {
     getStatusText(code) {
-      return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
+      return this.optionsStatus.find(val => val.dictValue == code).dictTag;;
     },
     },
 
 
     handleFormSubmit(data) {
     handleFormSubmit(data) {
@@ -248,31 +272,37 @@ export default {
 </script>
 </script>
 
 
 <style scoped lang="scss">
 <style scoped lang="scss">
-/deep/{
+/deep/ {
   .el-step__description.is-finish,
   .el-step__description.is-finish,
   .el-step__head.is-finish {
   .el-step__head.is-finish {
     color: #333;
     color: #333;
     border: none;
     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)
       background: var(--themeColor)
     }
     }
-    .el-step__icon-inner{
+
+    .el-step__icon-inner {
       color: #fff;
       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>
 </style>

+ 27 - 1
src/views/Task/TaskPoolChannel/TaskPoolChannel4.vue

@@ -51,6 +51,12 @@
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
         <el-table-column property="createTime" align="center" label="转发时间"></el-table-column>
       </el-table>
       </el-table>
     </el-dialog>
     </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>
   </div>
 </template>
 </template>
 <script>
 <script>
@@ -96,7 +102,27 @@ export default {
           },
           },
           click:(row)=>this.updateStatusHuatai(row)
           click:(row)=>this.updateStatusHuatai(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],
   mixins: [mixin],

+ 20 - 1
src/views/Task/mixin.js

@@ -246,7 +246,9 @@ export const mixin = { // 导出混入对象
           label: '否',
           label: '否',
           value: true
           value: true
         },
         },
-      ]
+      ],
+      viewReasondialogVisible:false,//核保原因查看
+      viewReasonMsg:"",
     }
     }
   },
   },
   computed: {
   computed: {
@@ -1220,6 +1222,23 @@ export const mixin = { // 导出混入对象
         default:
         default:
       }
       }
     },
     },
+    failureReasonFormatter(row,column){
+      let id=row.subOrderId;
+      const handleClick = () => {
+        this.$api.task.viewReason(id).then((res) => {
+          if (res.code == '200') {
+            this.viewReasonMsg=res.msg;
+            this.viewReasondialogVisible=true;
+          } else {
+            this.$message({
+              type: 'error',
+              message: res.msg,
+            });
+          }
+        });
+      };
+      return <el-button size="small" type="text" style="color:#409EFF" onClick={handleClick}>查看</el-button>;
+    },
     isExternalFormatter(row, column) {
     isExternalFormatter(row, column) {
       let isExternal = row.isExternal;
       let isExternal = row.isExternal;
       switch (isExternal) {
       switch (isExternal) {