소스 검색

Merge branch 'dev' of http://www.baoxianzhanggui.com:8090/sxzgd/vue-insagent-pc into dev

lihongxiao 2 년 전
부모
커밋
8a50f6e723

+ 2 - 2
config/dev.env.js

@@ -9,9 +9,9 @@ module.exports = merge(prodEnv, {
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
-  // BASE_URL: '"http:///192.168.0.106:8080/"',//屈晨
+  BASE_URL: '"http:///192.168.0.106:8080/"',//屈晨
   // BASE_URL: '"http:///192.168.0.253:8080/"',//田智
-  BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
+  // BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
   // BASE_URL: '"http://192.168.1.101:8080/"',
   // BASE_URL: '"http:///192.168.0.22:8080/"',//郝宇
   // BASE_URL: '"http:///192.168.0.103:8080/"',//

+ 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;
     }
   }

+ 306 - 319
src/views/FinancialManagement/ExpenseManagement/ViewExpenseReport.vue

@@ -1,49 +1,32 @@
 <template>
-    <div class="table_btnbox">
-        <!-- 搜索 -->
-        <el-row class="top">
-            <el-form v-model="queryFrom" size="small" label-width="120px" class="query-form">
-                <el-form-item label="部门" prop="applySector">
-                    <el-input v-model="queryFrom.applySector" placeholder="请输入部门" class="widths" clearable></el-input>
-                </el-form-item>
-                <el-form-item label="支出账户" prop="company">
-                    <el-input v-model="queryFrom.company" placeholder="请输入支出账户" class="widths" clearable></el-input>
-                </el-form-item>
-                <el-form-item label="申请日期" prop="applyTime">
-                    <el-date-picker v-model="queryFrom.applyTime" type="daterange" range-separator="至"
-                        start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd">
-                    </el-date-picker>
-                </el-form-item>
-                <el-form-item label="收款账户" prop="collectionMessage">
-                    <el-select
-                    v-model="queryFrom.collectionMessage"
-                    filterable
-                    placeholder="收款账户"
-                    >
-                    <el-option
-                        v-for="(item, index) in collectionData"
-                        :key="item.accountId + 'aa' + index"
-                        :label="item.name"
-                        :value="item.bankCardNum"
-                    >
-                  </el-option>
-                </el-select>
-                </el-form-item> 
-                <el-form-item label="费用类型" prop="fundUse">
-                    <el-select
-                    v-model="queryFrom.fundUse"
-                    filterable
-                    placeholder="费用类型"
-                    >
-                    <el-option
-                        v-for="(item, index) in fundFlowData"
-                        :key="index"
-                        :label="item.category"
-                        :value="item.category"
-                    >
-                  </el-option>
-                </el-select>
-                    <!-- <el-cascader
+  <div class="table_btnbox">
+    <!-- 搜索 -->
+    <el-row class="top">
+      <el-form v-model="queryFrom" size="small" label-width="120px" class="query-form">
+        <el-form-item label="部门" prop="applySector">
+          <el-input v-model="queryFrom.applySector" placeholder="请输入部门" class="widths" clearable></el-input>
+        </el-form-item>
+        <el-form-item label="支出账户" prop="company">
+          <el-input v-model="queryFrom.company" placeholder="请输入支出账户" class="widths" clearable></el-input>
+        </el-form-item>
+        <el-form-item label="转账日期" prop="createTime">
+          <el-date-picker v-model="createdate" type="daterange" range-separator="至" start-placeholder="开始日期"
+            end-placeholder="结束日期" value-format="yyyy-MM-dd" @change="createTimeChange">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="收款账户" prop="collectionMessage">
+          <el-select v-model="queryFrom.collectionMessage" filterable clearable placeholder="收款账户">
+            <el-option v-for="(item, index) in collectionData" :key="item.accountId + 'aa' + index" :label="item.name"
+              :value="item.name">
+            </el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="费用类型" prop="fundUse">
+          <el-select v-model="queryFrom.fundUse" filterable clearable placeholder="费用类型">
+            <el-option v-for="(item, index) in fundFlowData" :key="index" :label="item.category" :value="item.category">
+            </el-option>
+          </el-select>
+          <!-- <el-cascader
                     v-model="queryFrom.fundUse"
                     :show-all-levels="true"
                     :clearable="true"
@@ -59,25 +42,23 @@
                         checkStrictly: false,
                     }"
                     ></el-cascader> -->
