From 2bfe437d8b30fb7d80a38875b00ebf2b222ea05f Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期一, 17 三月 2025 17:54:03 +0800 Subject: [PATCH] 完成车间管理 --- src/views/performance/manHour/workTimeConfig.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/performance/manHour/workTimeConfig.vue b/src/views/performance/manHour/workTimeConfig.vue index 5364c89..0ec72f6 100644 --- a/src/views/performance/manHour/workTimeConfig.vue +++ b/src/views/performance/manHour/workTimeConfig.vue @@ -30,8 +30,8 @@ v-if="checkPermi(['performance:manHour:workTimeConfig:add'])">鏂� 澧�</el-button> </div> <div class="table"> - <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading" - :height="'calc(100vh - 290px)'" @pagination="pagination"></lims-table> + <lims-table :tableData="tableData" :column="column" :tableLoading="tableLoading" :height="'calc(100vh - 290px)'" + :page="page" @pagination="pagination"></lims-table> </div> <!-- 鏂板/缂栬緫 --> <el-dialog :title="title" :visible.sync="timeDia" width="500px"> @@ -277,9 +277,11 @@ }) .then(() => { deleteAuxiliaryWorkingHours({ id: row.id }).then((res) => { - if (res.code == 201) return; - this.$message.success("鍒犻櫎鎴愬姛"); - this.refresh(); + console.log('res', res) + if (res.code == 200) { + this.$message.success("鍒犻櫎鎴愬姛"); + this.refresh(); + } }); }) .catch(() => { }); -- Gitblit v1.9.3