Przeglądaj źródła

1、修改协议保险公司录入
2、bug处理

@dongkboy 2 lat temu
rodzic
commit
f58780a38d

+ 150 - 196
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -25,7 +25,7 @@
           </el-col>
           <el-col :span="6">
             <el-form-item label="保险公司">
-              <el-cascader v-model="agreement.partnerCompaniesId" :size="overSize" :show-all-levels="false"
+              <el-cascader v-model="agreement.partnerCompaniesId" :size="overSize" :show-all-levels="true"
                 :options="ztreeNodes" :props="optionProps" @change="handleChange" clearable filterable></el-cascader>
             </el-form-item>
           </el-col>
@@ -109,18 +109,18 @@
         <el-table-column prop="endDate" label="协议失效日期" align="center"></el-table-column>
         <el-table-column prop="matchType" label="匹配日期类型" align="center" :formatter="matchtypeFormatter"></el-table-column>
         <el-table-column prop="moneyTime" label="结算周期" align="center" :formatter="moneytimeFormatter"></el-table-column>
-        <el-table-column prop="auditStatus" label="状态"  align="center" >
-          <template  slot-scope="scope">
-            <span  :style="'color:'+agreestatusStyle(scope.row.auditStatus)">
-                {{auditstatusFormatter(scope.row)}}
+        <el-table-column prop="auditStatus" label="状态" align="center">
+          <template slot-scope="scope">
+            <span :style="'color:' + agreestatusStyle(scope.row.auditStatus)">
+              {{ auditstatusFormatter(scope.row) }}
             </span>
           </template>
         </el-table-column>
         <el-table-column prop="updateTime" label="修改时间" align="center" :formatter="updatetimeFormatter"></el-table-column>
         <el-table-column prop="validStatus" label="是否有效" align="center">
           <template slot-scope="scope">
-            <span  :style="{ color: scope.row.validStatus == '1'?'#67c23a':'#909399' }">{{
-              scope.row.validStatus == 1 ? "有效" :scope.row.validStatus == 0 ? "无效":'待审核' }}</span>
+            <span :style="{ color: scope.row.validStatus == '1' ? '#67c23a' : '#909399' }">{{
+              scope.row.validStatus == 1 ? "有效" : scope.row.validStatus == 0 ? "无效" : '待审核' }}</span>
           </template>
         </el-table-column>
         <el-table-column prop="modifiedBy" label="修改人" align="center" width="130"></el-table-column>
@@ -213,7 +213,7 @@
               </el-col>
               <el-col :span="12">
                 <el-form-item label="保险公司" :prop="supplierType == '1' ? '' : 'associationCompaniesId'">
-                  <el-cascader :disabled="supplierType == '1' || operType == 'EDIT'" style="width: 100%"
+                  <el-cascader style="width: 100%" :disabled="supplierType == '1' || operType == 'EDIT'"
                     v-model="agreement.associationCompaniesId" :show-all-levels="false" :options="prodInsurance"
                     :props="optionProps" @change="prodhandleChange" clearable filterable></el-cascader>
                 </el-form-item>
@@ -302,7 +302,8 @@
               </el-col>
               <el-col :span="12">
                 <el-form-item label="险种配置">
-                  <el-select v-model="productFilterList" multiple   placeholder="选择险种" style="width: 100%" @change="productFilterListChange">
+                  <el-select v-model="productFilterList" multiple placeholder="选择险种" style="width: 100%"
+                    @change="productFilterListChange">
                     <el-option v-for="item in InsInsuranceKindoptions" :key="item.dictValue" :label="item.dictTag"
                       :value="item.dictValue"></el-option>
                   </el-select>
@@ -427,25 +428,20 @@
       </el-form>
       <kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="250" :showOperation="true"
         :showBatchDelete="false" :showBatchSettled="false" :showBatchPrint="false" :data="productPageResult"
-        :columns="productColumns" @findPage="productCostFindPage"
-        button2Name="编辑"  permsButton2="agreement:input:productCost" @handleButton2="productUpdate"
-         button3Name="删除"  permsButton3="agreement:input:productCost"  @handleButton3="productDelete"
-         button5Name="轨迹"    @handleButton5="trajectory"
-        button3Icon="">
+        :columns="productColumns" @findPage="productCostFindPage" button2Name="编辑"
+        permsButton2="agreement:input:productCost" @handleButton2="productUpdate" button3Name="删除"
+        permsButton3="agreement:input:productCost" @handleButton3="productDelete" button5Name="轨迹"
+        @handleButton5="trajectory" button3Icon="">
       </kt-common-table>
     </el-dialog>