-                </el-form-item> 
-                 <el-form-item label="支出金额" prop="applyAmount">
-                    <el-input v-model="queryFrom.applyAmount" placeholder="请输入支出账户" class="widths" clearable></el-input>
-                </el-form-item>
-                <el-form-item>
-                    <kt-button label="查询" type="primary" 
-                        @click="queryStaffInfo" />
-                </el-form-item>
-            </el-form>
-        </el-row>
-        <kt-button label="批量导出" type="primary" :disabled="!this.expentList.length"
-            @click="expendDataup" />
-        <!-- 表格 -->
-        <kt-common-table :operationWidth="operationWidth" class="ktTable"
-        :showBatchPrint="true"  ref="dataTable" :data="pageResult" :columns="columns"
-          :showOperation="false" @findPage="findPage"
-             @selectionChange="selectionChange"></kt-common-table>
-   
-    </div>
+        </el-form-item>
+        <el-form-item label="支出金额" prop="applyAmount">
+          <el-input v-model="queryFrom.applyAmount" placeholder="请输入支出金额" class="widths" clearable></el-input>
+        </el-form-item>
+        <el-form-item>
+          <kt-button label="查询" type="primary" @click="queryStaffInfo" />
+          <kt-button label="批量导出" type="primary" :disabled="!this.expentList.length" @click="expendDataup" />
+        </el-form-item>
+      </el-form>
+    </el-row>
+
+    <!-- 表格 -->
+    <kt-common-table :operationWidth="operationWidth" class="ktTable" :showBatchPrint="true" ref="dataTable"
+      :data="pageResult" :columns="columns" :showOperation="false" @findPage="findPage"
+      @selectionChange="selectionChange"></kt-common-table>
+
+  </div>
 </template>
 <script>
 import ExpenseComponent from "./ExpenseComponent.vue"; //新增账户信息弹框
