From 36a30a262c16b6c37be7d1817c46d6693a324cc4 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 19 十二月 2024 13:15:57 +0800 Subject: [PATCH] 完成管理评审搬迁 --- src/components/view/a5-laboratory-qualifications.vue | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/view/a5-laboratory-qualifications.vue b/src/components/view/a5-laboratory-qualifications.vue index a5baa5e..0bd8ef2 100644 --- a/src/components/view/a5-laboratory-qualifications.vue +++ b/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 }) }, -- Gitblit v1.9.3