-     <!-- 订单轨迹 -->
-     <el-dialog :visible.sync="ddgjdialogVisible" width="430px">
+    <!-- 订单轨迹 -->
+    <el-dialog :visible.sync="ddgjdialogVisible" width="430px">
       <div slot="title" class=" dialog-title">
         <span>订单轨迹</span>
       </div>
       <div style="height: 300px; overflow-y: auto">
-        <el-steps direction="vertical" :active="trajectoryTable.length - 1" >
-          <el-step
-            :title="item.readme "
-            :key="item.id"
-            v-for="item in trajectoryTable"
-          >
+        <el-steps direction="vertical" :active="trajectoryTable.length - 1">
+          <el-step :title="item.readme" :key="item.id" v-for="item in trajectoryTable">
             <template slot="description">
               <span>提交人:{{ item.createBy }}</span>
               <div>创建时间:{{ item.createTime }}</div>
@@ -707,51 +703,32 @@
         <el-form ref="queryFormRef" :model="productHistoryRecordForm" label-width="80px">
           <el-col :span="5">
             <el-form-item label="操作人">
-              <el-input
-                clearable
-                style="width:220px"
-                size="small"
-                placeholder="操作人"
-                v-model="productHistoryRecordForm.modifier"
-              ></el-input>
+              <el-input clearable style="width:220px" size="small" placeholder="操作人"
+                v-model="productHistoryRecordForm.modifier"></el-input>
             </el-form-item>
-        </el-col>
-        <el-col :span="5">
+          </el-col>
+          <el-col :span="5">
             <el-form-item label="操作类型">
               <el-select clearable size="small" v-model="productHistoryRecordForm.operatorType" placeholder="请选择">
-              <el-option
-                v-for="item in operationTypeOption"
-                :key="item.value"
-                :label="item.label"
-                :value="item.value">
-              </el-option>
-            </el-select>
+                <el-option v-for="item in operationTypeOption" :key="item.value" :label="item.label" :value="item.value">
+                </el-option>
+              </el-select>
             </el-form-item>
-        </el-col>
-        <el-col :span="5">
+          </el-col>
+          <el-col :span="5">
             <el-form-item label="操作时间">
-              <el-date-picker
-              clearable
-              v-model="productHistoryRecordForm.operatorTime"
-                type="date"
-                size="small"
-                value-format="yyyy-MM-dd"
-                placeholder="选择日期">
+              <el-date-picker clearable v-model="productHistoryRecordForm.operatorTime" type="date" size="small"
+                value-format="yyyy-MM-dd" placeholder="选择日期">
               </el-date-picker>
             </el-form-item>
-        </el-col>
-        <el-col :span="3">
-          <el-form-item label="">
-              <el-button
-                size="small"
-                type="primary"
-                @click="productHistoryCostFindPage"
-                >查询</el-button
-              >
+          </el-col>
+          <el-col :span="3">
+            <el-form-item label="">
+              <el-button size="small" type="primary" @click="productHistoryCostFindPage">查询</el-button>
             </el-form-item>
-        </el-col>
+          </el-col>
         </el-form>
-    </el-row>
+      </el-row>
       <kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="200" :showOperation="true"
         button2Name="详情" @handleButton2="productHistoryDetails" :showBatchDelete="false" :showBatchSettled="false"
         :showBatchPrint="false" :data="productHistoryRecordResult" :columns="productHistoryRecordColumns"
@@ -764,51 +741,33 @@
         <el-form ref="queryFormRef" :model="underwritingRulesHistoryCostFindForm" label-width="80px">
           <el-col :span="5">
             <el-form-item label="操作人">
-              <el-input
-                clearable
-                style="width:220px"
-                size="small"
-                placeholder="操作人"
-                v-model="underwritingRulesHistoryCostFindForm.modifier"
-              ></el-input>
+              <el-input clearable style="width:220px" size="small" placeholder="操作人"
+                v-model="underwritingRulesHistoryCostFindForm.modifier"></el-input>
             </el-form-item>
-        </el-col>
-        <el-col :span="5">
+          </el-col>
+          <el-col :span="5">
             <el-form-item label="操作类型">
-              <el-select clearable size="small" v-model="underwritingRulesHistoryCostFindForm.operatorType" placeholder="请选择">
-              <el-option
-                v-for="item in operationTypeOption"
-                :key="item.value"
-                :label="item.label"
-                :value="item.value">
-              </el-option>
-            </el-select>
+              <el-select clearable size="small" v-model="underwritingRulesHistoryCostFindForm.operatorType"
+                placeholder="请选择">
+                <el-option v-for="item in operationTypeOption" :key="item.value" :label="item.label" :value="item.value">
+                </el-option>
+              </el-select>
             </el-form-item>
-        </el-col>
-        <el-col :span="5">
+          </el-col>
+          <el-col :span="5">
             <el-form-item label="操作时间">