@@ -87,131 +68,141 @@ import KtButton from "@/views/Core/KtButton"; // 按钮权限组件
 import KtCommonTable from "@/views/Core/KtCommonTable.vue"; //表格组件
 import { toChies, convertPositive } from "../../../utils/moneyTransition";
 export default {
-    name: "ExpenseApplyFor",
-    components: { KtCommonTable, ExpenseComponent, KtButton },
-    data() {
-        //开票金额自定义校验
-        let applyAmountRules = (rule, value, callback) => {
-            if (value == 0) {
-                callback(new Error("申请金额不能小于0"));
-            } else {
-                callback();
-            }
-        };
-        return {
-            formDisable: false, //资金申请form表单是否可选状态
-            expentList: [], //批量导出数据
-            expenseaaa: true,
-            expendTitle: "新增资金使用申请单", //弹框标题
-            operationWidth: 250, //操作单元格宽度
-            queryFrom: {}, //查询form表单
-            pageRequest: {
-                // 列表查询条件
-                pageNum: 1,
-                pageSize: 10,
+  name: "ExpenseApplyFor",
+  components: { KtCommonTable, ExpenseComponent, KtButton },
+  data() {
+    //开票金额自定义校验
+    let applyAmountRules = (rule, value, callback) => {
+      if (value == 0) {
+        callback(new Error("申请金额不能小于0"));
+      } else {
+        callback();
+      }
+    };
+    return {
+      createdate: [],
+      formDisable: false, //资金申请form表单是否可选状态
+      expentList: [], //批量导出数据
+      expenseaaa: true,
+      expendTitle: "新增资金使用申请单", //弹框标题
+      operationWidth: 250, //操作单元格宽度
+      queryFrom: {}, //查询form表单
+      pageRequest: {
+        // 列表查询条件
+        pageNum: 1,
+        pageSize: 10,
+      },
+      dialogFormVisible: false, //账户信息弹出框状态
+      title: "新增账户信息", //账户信息弹框标题
+      expenseDialog: false, //申请单显示状态
+      pageResult: {
+        //表格参数
+        pageNum: 1,
+        pageSize: 10,
+        content: [],
+      },
+      columns: [
+        // 申请列表表格头部
+        {
+          prop: "createTime",
+          label: "转账日期",
+          sortable: false,
+        },
+        {
+          prop: "fundUse",
+          label: "费用类型",
+          sortable: false,
+        },
+        {
+          prop: "remark",
+          label: "摘要",
+          sortable: false,
+        },
+        {
+          prop: "applyAmount",
+          label: "支出金额",
+          sortable: false,
+        },
+
+        {
+          prop: "applySector",
+          label: "支出部门",
+          sortable: false,
+        },
+        {
+          prop: "company",
+          label: "支出账户",
+          sortable: false,
+        },
+        {
+          prop: "collectionMessage",
+          label: "收款方",
+          sortable: false,
+        },
+
+      ],
+      pickerOptions: {
+        //日期快捷键
+        disabledDate(time) {
+          return time.getTime() > Date.now();
+        },
+        shortcuts: [
+          {
+            text: "今天",
+            onClick(picker) {
+              picker.$emit("pick", new Date());
             },
-            dialogFormVisible: false, //账户信息弹出框状态
-            title: "新增账户信息", //账户信息弹框标题
-            expenseDialog: false, //申请单显示状态
-            pageResult: {
-                //表格参数
-                pageNum: 1,
-                pageSize: 10,
-                content: [],
+          },
+          {
+            text: "昨天",
+            onClick(picker) {
+              const date = new Date();
+              date.setTime(date.getTime() - 3600 * 1000 * 24);
+              picker.$emit("pick", date);
             },
-            columns: [
-                // 申请列表表格头部
-                {
-                    prop: "applyTime",
-                    label: "申请日期",
-                    sortable: false,
-                },
-                {
-                    prop: "fundUse",
-                    label: "费用类型",
-                    sortable: false,
-                },
-                {
-                    prop: "remark",
-                    label: "摘要",
-                    sortable: false,
-                },
-                {
-                    prop: "applyAmount",
-                    label: "支出金额",
-                    sortable: false,
-                },
-
-                {
-                    prop: "applySector",
-                    label: "支出部门",
-                    sortable: false,
-                },
-                {
-                    prop: "company",
-                    label: "支出账户",
-                    sortable: false,
-                },
-                {
-                    prop: "collectionMessage",
-                    label: "收款方",
-                    sortable: false,
-                },
-               
-            ],
-            pickerOptions: {
-                //日期快捷键
-                disabledDate(time) {
-                    return time.getTime() > Date.now();
-                },
-                shortcuts: [
-                    {
-                        text: "今天",
-                        onClick(picker) {
-                            picker.$emit("pick", new Date());
-                        },
-                    },
-                    {
-                        text: "昨天",
-                        onClick(picker) {
-                            const date = new Date();
-                            date.setTime(date.getTime() - 3600 * 1000 * 24);
-                            picker.$emit("pick", date);
-                        },
-                    },
-                    {
-                        text: "一周前",
-                        onClick(picker) {
-                            const date = new Date();
-                            date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
-                            picker.$emit("pick", date);
-                        },
-                    },
-                ],
+          },
+          {
+            text: "一周前",
+            onClick(picker) {
+              const date = new Date();
+              date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
+              picker.$emit("pick", date);
             },
-            payment_methodsData: [], //支付方式字典数据
-            affiliationData: [], //归属字典数据
-            affiliationData2: [], //归属字典数据
-            collectionData: [], //收款单位信息数据
-            innerCollectionData: [], //内部账户单位信息数据
-            account_qualityData: [], //账户性质字典
-            fundFlowData: [], //资金用途字典数据
-            companyItem: {}, //选择单位整条数据
-            collectionMessageItem: {}, //选择收款单位整条数据
-            expendDataId: "", //修改时该条数据id
-            buttonValue: "导 出", //弹框提交按钮内容
+          },
+        ],
+      },
+      payment_methodsData: [], //支付方式字典数据
+      affiliationData: [], //归属字典数据
+      affiliationData2: [], //归属字典数据
+      collectionData: [], //收款单位信息数据
+      innerCollectionData: [], //内部账户单位信息数据
+      account_qualityData: [], //账户性质字典
+      fundFlowData: [], //资金用途字典数据
+      companyItem: {}, //选择单位整条数据
+      collectionMessageItem: {}, //选择收款单位整条数据
+      expendDataId: "", //修改时该条数据id
+      buttonValue: "导 出", //弹框提交按钮内容
       collectionData: [], //收款单位信息数据
 
-        };
-    },
-  
-    created() {
+    };
+  },
+
+  created() {
     this.getAllUser(); //获取所有银行账户信息
-this.getTreeList()
+    this.getTreeList()
+  },
+  mounted() { },
+  methods: {
+    createTimeChange(e) {
+      if (e) {
+        this.queryFrom.createTimeStart = e[0]+" 00:00:00";
+        this.queryFrom.createTimeEnd = e[1]+" 23:59:59";
+      } else {
+        this.queryFrom.createTimeStart = "";
+        this.queryFrom.createTimeEnd = "";
+      }
     },
-    mounted() { },
-    methods: {
-         //获取资金用途树数据
+    //获取资金用途树数据
     getTreeList() {
       this.$api.expense.getAccountExpensesTreeList().then((res) => {
         if (res.code == 200) {
@@ -222,8 +213,8 @@ this.getTreeList()
         }
       });
     },
-     //资金用途数据转换     如果最后一项child数组长度为0把值变为null
-     fundFlowSet(data) {
+    //资金用途数据转换     如果最后一项child数组长度为0把值变为null
+    fundFlowSet(data) {
       data = data || this.fundFlowData;
       for (var i = 0; i < data.length; i++) {
         if (data[i].child.length) {
@@ -233,12 +224,13 @@ this.getTreeList()
         }
       }
     },
-         //获取所有账户信息
+    //获取所有账户信息
     getAllUser() {
       this.$api.expense.getAccountByAccountName().then((res) => {
         if (res.code == 200) {
           let arr = [];
-          res.data.forEach((item, index) => {
+          let filteredData = res.data.filter(item => item.outerFlag == "1");
+          filteredData.map(item => {
             if (item.invAccountCardList != null) {
               item.invAccountCardList.forEach((it) => {
                 it.name =
@@ -251,177 +243,172 @@ this.getTreeList()
                   it.bankCardNum +
                   "   " +
                   it.bank;
-                it.nameValue = it.name;
-                // it.nameValue =
-                //   item.accountName + "   " + it.bankCardNum + "   " + it.bank;
+                arr.push(...item.invAccountCardList);
               });
-              arr.push(...item.invAccountCardList);
             }
-          });
+          })
           this.collectionData = arr;
         }
       });
     },
-        //表格多选事件
-        selectionChange(e) {
-            this.expentList = e.selections.map((item) => item.excelAccountOperateId);
-        },
-        //获取归属数据
-        getAffiliationData() {
-            this.$api.expense.getList().then((res) => {
-                if (res.code == 200) {
-                    res.data.map((item) => {
-                        item.profit = 0;
-                        return item;
-                    });
-                    this.affiliationData = JSON.parse(JSON.stringify(res.data));
-                    this.affiliationData2 = JSON.parse(JSON.stringify(res.data));
-                } else {
-                    this.$message.error(res.msg);
-                }
-            });
-        },
-        //导出公共方法
-        expendDataup(e, idList) {
-            idList = idList || this.expentList;
-            this.$api.expense.deriveReport(idList).then((response) => {
-                if (response.code == 200) {
-                    if (response.data == null) {
-                        this.$message.error("暂无导出数据,请重试!");
-                        return;
-                    }
-                    let url = process.env.BASE_URL + response.data; // 3.创建一个临时的url指向blob对象
-                    let a = document.createElement("a");
-                    a.href = url;
-                    a.click();
-                    window.URL.revokeObjectURL(url);
-                    document.body.removeChild(a); //移除a标签
-                    this.findPage();
-                } else {
-                    this.$message.error(response.msg);
-                }
-            });
-        },
-     
-       
-        //搜索列表功能
-        queryStaffInfo() {
-            this.pageRequest.pageNum = 1;
-            this.pageRequest.pageSize = 20;
-            this.findPage();
-        },
-        //查询列表
-        findPage(data) {
-            if (data && data.pageRequest) {
-                this.pageRequest.pageNum = data.pageRequest.pageNum;
-                this.pageRequest.pageSize = data.pageRequest.pageSize;
-            }
-            let obj = JSON.parse(
-                JSON.stringify({ ...this.queryFrom, ...this.pageRequest })
-            );
-            if (obj.applyTime != null && obj.applyTime.length > 0) {
-                obj.applyTimeStart = obj.applyTime[0];
-                obj.applyTimeEnd = obj.applyTime[1];
-            }
-            delete obj.applyTime;
-            this.$api.expense
-                .getDisburse(obj)
-                .then((res) => {
-                    if (res.code == 200) {
-                        this.pageResult = {
-                            content: res.data.records,
-                            pageNum: res.data.current,
-                            pageSize: res.data.size,
-                            totalPages: res.data.pages,
-                            totalSize: res.data.total,
-                        };
-                    }
-                    else {
-                        this.$message.error(res.msg)
-                    }
+    //表格多选事件
+    selectionChange(e) {
+      this.expentList = e.selections.map((item) => item.accountOperateId);
+    },
+    //获取归属数据
+    getAffiliationData() {
+      this.$api.expense.getList().then((res) => {
+        if (res.code == 200) {
+          res.data.map((item) => {
+            item.profit = 0;
+            return item;
+          });
+          this.affiliationData = JSON.parse(JSON.stringify(res.data));
+          this.affiliationData2 = JSON.parse(JSON.stringify(res.data));
+        } else {
+          this.$message.error(res.msg);
+        }
+      });
+    },
+    //导出公共方法
+    expendDataup(e, idList) {
+      this.$api.expense.deriveReport(this.expentList).then((response) => {
+        if (response.code == 200) {
+          if (response.data == null) {
+            this.$message.error("暂无导出数据,请重试!");
+            return;
+          }
+          let url = process.env.BASE_URL + response.data; // 3.创建一个临时的url指向blob对象
+          let a = document.createElement("a");
+          a.href = url;
+          a.click();
+          window.URL.revokeObjectURL(url);
+          document.body.removeChild(a); //移除a标签
+          this.findPage();
+        } else {
+          this.$message.error(response.msg);
+        }
+      });
+    },
 
-                })
-                .then(data != null ? data.callback : "");
-        },
-      
-     
-      
-        //数据字典
-        business(typeName) {
-            this.$api.dict.findByLableName(typeName).then((res) => {
-                this[typeName + "Data"] = res.data;
-                if (typeName == "payment_methods") {
-                    this.tableForm.payMethod = [
-                        this[typeName + "Data"].find((item) => item.value == 2).label,
-                    ];
-                }
-            });
-        },
-     
-        //支付方式转换
-        toPayment(list) {
-            let newList = [];
-            list.forEach((item) => {
-                let newItem = this.payment_methodsData.find(
-                    (payItem) => payItem.label == item
-                );
-                if (newItem) {
-                    newList.push(newItem.value);
-                }
-            });
-            newList.sort();
-            newList = newList.join(",");
-            return newList;
-        },
+
+    //搜索列表功能
+    queryStaffInfo() {
+      this.pageRequest.pageNum = 1;
+      this.pageRequest.pageSize = 20;
+      this.findPage();
+    },
+    //查询列表
+    findPage(data) {
+      if (data && data.pageRequest) {
+        this.pageRequest.pageNum = data.pageRequest.pageNum;
+        this.pageRequest.pageSize = data.pageRequest.pageSize;
+      }
+      let obj = JSON.parse(
+        JSON.stringify({ ...this.queryFrom, ...this.pageRequest })
+      );
+      if (obj.applyTime != null && obj.applyTime.length > 0) {
+        obj.applyTimeStart = obj.applyTime[0];
+        obj.applyTimeEnd = obj.applyTime[1];
+      }
+      delete obj.applyTime;
+      this.$api.expense
+        .getDisburse(obj)
+        .then((res) => {
+          if (res.code == 200) {
+            this.pageResult = {
+              content: res.data.records,
+              pageNum: res.data.current,
+              pageSize: res.data.size,
+              totalPages: res.data.pages,
+              totalSize: res.data.total,
+            };
+          }
+          else {
+            this.$message.error(res.msg)
+          }
+
+        })
+        .then(data != null ? data.callback : "");
+    },
+
+
+
+    //数据字典
+    business(typeName) {
+      this.$api.dict.findByLableName(typeName).then((res) => {
+        this[typeName + "Data"] = res.data;
+        if (typeName == "payment_methods") {
+          this.tableForm.payMethod = [
+            this[typeName + "Data"].find((item) => item.value == 2).label,
+          ];
+        }
+      });
+    },
+
+    //支付方式转换
+    toPayment(list) {
+      let newList = [];
+      list.forEach((item) => {
+        let newItem = this.payment_methodsData.find(
+          (payItem) => payItem.label == item
+        );
+        if (newItem) {
+          newList.push(newItem.value);
+        }
+      });
+      newList.sort();
+      newList = newList.join(",");
+      return newList;
     },
+  },
 };
 </script>
 <style scoped>
 .query-form {
-    display: flex;
-    align-items: center;
-    margin-top: 14px;
-    flex-wrap: wrap;
+  display: flex;
+  align-items: center;
+  margin-top: 14px;
+  flex-wrap: wrap;
 }
 
 
 .expense-table>>>.el-textarea__inner,
 .expense-table>>>.el-input__inner {
-    border: none;
-    padding: 0;
-    text-align: center;
+  border: none;
+  padding: 0;
+  text-align: center;
 }
 
 .expense-table>>>.el-form-item {
-    margin: 0;
-    padding: 0;
+  margin: 0;
+  padding: 0;
 }
 
 
 .el-icon-right {
-    font-size: 20px;
+  font-size: 20px;
 }
 
 .operation {
-    margin-bottom: 15px;
+  margin-bottom: 15px;
 }
 
 .paymethod>>>.el-form-item__content {
-    display: flex;
-    align-items: center;
+  display: flex;
+  align-items: center;
 }
 
 .el-icon-right {
-    margin: 0 10px;
+  margin: 0 10px;
 }
 
 .table_btnbox {
-    position: relative;
+  position: relative;
 }
 
 .dialog-body {
-    overflow-y: auto;
-    height: 500px;
+  overflow-y: auto;
+  height: 500px;
 }
 </style>
-  

+ 17 - 6
src/views/HeadBar/HeadBar.vue

@@ -35,13 +35,13 @@
     </div>
 
     <!-- 工具栏 -->
-    <span class="toolbar" v-popover:popover-personal>
+    <span class="toolbar" :class="{'active':toolbarActive}" v-popover:popover-personal>
       <el-popover
         placement="bottom"
-        ref="popover-personal"
-        trigger="click">
+        ref="reference"
+        trigger="click" @show="show" @hide="hide">
         <personal-panel :user="userData"></personal-panel>
-        <img  slot="reference" :src="userData.headSculpture?userData.headSculpture:avatar" />        
+        <img  slot="reference" :src="userData.headSculpture?userData.headSculpture:avatar" />
       </el-popover>
       <div class="personalStyle">
         <span >{{ userData.roleName }} - {{ userData.name }}</span>
@@ -96,6 +96,7 @@ export default {
   },
   data() {
     return {
+      toolbarActive:false,
       sum: null,
       datawidth: 1920,
       screenWidth: document.body.clientWidth,
@@ -217,6 +218,13 @@ export default {
     // }
   },
   methods: {
+    show(e){
+      this.toolbarActive=true;
+    },
+    hide(){
+      this.toolbarActive=false;
+
+    },
     openWindow(url) {
       window.open(url)
     },
@@ -302,9 +310,8 @@ export default {
   float: right;
   display: flex;
   align-items: center;
-  background: rgba(180, 180, 180, 0.12);
+
   border-radius: 24px 24px 24px 24px;
-  border: 1px solid rgba(180, 180, 180, 0.12);
   margin: 7px;
   img {
     width: 40px;
@@ -314,7 +321,11 @@ export default {
     float: right;
   }
 }
+.active {
+  background: rgba(180, 180, 180, 0.12);
+  border: 1px solid rgba(180, 180, 180, 0.12);
 
+}
 .el-menu-item {
   // padding: 0 15px!important;
   padding: 0 14px !important;

+ 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 - 35
src/views/Task/daikeComponents/KtLetter.vue

@@ -806,14 +806,10 @@
                 </div>
               </el-col>
               <el-col :span="3" v-show="reslistitem.quoteCode == '200'">
-                <div class="dis f-c">
                   <span  style="color:#D42426;font-weight:bold;">
                   ¥{{
                     reslistitem.result.taxAmount }}
                 </span>
-                <span style="font-size: 13px;color:#2D4D89" class="m-top-5" >优惠:无</span>
-                </div>
-
               </el-col>
               <el-col :span="3" v-show="reslistitem.quoteCode == '200'">
                 <div class="dis f-c">
@@ -3712,7 +3708,7 @@ export default {
 
         //--获取影像信息--
         _this.imageEcho(this.quoteno);
-        this.commpanyList()
+        // this.commpanyList()
         //--显示影像按钮--
         _this.imageUploadShow = true;
       } else {
@@ -4358,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 = []