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

fix:已核保持缴费转发和状态更新按钮位置交换

test 2 лет назад
Родитель
Сommit
4b5cb248e3

+ 22 - 19
src/views/Task/AgentPoolChannel/AgentPoolChannel2.vue

@@ -3,8 +3,11 @@
     <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" button2Name="报价轨迹" button2Type="text"
+      :showBatchDelete="false" @findPage="findPage" 
+      button3Name="状态更新"
+      button3Type="text"
+      @handleButton3="querystatus"
+       button2Name="报价轨迹" button2Type="text"
       :buttonDropdown="dropdownOption"
       @handleButton2="trajectory" button5Name="详情" button5Type="text" @handleButton5="detailFun" button4Name="转发记录" button4Type="text"
       @handleButton4="forwardingRecords" :operationWidth="300"></kt-common-table>
@@ -94,8 +97,8 @@ export default {
           label:'撤销二维码',
           click:(row)=>this.revokeCode(row)
         },{
-          label:'状态更新',
-          click:(row)=>this.querystatus(row)
+          label: "转发",
+          click: (row) => this.transmit(row),
         }, {
           label:'撤单',
           hide:(row) => {
@@ -125,8 +128,8 @@ export default {
         渤海财险: "getOrderDetailboHai"
       };
       Object.keys(inscompany).forEach(val => {
-        if (val == item.insCompany) {
-          this.$api.letter[inscompany[val]]({ companyId: item.subOrderId }).then(
+        if (val == item.row.insCompany) {
+          this.$api.letter[inscompany[val]]({ companyId: item.row.subOrderId }).then(
             res => {
               if (res.code == 200) {
                 this.$message({
@@ -141,8 +144,8 @@ export default {
           );
         }
       });
-      if (item.insCompany == "永诚财险") {
-        this.$api.letter.orderStatusyongcheng(item.subOrderId).then(res => {
+      if (item.row.insCompany == "永诚财险") {
+        this.$api.letter.orderStatusyongcheng(item.row.subOrderId).then(res => {
           if (res.code == 200) {
             this.$message({
               message: res.msg ? res.msg : "已刷新状态",
@@ -154,13 +157,13 @@ export default {
           }
         });
       }
-      if (item.insCompany == "华泰财险") {
+      if (item.row.insCompany == "华泰财险") {
         let HtApiType =
-          item.apiType == 2
+          item.row.apiType == 2
             ? "pychonverifyPayment"
             : "updateOrderInfoHuatai";
 
-        this.$api.letter[HtApiType](item.apiType == 2 ? { subOrderNo: item.subOrderId } : item.id).then(res => {
+        this.$api.letter[HtApiType](item.row.apiType == 2 ? { subOrderNo: item.row.subOrderId } : item.row.id).then(res => {
           if (res.code == 200) {
             this.$message({
               message: res.msg ? res.msg : "已刷新状态",
@@ -173,12 +176,12 @@ export default {
         });
       }
       if (
-        item.insCompany == "恒邦财险" ||
-        item.insCompany == "众安财险" ||
-        item.insCompany == "中国人寿" ||
-        item.insCompany == "安盛天平" ||
-        item.insCompany == "太平财险" ||
-        item.insCompany == "华农财险"
+        item.row.insCompany == "恒邦财险" ||
+        item.row.insCompany == "众安财险" ||
+        item.row.insCompany == "中国人寿" ||
+        item.row.insCompany == "安盛天平" ||
+        item.row.insCompany == "太平财险" ||
+        item.row.insCompany == "华农财险"
       ) {
         this.$api.letter
           .pychonverifyPayment({ subOrderNo: item.subOrderId })
@@ -250,8 +253,8 @@ export default {
     transmit(row) {
       this.dialogVisible = true;
       this.transmitValue = "";
-      this.orderNo = row.row.orderno
-      this.subOrderId = row.row.subOrderId
+      this.orderNo = row.orderno
+      this.subOrderId = row.subOrderId
       this.$api.task.getCustomerUsers().then(res => {
         if (res.code == 200) {
           this.options = res.data

+ 1 - 1
src/views/Task/CompanyPoolChannel/CompanyPoolChannel2.vue

@@ -189,7 +189,7 @@ export default {
 
   methods: {
     querystatus(item) {
-      console.log(item)
+      
       let inscompany = {
         国任财险: "updateOrderInfoGuoren",
         华泰财险: "updateOrderInfoHuatai",

+ 20 - 18
src/views/Task/TaskPoolChannel/TaskPoolChannel2.vue

@@ -5,7 +5,9 @@
     <kt-common-table :data="pageResult" :columns="columns" element-loading-text="加载中..." v-loading="loading"
       :showBatchDelete="false" @findPage="findPage" 
       :buttonDropdown="dropdownOption"
-      button3Name="转发" button3Type="text" @handleButton3="transmit" 
+      button3Name="状态更新"
+      button3Type="text"
+      @handleButton3="querystatus"
       button2Name="报价轨迹" button2Type="text" @handleButton2="trajectory" 
       button5Name="详情" button5Type="text" @handleButton5="detailFun" 
       button4Name="转发记录" button4Type="text"   @handleButton4="forwardingRecords"
@@ -95,8 +97,8 @@ export default {
           label:'撤销二维码',
           click:(row)=>this.revokeCode(row)
         },{
-          label:'状态更新',
-          click:(row)=>this.querystatus(row)
+          label: "转发",
+          click: (row) => this.transmit(row),
         }, {
           label:'撤单',
           hide:(row) => {
@@ -127,8 +129,8 @@ export default {
         渤海财险: "getOrderDetailboHai"
       };
       Object.keys(inscompany).forEach(val => {
-        if (val == item.insCompany) {
-          this.$api.letter[inscompany[val]]({ companyId: item.subOrderId }).then(
+        if (val == item.row.insCompany) {
+          this.$api.letter[inscompany[val]]({ companyId: item.row.subOrderId }).then(
             res => {
               if (res.code == 200) {
                 this.$message({
@@ -143,8 +145,8 @@ export default {
           );
         }
       });
-      if (item.insCompany == "永诚财险") {
-        this.$api.letter.orderStatusyongcheng(item.subOrderId).then(res => {
+      if (item.row.insCompany == "永诚财险") {
+        this.$api.letter.orderStatusyongcheng(item.row.subOrderId).then(res => {
           if (res.code == 200) {
             this.$message({
               message: res.msg ? res.msg : "已刷新状态",
@@ -156,13 +158,13 @@ export default {
           }
         });
       }
-      if (item.insCompany == "华泰财险") {
+      if (item.row.insCompany == "华泰财险") {
         let HtApiType =
-          item.apiType == 2
+          item.row.apiType == 2
             ? "pychonverifyPayment"
             : "updateOrderInfoHuatai";
 
-        this.$api.letter[HtApiType](item.apiType == 2 ? { subOrderNo: item.subOrderId } : item.id).then(res => {
+        this.$api.letter[HtApiType](item.row.apiType == 2 ? { subOrderNo: item.row.subOrderId } : item.row.id).then(res => {
           if (res.code == 200) {
             this.$message({
               message: res.msg ? res.msg : "已刷新状态",
@@ -175,12 +177,12 @@ export default {
         });
       }
       if (
-        item.insCompany == "恒邦财险" ||
-        item.insCompany == "众安财险" ||
-        item.insCompany == "中国人寿" ||
-        item.insCompany == "安盛天平" ||
-        item.insCompany == "太平财险" ||
-        item.insCompany == "华农财险"
+        item.row.insCompany == "恒邦财险" ||
+        item.row.insCompany == "众安财险" ||
+        item.row.insCompany == "中国人寿" ||
+        item.row.insCompany == "安盛天平" ||
+        item.row.insCompany == "太平财险" ||
+        item.row.insCompany == "华农财险"
       ) {
         this.$api.letter
           .pychonverifyPayment({ subOrderNo: item.subOrderId })
@@ -252,8 +254,8 @@ export default {
     transmit(row) {
       this.dialogVisible = true;
       this.transmitValue = "";
-      this.orderNo = row.row.orderno
-      this.subOrderId = row.row.subOrderId
+      this.orderNo = row.orderno
+      this.subOrderId = row.subOrderId
       this.$api.task.getCustomerUsers().then(res => {
         if (res.code == 200) {
           this.options = res.data

+ 1 - 1
src/views/Task/daikeComponents/KtOrder.vue

@@ -245,7 +245,7 @@
       <el-table-column prop="createtime" label="录单日期" align="center" width="200"></el-table-column>
       <el-table-column prop="insureTime" label="承保确认时间" align="center" width="200"></el-table-column>
       
-      <el-table-column label="操作" align="center"  fixed="right" min-width="100">
+      <el-table-column label="操作" align="center"  fixed="right" min-width="200">
         <template slot-scope="scope">
           <el-button v-if="scope.row.orderstatus != '3'" size="mini" type="text" style="color: #2d4d89"
             @click="CloseEdit(scope.$index, scope.row)">重新报价</el-button>