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/standard/model/index.vue | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/views/standard/model/index.vue b/src/views/standard/model/index.vue index 75231b3..418c55b 100644 --- a/src/views/standard/model/index.vue +++ b/src/views/standard/model/index.vue @@ -31,7 +31,7 @@ </div> </el-dialog> <el-dialog :before-close="closeCopyTem" :close-on-click-modal="false" :close-on-press-escape="false" - :visible.sync="isShowCopyTem" :title="title" width="35%"> + :visible.sync="isShowCopyTem" :title="title" width="35%" :modal-append-to-body="false"> <el-form ref="copyForm" :model="copyForm" :rules="copyFormRules" label-position="right" label-width="80px"> <el-form-item label="妯$増缂栧彿" prop="number"> <el-input v-model="copyForm.number" clearable size="small"></el-input> @@ -112,7 +112,7 @@ type: "text", clickFun: (row) => { this.title = "缂栬緫"; - this.copyForm = row; + this.copyForm = this.HaveJson(row); this.isShowCopyTem = true; }, showHide: (row) => { @@ -226,7 +226,6 @@ delete params.id; addStandardTemplate(params) .then((res) => { - if (res.code == 201) return; this.isShowCopyTem = false; this.submitCopyInfoLoading = false; this.$message.success("鏂板鎴愬姛"); @@ -241,7 +240,6 @@ params.thing = this.copyForm.thing ? this.copyForm.thing : ""; upStandardTemplate(params) .then((res) => { - if (res.code == 201) return; this.isShowCopyTem = false; this.submitCopyInfoLoading = false; this.$message.success("淇敼鎴愬姛"); @@ -255,7 +253,6 @@ case "澶嶅埗妯$増": copyStandardTemplate(params) .then((res) => { - if (res.code == 201) return; this.isShowCopyTem = false; this.submitCopyInfoLoading = false; this.$message.success("澶嶅埗鎴愬姛"); @@ -286,7 +283,6 @@ }) .then(() => { delStandardTemplate({ id: row.id }).then((res) => { - if (res.code == 201) return; this.$message.success("鍒犻櫎鎴愬姛"); this.refreshTable("page"); }); @@ -360,7 +356,6 @@ thing: JSON.stringify(data), name: luckysheet.getWorkbookName(["name"]), }).then((res) => { - if (res.code == 201) return; this.loading = false; this.$message.success("宸蹭繚瀛�"); this.isShow = false; @@ -384,6 +379,10 @@ </script> <style scoped> +/* >>>.el-dialog__wrapper { + z-index: 100 !important; +} */ + .search { background-color: #fff; height: 80px; -- Gitblit v1.9.3