From 083bc7004fa08f6eebd3003d421db5045ca78d5f Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 15:54:36 +0800 Subject: [PATCH] 删除无用代码 --- src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue b/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue index c958c5b..4a54eb8 100644 --- a/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue +++ b/src/views/CNAS/process/nonconformingWork/nonconformingDistribution/index.vue @@ -13,11 +13,11 @@ <el-input v-model="searchForm.distributionYear" clearable size="small"></el-input> </span> <span class="search-group"> - <el-button size="medium" @click="resetSearchForm">閲� 缃�</el-button> - <el-button size="medium" type="primary" @click="searchList">鏌� 璇�</el-button> + <el-button size="small" @click="resetSearchForm">閲� 缃�</el-button> + <el-button size="small" type="primary" @click="searchList">鏌� 璇�</el-button> </span> <div class="btn"> - <el-button size="medium" type="primary" @click="openFormDia('add')">鏂� 澧�</el-button> + <el-button size="small" type="primary" @click="openFormDia('add')">鏂� 澧�</el-button> </div> </div> <div class="table"> @@ -135,7 +135,6 @@ this.tableLoading = true pageInconsistentDistribution({ ...entity, ...page }).then(res => { this.tableLoading = false - if (res.code === 201) return this.tableData = res.data.records this.page.total = res.data.total }).catch(err => { @@ -153,7 +152,6 @@ this.tableLoading = true delInconsistentDistribution({ distributionId: row.distributionId }).then(res => { this.tableLoading = false - if (res.code === 201) return this.$message.success('鍒犻櫎鎴愬姛') this.searchList() }).catch(err => { @@ -178,7 +176,6 @@ handleDown(row) { exportInconsistentDistribution({ distributionId: row.distributionId }).then(res => { this.outLoading = false - this.$message.success('瀵煎嚭鎴愬姛') const blob = new Blob([res], { type: 'application/msword' }); this.$download.saveAs(blob, '涓嶇鍚堥」鐨勫垎甯�' + '.docx'); }) -- Gitblit v1.9.3