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

协议调度查询的bug修复

dongxin 2 лет назад
Родитель
Сommit
fd31129e75
1 измененных файлов с 11 добавлено и 11 удалено
  1. 11 11
      src/views/AgreementManage/CarInsurance/SourceManagement.vue

+ 11 - 11
src/views/AgreementManage/CarInsurance/SourceManagement.vue

@@ -163,11 +163,11 @@
           <el-form-item label="保险公司编码">
             <el-input disabled style="width:215px" v-model="configurationForm.companyId" placeholder="输入保险公司编码"></el-input>
           </el-form-item>
-      
+
           <el-form-item label="保险公司名称">
             <el-input disabled style="width:215px" v-model="configurationForm.companyName" placeholder="输入保险公司名称"></el-input>
           </el-form-item>
-       
+
           <el-form-item label="pc是否启用">
               <el-switch
               v-model="configurationForm.pcStart"
@@ -177,7 +177,7 @@
             >
             </el-switch>
           </el-form-item>
-        
+
           <el-form-item label="app是否启用">
             <el-switch
               v-model="configurationForm.appStart"
@@ -187,10 +187,10 @@
             >
             </el-switch>
           </el-form-item>
-       
+
           <el-form-item label="险种">
             <el-select v-model="configurationForm.productsCode" clearable multiple  placeholder="选择险种" size="small" >
-              <el-option v-for="item in insuranceRepertoire" :key="item.dictValue" :label="item.dictTag" 
+              <el-option v-for="item in insuranceRepertoire" :key="item.dictValue" :label="item.dictTag"
                 :value="item.dictValue"></el-option>
             </el-select>
           </el-form-item>
@@ -596,7 +596,7 @@ export default {
       this.$api.insCompany
         .dispatchQueryPage(this.dispatchRequest)
         .then((res) => {
-         
+
           this.dispatchResult = res.data;
         });
     },
@@ -637,13 +637,13 @@ export default {
       this.tableConfig.loading = true;
       this.$api.dept.insureCompany({ ...this.pageData,...data }).then((res) => {
         this.tableConfig.loading = false;
-        res.data.content.forEach(val=>{
+        res.data.records.forEach(val=>{
           val.productsCode= val.productsCode?val.productsCode.split(","):''
         })
-        this.pageResult = res.data.content;
-        this.pageData.pageNum = res.data.pageNum;
-        this.pageData.pageSize = res.data.pageSize;
-        this.pageData.totalSize = res.data.totalSize;
+        this.pageResult = res.data.records;
+        this.pageData.pageNum = res.data.current;
+        this.pageData.pageSize = res.data.size;
+        this.pageData.totalSize = res.data.total;
       });
     },
     //协议调度提交