From ac6d1295be85d51f77f8da4d77a3abe717a6dcb7 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 13 三月 2025 16:46:06 +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..bcee42c 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