From b304ff03ae47e963b3b398d382090679d6a4944f Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 14 三月 2025 09:22:28 +0800 Subject: [PATCH] 标准查新分页修改 --- src/views/CNAS/process/sampleDisposal/index.vue | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/views/CNAS/process/sampleDisposal/index.vue b/src/views/CNAS/process/sampleDisposal/index.vue index e446687..94b45b9 100644 --- a/src/views/CNAS/process/sampleDisposal/index.vue +++ b/src/views/CNAS/process/sampleDisposal/index.vue @@ -5,6 +5,7 @@ <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;">鏂板</el-button> <div class="table" style="height: calc(100% - 200px)" v-if="activeName == '濉啓'"> <lims-table :tableData="tableData" :column="column" :tableLoading="tableLoading" + key="tableData" :height="'calc(100vh - 290px)'" :page="page" @pagination="pagination"></lims-table> </div> </el-tab-pane> @@ -25,6 +26,7 @@ </div> <div class="table"> <lims-table :tableData="tableData0" :column="column0" :tableLoading="tableLoading" + key="tableData0" :height="'calc(100vh - 300px)'" :page="page0" @pagination="pagination0"></lims-table> </div> </el-tab-pane> @@ -341,7 +343,6 @@ ...this.addInfo }).then(res => { this.addLoading = false - if (res.code === 201) return this.addDialogVisible = false this.$message({ type: 'success', @@ -358,7 +359,6 @@ ...this.addInfo }).then(res => { this.addLoading = false - if (res.code === 201) return this.addDialogVisible = false this.$message({ type: 'success', @@ -379,7 +379,6 @@ submitProcessTotaldeal({ id: row.id }).then(res => { - if (res.code === 201) return this.$message({ type: 'success', message: '鎻愪氦鎴愬姛!' @@ -390,13 +389,10 @@ }, // 鏌ョ湅 handleLook(row) { - // console.log(row) - // this.title0 = '鏌ョ湅' - // this.commonFun(row) this.activeName = '濉啓' this.queryParams.totaldealId = row.id this.$nextTick(() => { - this.page.current = 0; + this.page.current = 1; this.getList(); }) }, @@ -438,7 +434,6 @@ }).then(res => { this.checkLoading = false this.noCheckLoading = false - if (res.code === 201) return this.$message({ type: 'success', message: '鎿嶄綔鎴愬姛!' @@ -453,7 +448,6 @@ }).then(res => { this.checkLoading = false this.noCheckLoading = false - if (res.code === 201) return this.$message({ type: 'success', message: '鎿嶄綔鎴愬姛!' @@ -480,7 +474,6 @@ }) .then(() => { delProcessDeal({ id: row.id }).then((res) => { - if (res.code == 201) return; this.$message.success("鍒犻櫎鎴愬姛"); this.page.current = 0; this.getList(); -- Gitblit v1.9.3