-              <el-date-picker
-              clearable
-              v-model="underwritingRulesHistoryCostFindForm.operatorTime"
-                type="date"
-                size="small"
-                value-format="yyyy-MM-dd"
-                placeholder="选择日期">
+              <el-date-picker clearable v-model="underwritingRulesHistoryCostFindForm.operatorTime" type="date"
+                size="small" value-format="yyyy-MM-dd" placeholder="选择日期">
               </el-date-picker>
             </el-form-item>
-        </el-col>
-        <el-col :span="3">
-          <el-form-item label="">
-              <el-button
-                size="small"
-                type="primary"
-                @click="underwritingRulesHistoryCostFindPage"
-                >查询</el-button
-              >
+          </el-col>
+          <el-col :span="3">
+            <el-form-item label="">
+              <el-button size="small" type="primary" @click="underwritingRulesHistoryCostFindPage">查询</el-button>
             </el-form-item>
-        </el-col>
+          </el-col>
         </el-form>
-    </el-row>
+      </el-row>
       <kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="200" :showOperation="true"
         :showBatchDelete="false" :showBatchSettled="false" :showBatchPrint="false" button2Name="详情"
         @handleButton2="underwritingRulesHistoryDetails" :data="underwritingRulesHistoryRecordResult"
@@ -820,51 +779,32 @@
         <el-form ref="queryFormRef" :model="productpageRequestForm" label-width="80px">
           <el-col :span="5">
             <el-form-item label="操作人">
-              <el-input
-                clearable
-                style="width:220px"
-                size="small"
-                placeholder="操作人"
-                v-model="productpageRequestForm.modifier"
-              ></el-input>
+              <el-input clearable style="width:220px" size="small" placeholder="操作人"
+                v-model="productpageRequestForm.modifier"></el-input>
             </el-form-item>
-        </el-col>
-        <el-col :span="5">
+          </el-col>
+          <el-col :span="5">
             <el-form-item label="操作类型">
               <el-select clearable size="small" v-model="productpageRequestForm.operatorType" placeholder="请选择">
-              <el-option
-                v-for="item in operationTypeOption"
-                :key="item.value"
-                :label="item.label"
-                :value="item.value">
-              </el-option>
-            </el-select>
+                <el-option v-for="item in operationTypeOption" :key="item.value" :label="item.label" :value="item.value">
+                </el-option>
+              </el-select>
             </el-form-item>
-        </el-col>
-        <el-col :span="5">
+          </el-col>
+          <el-col :span="5">
             <el-form-item label="操作时间">
-              <el-date-picker
-              clearable
-              v-model="productpageRequestForm.operatorTime"
-                type="date"
-                size="small"
-                value-format="yyyy-MM-dd"
-                placeholder="选择日期">
+              <el-date-picker clearable v-model="productpageRequestForm.operatorTime" type="date" size="small"
+                value-format="yyyy-MM-dd" placeholder="选择日期">
               </el-date-picker>
             </el-form-item>
-        </el-col>
-        <el-col :span="3">
-          <el-form-item label="">
-              <el-button
-                size="small"
-                type="primary"
-                @click="agreementHistoryCostFindPage"
-                >查询</el-button
-              >
+          </el-col>
+          <el-col :span="3">
+            <el-form-item label="">
+              <el-button size="small" type="primary" @click="agreementHistoryCostFindPage">查询</el-button>
             </el-form-item>
-        </el-col>
+          </el-col>
         </el-form>
-    </el-row>
+      </el-row>
       <kt-common-table :tableHeights="700" :SerialShow="false" :operationWidth="200" :showOperation="true"
         button2Name="详情" @handleButton2="agreementsHistory" :showBatchDelete="false" :showBatchSettled="false"
         :showBatchPrint="false" :data="agreementHistoryRecordResult" :columns="agreementHistoryRecordColumns"
@@ -1047,7 +987,8 @@
               </el-col>
               <el-col :span="12">
                 <el-form-item label="险种配置">
-                  <el-select v-model="productFilterList" multiple   placeholder="选择险种" style="width: 100%" @change="productFilterListChange">
+                  <el-select v-model="productFilterList" multiple placeholder="选择险种" style="width: 100%"
+                    @change="productFilterListChange">
                     <el-option v-for="item in InsInsuranceKindoptions" :key="item.dictValue" :label="item.dictTag"
                       :value="item.dictValue"></el-option>
                   </el-select>
