From 0e5763b1b39de488adb3bcc856a2201f87597a08 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期一, 23 十二月 2024 15:56:40 +0800 Subject: [PATCH] 人员测试联调 --- src/components/view/a5-laboratory-qualifications.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/view/a5-laboratory-qualifications.vue b/src/components/view/a5-laboratory-qualifications.vue index 9094057..0bd8ef2 100644 --- a/src/components/view/a5-laboratory-qualifications.vue +++ b/src/components/view/a5-laboratory-qualifications.vue @@ -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"> @@ -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