licp
2024-12-19 36a30a262c16b6c37be7d1817c46d6693a324cc4
src/components/view/a5-laboratory-qualifications.vue
@@ -54,7 +54,7 @@
   <div class="capacity-scope">
      <div>
         <el-row class="title">
            <el-col :span="12">
            <el-col :span="12" style="text-align: left">
               <el-radio-group v-model="radio" @input="selectorSwitch" size="medium" fill="#3A7BFA">
                  <el-radio-button label="0">资质明细</el-radio-button>
                  <el-radio-button label="1">资质总览</el-radio-button>
@@ -100,7 +100,7 @@
            </div>
            <div class="search_thing" style="padding-left: 30px;">
               <el-button size="small" @click="refresh()">重 置</el-button>
               <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button>
               <el-button size="small" type="primary" @click="list=[],refreshTable()">查 询</el-button>
            </div>
         </div>
         <div class="table" v-if="radio==1" v-loading="pageLoading" @scroll="scrollFn">
@@ -191,7 +191,7 @@
               v-model="formData.explanation"></el-input>
        </div>
      </div>
      <div class="search_thing" style="margin-bottom: 16px;">
        <div class="search_label" style="width:120px"><span class="required-span">* </span>颁发时间:</div>
@@ -205,7 +205,7 @@
          placeholder="选择日期">
               </el-date-picker>
        </div>
      </div>
      </div>
      <div class="search_thing" style="margin-bottom: 16px;">
        <div class="search_label" style="width:120px"><span class="required-span">* </span>到期时间:</div>
        <div class="search_input">
@@ -305,7 +305,8 @@
                  },
               },
               requiredAdd: [],
               requiredUp: []
               requiredUp: [],
          needSort: ['firstIssuanceDate', 'latestIssuanceDate', 'expireTime', 'name'],
            },
            itemParameterEntityCopy: {},
            upIndex: 0,
@@ -351,9 +352,9 @@
          this.refreshTable();
        }
         },
         refreshTable() {
         refreshTable(e) {
            if (this.radio === '0') {
               this.$refs['itemParameterTable'].selectList()
               this.$refs['itemParameterTable'].selectList(e)
            } else {
          if(this.currentPage>1){
            this.isLoding = true
@@ -404,7 +405,7 @@
          this.list=[];
          this.entity={
            name: null,
            orderBy: {field: "id", order: "asc"}
            // orderBy: {field: "id", order: "asc"}
          };
          this.refreshTable()
        }
@@ -504,7 +505,7 @@
                  this.loading = false
                  if (res.code == 201) return
                  this.$message.success('已提交')
                  this.refreshTable()
                  this.refreshTable('page')
            this.qualificationsConnectVisible = false
               })
      },