Przeglądaj źródła

任务管理去除协议和起保时间,保险公司从订单中拉去

hxl13994548489 2 lat temu
rodzic
commit
dc4131374a
2 zmienionych plików z 9 dodań i 15 usunięć
  1. 7 0
      src/http/moudules/task.js
  2. 2 15
      src/views/Task/mixin.js

+ 7 - 0
src/http/moudules/task.js

@@ -1833,4 +1833,11 @@ export const findListByDockingPerson = (data) => {
     data
   })
 }
+//任务管理查询报价的保险公司
+export const findOrderCompanyList = () => {
+  return axios({
+    url: "/esmInsCompany/findOrderCompanyList",
+    method: "get",
+  })
+}
 

+ 2 - 15
src/views/Task/mixin.js

@@ -46,13 +46,6 @@ export const mixin = { // 导出混入对象
           type: 'select',
           options: []
         },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
         {
           name: 'licenseNo',
           label: '车牌号',
@@ -112,12 +105,6 @@ export const mixin = { // 导出混入对象
           type: 'date',
           list: 'quoteList'
         },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
         {
           name: ["signStartDateStr", "signEndDateStr"],
           label: '签单时间',
@@ -305,7 +292,7 @@ export const mixin = { // 导出混入对象
   created() {
     this.pageRequest.quoteStartDateStr = this.currentDate;
     this.pageRequest.quoteEndDateStr = this.currentDate;
-    this.$api.letter.gainTopList().then(res => {
+    this.$api.task.findOrderCompanyList().then(res => {
       this.companyList = res.data;
     });
     this.$api.dept.findAllTree().then(res => {
@@ -497,7 +484,7 @@ export const mixin = { // 导出混入对象
       });
     },
     CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
+      this.$api.task.findOrderCompanyList().then((res) => {
         this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
       })
     },