@@ -1155,16 +1096,16 @@ export default {
   },
   data() {
     return {
-      operationTypeOption:[
+      operationTypeOption: [
         {
-          label:'新增',
-          value:'add'
-        },{
-          label:'修改',
-          value:'update'
-        },{
-          label:'删除',
-          value:'delete'
+          label: '新增',
+          value: 'add'
+        }, {
+          label: '修改',
+          value: 'update'
+        }, {
+          label: '删除',
+          value: 'delete'
         },
       ],
       areaOptions: [],
@@ -1215,7 +1156,7 @@ export default {
           minWidth: 1060,
         },
         { prop: "operator", label: "操作人", minWidth: 160 },
-        { prop: "operatorType", label: "操作类型", formatter: this.operatorTypeFormatter  },
+        { prop: "operatorType", label: "操作类型", formatter: this.operatorTypeFormatter },
         { prop: "operatorTime", label: "操作时间", minWidth: 160 },
       ],
       underwritingRulesHistoryRecordColumns: [
@@ -1384,7 +1325,7 @@ export default {
         { prop: "costsEndDate", label: "费用止期", minWidth: 160 },
         { prop: "costsDescription", label: "费用描述", minWidth: 220 },
         { prop: "desc", label: "费用因子描述", minWidth: 520 },
-        { prop: "isAudit", label: "审核状态", minWidth: 160 ,formatter:this.auditTypeFormation},
+        { prop: "isAudit", label: "审核状态", minWidth: 160, formatter: this.auditTypeFormation },
         {
           prop: "jqCarCostsProportion",
           label: "费用比例(交强)",
@@ -1658,7 +1599,7 @@ export default {
 
         { prop: "priorityLevel", label: "方案优先级", minWidth: 120 },
       ],
-      productFilterList:[],
+      productFilterList: [],
       labelWidth: "160px",
       factorDialogTitle: "承保规则录入", //配置因子弹框标题
       factorType: "1", //1 费用因子  2 核保因子
@@ -2023,7 +1964,7 @@ export default {
       approvalStatusoptions: [], //审批状态
       productsTypeoptions: [], //车险产品字典
       productsTypeRuleoptions: [], //车险产品字典(不含费用的兜底配置)
-      InsInsuranceKindoptions:[],//险种配置
+      InsInsuranceKindoptions: [],//险种配置
       //操作符字典
       operator: { "pageNum": 1, "pageSize": 10, "columnFilters": { "label": { "name": "label", "value": "agreement_operator" } } },
       operatorlist: [],
@@ -2055,12 +1996,12 @@ export default {
       productHistoryRecordResult: [],
       underwritingRulesHistoryRecordDialogVisible: false,
       underwritingRulesHistoryRecordResult: [],
-      productpageRequestForm:{},
-      productHistoryRecordForm:{},
-      underwritingRulesHistoryCostFindForm:{},
+      productpageRequestForm: {},
+      productHistoryRecordForm: {},
+      underwritingRulesHistoryCostFindForm: {},
       // 轨迹
-      ddgjdialogVisible:false,
-      trajectoryTable:[]
+      ddgjdialogVisible: false,
+      trajectoryTable: []
     };
   },
   computed: {
@@ -2152,8 +2093,8 @@ export default {
     this.findLeftTreeData();
   },
   methods: {
-    agreestatusStyle(val){
-        switch (val) {
+    agreestatusStyle(val) {
+      switch (val) {
         case 0:
           return '#409eff'
         case 1:
@@ -2165,8 +2106,8 @@ export default {
       }
     },
     // 费用因子轨迹
-    trajectory(item){
-        this.$api.insCompany.trajectoryGet({costsId:item.row.id}).then((res) => {
+    trajectory(item) {
+      this.$api.insCompany.trajectoryGet({ costsId: item.row.id }).then((res) => {
         if (res.code == 200 && res.data.length > 0) {
           this.ddgjdialogVisible = true;
           this.trajectoryTable = res.data;
@@ -2178,9 +2119,9 @@ export default {
         }
       });
     },
-    productFilterListChange(e){
-      let productstring=e.join(",")
-      this.agreement.productsCode=productstring;
+    productFilterListChange(e) {
+      let productstring = e.join(",")
+      this.agreement.productsCode = productstring;
     },
     customTool(ids) {
       this.$confirm('是否确认提交?', '提示', {
@@ -2243,9 +2184,9 @@ export default {
       this.$api.insCompany.agreementhistoryGetDetail(row.batch).then((res) => {
         if (res.code == '200') {
           this.agreementsHistoryDialogVisible = true;
-          if(res.data.ptlAgreementHistory.productsCode){
-            let productsCodeList=res.data.ptlAgreementHistory.productsCode.split(",");
-          this.productFilterList=productsCodeList;
+          if (res.data.ptlAgreementHistory.productsCode) {
+            let productsCodeList = res.data.ptlAgreementHistory.productsCode.split(",");
+            this.productFilterList = productsCodeList;
           }
           this.agreementsHistoryInfo.agreement = res.data.ptlAgreementHistory;
           this.agreementsHistoryInfo.attributionform = res.data.ptlAgreementAttributionHistory ? res.data.ptlAgreementAttributionHistory : '{}';
@@ -2417,7 +2358,7 @@ export default {
       }
       this.productpageRequest["agreementId"] = this.agreementId;
       this.$api.insCompany
-        .agreementHistory({...this.productpageRequest,...this.productpageRequestForm})
+        .agreementHistory({ ...this.productpageRequest, ...this.productpageRequestForm })
         .then((res) => {
           this.agreementHistoryRecordResult = res.data;
         });
@@ -2442,7 +2383,7 @@ export default {
       }
       this.productpageRequest["agreementId"] = this.agreementId;
       this.$api.insCompany
-        .productCostHistory({...this.productpageRequest,...this.productHistoryRecordForm})
+        .productCostHistory({ ...this.productpageRequest, ...this.productHistoryRecordForm })
         .then((res) => {
           this.productHistoryRecordResult = res.data;
         });
@@ -2477,7 +2418,7 @@ export default {
       }
       this.productpageRequest["agreementId"] = this.agreementId;
       this.$api.insCompany
-        .undwrtRulesHistoryPage({...this.productpageRequest,...this.underwritingRulesHistoryCostFindForm})
+        .undwrtRulesHistoryPage({ ...this.productpageRequest, ...this.underwritingRulesHistoryCostFindForm })
         .then((res) => {
           this.underwritingRulesHistoryRecordResult = res.data;
         });
@@ -2705,6 +2646,7 @@ export default {
       });
     },
     agreementTypeChange(value) {
+      console.log(value)
       this.agreement.agreementType = value;
     },
     //授权树节点过滤
@@ -2734,9 +2676,9 @@ export default {
       this.$api.insCompany.agreementId(row.id).then((res) => {
         if (res.code == "200") {
           let scheme = res.data.scheme;
-          if(res.data.agreement.productsCode){
-            let productsCodeList=res.data.agreement.productsCode.split(",");
-          this.productFilterList=productsCodeList;
+          if (res.data.agreement.productsCode) {
+            let productsCodeList = res.data.agreement.productsCode.split(",");
+            this.productFilterList = productsCodeList;
           }
           this.agreement = res.data.agreement; //协议信息
           this.attributionform = res.data.ptlAgreementAttribution;
@@ -3037,10 +2979,9 @@ export default {
           return '删除'
       }
     },
-    auditTypeFormation(row){
-      for(var i=0;i<this.expenseAuditlist.length;i++)
-      {
-        if(row.isAudit == parseInt(this.expenseAuditlist[i].value)){
+    auditTypeFormation(row) {
+      for (var i = 0; i < this.expenseAuditlist.length; i++) {
+        if (row.isAudit == parseInt(this.expenseAuditlist[i].value)) {
           return this.expenseAuditlist[i].label;
         }
       }
@@ -3117,7 +3058,7 @@ export default {
     },
     //-- formatter end--
     // 选择合作公司Start
-    handleChange(value) {
+    handleChange(value, selectedData) {
       if (!value) {
         //没数
         return;
@@ -3125,13 +3066,14 @@ export default {
       this.attributionform.apiType = ""; //每次更改公司选择后清除保险公司账号配置
       this.attributionform.fields = []; //每次更改公司选择后清除保险公司账号配置参数
       this.agreement.partnerCompaniesId = value[value.length - 1];
+      this.agreement.associationCompaniesId = value[0];
       if (this.supplierType == "1") {
         this.agreement.agreementType = "1";
       } else if (this.supplierType == "0") {
         this.agreement.agreementType = "2";
       }
       //协议编码,新增时可能为空
-      let agreementId = this.agreementId;
+      // let agreementId = this.agreementId;
       // //保险公司代码  协议归属渠道时,取保险公司代码   协议归属财险时,取合作机构代码
       // let compangId = this.agreement.associationCompaniesId
       //   ? this.agreement.associationCompaniesId
@@ -3141,7 +3083,7 @@ export default {
     prodhandleChange(value) {
       this.agreement.associationCompaniesId = value[value.length - 1];
       //协议编码,新增时可能为空
-      let agreementId = this.agreementId;
+      // let agreementId = this.agreementId;
       //保险公司代码  协议归属渠道时,取保险公司代码   协议归属财险时,取合作机构代码
       // let compangId = this.agreement.associationCompaniesId
       //   ? this.agreement.associationCompaniesId
@@ -3340,42 +3282,54 @@ export default {
     }
   }
 
-  .el-step__title,.el-step__icon-inner{
-    color:var(--themeColor)
+  .el-step__title,
+  .el-step__icon-inner {
+    color: var(--themeColor)
   }
-  .el-step__description.is-finish, .el-step__head.is-finish{
+
+  .el-step__description.is-finish,
+  .el-step__head.is-finish {
     color: #333;
-    border:none
+    border: none
   }
-  .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);
   }
-  .el-step__icon.is-text{
+
+  .el-step__icon.is-text {
     font-size: 22px;
   }
-  .el-step__icon{
-    width:28px;
-    height:28px;
+
+  .el-step__icon {
+    width: 28px;
+    height: 28px;
   }
-  .el-step.is-vertical .el-step__main{
-    padding-left:20px
+
+  .el-step.is-vertical .el-step__main {
+    padding-left: 20px
   }
-  .el-step__line,.el-step.is-vertical .el-step__line{
+
+  .el-step__line,
+  .el-step.is-vertical .el-step__line {
     left: 14px;
-    background-color:#E2E5EB;
-    width:1px
+    background-color: #E2E5EB;
+    width: 1px
   }
-  .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)
     }
-    .el-step__icon-inner{
+
+    .el-step__icon-inner {
       color: #fff;
     }
   }

+ 1 - 165
src/views/Task/AgentPoolChannel/AgentPoolChannel.vue

@@ -54,123 +54,7 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
 
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +70,16 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
+
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

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

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,63 +69,14 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
-      return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
-    },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
+      return this.optionsStatus.find(val=>val.dictValue==code).dictTag;
     },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)

+ 0 - 165
src/views/Task/AgentPoolChannel/AgentPoolChannel2.vue

@@ -54,123 +54,7 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
 
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +70,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

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

@@ -54,123 +54,7 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
 
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +70,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 0 - 166
src/views/Task/AgentPoolChannel/AgentPoolChannel4.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -185,64 +68,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

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

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,16 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
+
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 1 - 162
src/views/Task/CompanyPoolChannel/CompanyPoolChannel1.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -196,54 +79,10 @@ export default {
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
+
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

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

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 1 - 166
src/views/Task/CompanyPoolChannel/CompanyPoolChannel3.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,16 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
+
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 0 - 166
src/views/Task/CompanyPoolChannel/CompanyPoolChannel4.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 0 - 166
src/views/Task/TaskPoolChannel/TaskPoolChannel.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,30 +69,12 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType");
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;
@@ -224,37 +89,6 @@ export default {
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
 
     queryStaffInfo() {
       this.findPage();

+ 2 - 166
src/views/Task/TaskPoolChannel/TaskPoolChannel1.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,17 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
+
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
+
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 1 - 166
src/views/Task/TaskPoolChannel/TaskPoolChannel2.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,16 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
+
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 0 - 166
src/views/Task/TaskPoolChannel/TaskPoolChannel3.vue

@@ -54,123 +54,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +69,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 0 - 167
src/views/Task/TaskPoolChannel/TaskPoolChannel4.vue

@@ -45,7 +45,6 @@ import CommonUtil from "@/utils/comutil.js";
 import detailsDialog from "@/views/Core/components/detailsDialog.vue";
 import retrievalForm from "@/components/Form/retrievalForm.vue";
 import { mixin } from "../mixin";
-
 export default {
   components: {
     KtCommonTable,
@@ -54,123 +53,6 @@ export default {
   },
   data() {
     return {
-      retrievalFields: [
-        {
-          name: 'provinceId',
-          label: '省机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'cityId',
-          label: '市机构名称',
-          type: 'select',
-          options: []
-
-        },
-        {
-          name: 'countyId',
-          label: '区机构名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'houseId',
-          label: '门店名称',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'taskNo',
-          label: '任务池号',
-          type: 'input',
-
-        },
-        {
-          name: 'subOrderId',
-          label: '订单号',
-          type: 'input',
-
-        },
-        {
-          name: 'companyId',
-          label: '保险公司',
-          type: 'select',
-          options: []
-        },
-        {
-          name: 'agreeId',
-          label: '协议选择',
-          type: 'select',
-          options: [],
-          optionsIabel: "agreementName",
-        },
-        {
-          name: 'licenseNo',
-          label: '车牌号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'frameNo',
-          label: '车架号',
-          type: 'input',
-          Retained: false,
-
-        },
-        {
-          name: 'engineNo',
-          label: '发动机号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'riskCode',
-          label: '投保险种',
-          type: 'select',
-          Retained: false,
-          options: [],
-          optionsIabel: "dictTag",
-          optionsValue: "dictTag",
-        },
-        {
-          name: 'operatorId',
-          label: '代理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'operatorName',
-          label: '代理人姓名',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'auditId',
-          label: '受理人工号',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: 'insuredName',
-          label: '被保险人',
-          type: 'input',
-          Retained: false,
-        },
-        {
-          name: ["quoteStartDateStr", "quoteEndDateStr"],
-          label: '报价时间',
-          type: 'date',
-          list: 'quoteList'
-        },
-        {
-          name: ["attachStartDateStr", "attachEndDateStr"],
-          label: '起保时间',
-          type: 'date',
-          list: 'attachList'
-        },
-      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20,
@@ -186,64 +68,15 @@ export default {
   mixins: [mixin],
   created() {
     this.pageRequest.userId = Cookies.get("user");
-    this.areaqueryList(1, 99, "provinceId");
-    this.CompanyList();
-    this.agrmentlist();
-    this.getDicType("productsType"); //车船税类型
     this.$api.insCompany.dicType("insOrderStatus").then((res) => {
       this.optionsStatus = res.data.ddList;
     });
   },
 
   methods: {
-    areaSelectChange(obj) {
-      switch (obj.filed) {
-        case 'provinceId':
-          this.areaqueryList(2, obj.id, 'cityId')
-          break;
-        case 'cityId':
-          this.areaqueryList(3, obj.id, 'countyId')
-          break;
-        case 'countyId':
-          this.areaqueryList(4, obj.id, 'houseId')
-          break;
-        default:
-      }
-    },
     getStatusText(code) {
       return this.optionsStatus.find(val=>val.dictValue==code).dictTag;;
     },
-    //获取机构数据
-    areaqueryList(level, parentId, filed) {
-      this.$api.task.queryListByParentId(level, parentId).then((res) => {
-        this.selectDataMatching(this.retrievalFields, filed, res.data);
-      });
-    },
-    CompanyList() {
-      this.$api.letter.gainTopList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
-      })
-    },
-    agrmentlist() {
-      this.$api.task.findPtlAgreementList().then((res) => {
-        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
-      });
-    },
-    getDicType(type) {
-      this.$api.insCompany.dicType(type).then(res => {
-        if (res.code == 200) {
-          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
-        }
-      });
-    },
-    //下拉数据匹配
-    selectDataMatching(files, name, data) {
-      files.forEach(filed => {
-        if (filed.name == name) {
-          filed.options = data;
-        }
-      })
-    },
     handleFormSubmit(data) {
       let obj = Object.assign(this.pageRequest, data)
       this.pageRequest = obj;

+ 31 - 31
src/views/Task/daikeComponents/KtLetter.vue

@@ -3708,7 +3708,7 @@ export default {
 
         //--获取影像信息--
         _this.imageEcho(this.quoteno);
-        this.commpanyList()
+        // this.commpanyList()
         //--显示影像按钮--
         _this.imageUploadShow = true;
       } else {
@@ -4354,36 +4354,36 @@ export default {
 
     },
     //获取保险公司列表
-    commpanyList() {
-      this.$api.letter.gainAllowQuoteList("").then(res => {
-        res.data.map(ele => {
-          ele["result"] = {};
-          ele["quoteCode"] = 0;
-          ele["checked"] = false;
-          ele["msg"] = "";
-          ele["lastYearMsg"] = "";
-          ele["agreementId"] = "";
-          ele["apiType"] = "";
-          ele["orderstatus"] = 0;
-          ele.coefficient = "";
-          // ele.agreementId = ele.agreement[0].id;
-          ele.apiType = ele.agreement[0].apiType;
-          ele.underwritingDescription =
-            ele.agreement[0].underwritingDescription;
-        });
-        if (this.$route.query.data) {
-          res.data.forEach((val, index) => {
-            this.$route.query.data.insAreaCompanyEditingDtos.forEach(ele => {
-              if (val.namesimple == ele.inscompany) {
-                res.data[index].quoteCode = 200;
-                res.data[index].result = ele;
-              }
-            });
-          });
-        }
-        this.totalCompanyList = res.data;
-      });
-    },
+    // commpanyList() {
+    //   this.$api.letter.gainAllowQuoteList("").then(res => {
+    //     res.data.map(ele => {
+    //       ele["result"] = {};
+    //       ele["quoteCode"] = 0;
+    //       ele["checked"] = false;
+    //       ele["msg"] = "";
+    //       ele["lastYearMsg"] = "";
+    //       ele["agreementId"] = "";
+    //       ele["apiType"] = "";
+    //       ele["orderstatus"] = 0;
+    //       ele.coefficient = "";
+    //       // ele.agreementId = ele.agreement[0].id;
+    //       ele.apiType = ele.agreement[0].apiType;
+    //       ele.underwritingDescription =
+    //         ele.agreement[0].underwritingDescription;
+    //     });
+    //     if (this.$route.query.data) {
+    //       res.data.forEach((val, index) => {
+    //         this.$route.query.data.insAreaCompanyEditingDtos.forEach(ele => {
+    //           if (val.namesimple == ele.inscompany) {
+    //             res.data[index].quoteCode = 200;
+    //             res.data[index].result = ele;
+    //           }
+    //         });
+    //       });
+    //     }
+    //     this.totalCompanyList = res.data;
+    //   });
+    // },
     Payment(id, item) {
       this.carcode(id, item);
     },

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

@@ -2,6 +2,123 @@ import CommonUtil from "@/utils/comutil.js";
 export const mixin = { // 导出混入对象
   data() {
     return {
+      retrievalFields: [
+        {
+          name: 'provinceId',
+          label: '省机构名称',
+          type: 'select',
+          options: []
+        },
+        {
+          name: 'cityId',
+          label: '市机构名称',
+          type: 'select',
+          options: []
+
+        },
+        {
+          name: 'countyId',
+          label: '区机构名称',
+          type: 'select',
+          options: []
+        },
+        {
+          name: 'houseId',
+          label: '门店名称',
+          type: 'select',
+          options: []
+        },
+        {
+          name: 'taskNo',
+          label: '任务池号',
+          type: 'input',
+
+        },
+        {
+          name: 'subOrderId',
+          label: '订单号',
+          type: 'input',
+
+        },
+        {
+          name: 'companyId',
+          label: '保险公司',
+          type: 'select',
+          options: []
+        },
+        {
+          name: 'agreeId',
+          label: '协议选择',
+          type: 'select',
+          options: [],
+          optionsIabel: "agreementName",
+        },
+        {
+          name: 'licenseNo',
+          label: '车牌号',
+          type: 'input',
+          Retained: false,
+
+        },
+        {
+          name: 'frameNo',
+          label: '车架号',
+          type: 'input',
+          Retained: false,
+
+        },
+        {
+          name: 'engineNo',
+          label: '发动机号',
+          type: 'input',
+          Retained: false,
+        },
+        {
+          name: 'riskCode',
+          label: '投保险种',
+          type: 'select',
+          Retained: false,
+          options: [],
+          optionsIabel: "dictTag",
+          optionsValue: "dictTag",
+        },
+        {
+          name: 'operatorId',
+          label: '代理人工号',
+          type: 'input',
+          Retained: false,
+        },
+        {
+          name: 'operatorName',
+          label: '代理人姓名',
+          type: 'input',
+          Retained: false,
+        },
+        {
+          name: 'auditId',
+          label: '受理人工号',
+          type: 'input',
+          Retained: false,
+        },
+        {
+          name: 'insuredName',
+          label: '被保险人',
+          type: 'input',
+          Retained: false,
+        },
+        {
+          name: ["quoteStartDateStr", "quoteEndDateStr"],
+          label: '报价时间',
+          type: 'date',
+          list: 'quoteList'
+        },
+        {
+          name: ["attachStartDateStr", "attachEndDateStr"],
+          label: '起保时间',
+          type: 'date',
+          list: 'attachList'
+        },
+      ],
       pageRequest: {
         pageNum: 1,
         pageSize: 20
@@ -46,8 +163,57 @@ export const mixin = { // 导出混入对象
       this.institutionOptions = res.data;
     });
     this.ImageList();
+    this.areaqueryList(1, 99, "provinceId");
+    this.CompanyList();
+    this.agrmentlist();
+    this.getDicType("productsType"); //车船税类型
   },
   methods: {
+    areaSelectChange(obj) {
+      switch (obj.filed) {
+        case 'provinceId':
+          this.areaqueryList(2, obj.id, 'cityId')
+          break;
+        case 'cityId':
+          this.areaqueryList(3, obj.id, 'countyId')
+          break;
+        case 'countyId':
+          this.areaqueryList(4, obj.id, 'houseId')
+          break;
+        default:
+      }
+    },
+      //下拉数据匹配
+      selectDataMatching(files, name, data) {
+        files.forEach(filed => {
+          if (filed.name == name) {
+            filed.options = data;
+          }
+        })
+      },
+    //获取机构数据
+    areaqueryList(level, parentId, filed) {
+      this.$api.task.queryListByParentId(level, parentId).then((res) => {
+        this.selectDataMatching(this.retrievalFields, filed, res.data);
+      });
+    },
+    CompanyList() {
+      this.$api.letter.gainTopList().then((res) => {
+        this.selectDataMatching(this.retrievalFields, 'companyId', res.data);
+      })
+    },
+    agrmentlist() {
+      this.$api.task.findPtlAgreementList().then((res) => {
+        this.selectDataMatching(this.retrievalFields, 'agreeId', res.data);
+      });
+    },
+    getDicType(type) {
+      this.$api.insCompany.dicType(type).then(res => {
+        if (res.code == 200) {
+          this.selectDataMatching(this.retrievalFields, 'riskCode', res.data.ddList);
+        }
+      });
+    },
     cpolicy(){
       this.oldfileList = [];
       let businessList = []