From 5b38f958f33b72c6da9144f69f0426319578b549 Mon Sep 17 00:00:00 2001 From: 2153917462 <2153917462@qq.com> Date: Thu, 17 Apr 2025 17:34:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=89=8B=E5=86=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=9D=99=E6=80=81=E9=A1=B5=E9=9D=A2=E7=BC=96=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/compilation/handbook/index.vue | 1245 ++++++++++++++++++---- src/views/evalute/supervision/index.vue | 169 ++- 2 files changed, 1184 insertions(+), 230 deletions(-) diff --git a/src/views/compilation/handbook/index.vue b/src/views/compilation/handbook/index.vue index 5de7487..6f779e0 100644 --- a/src/views/compilation/handbook/index.vue +++ b/src/views/compilation/handbook/index.vue @@ -1,237 +1,1094 @@ - \ No newline at end of file + diff --git a/src/views/evalute/supervision/index.vue b/src/views/evalute/supervision/index.vue index bec228a..0fc9fd0 100644 --- a/src/views/evalute/supervision/index.vue +++ b/src/views/evalute/supervision/index.vue @@ -4,10 +4,18 @@
- + - + @@ -23,17 +31,36 @@
- 添加规则 + 添加规则
- + - - + + - + - + - + - +
- - + + - + @@ -101,34 +175,57 @@ - + 申报任务即将结束(企业) 项目即将建设完成(政府) - +
* 提前 - + 天提醒
- +
@@ -228,7 +325,7 @@ export default { alertTime: "", alertContent: "", alertType: "1", - daysAdvance: "" + daysAdvance: "", }; // 清除验证 @@ -246,13 +343,13 @@ export default { const params = { current: this.pagination.current, size: this.pagination.size, - rulesName: this.searchForm.rulesName || '', - alertType: this.searchForm.alertType || '', + rulesName: this.searchForm.rulesName || "", + alertType: this.searchForm.alertType || "", }; // 移除空字符串的参数 - Object.keys(params).forEach(key => { - if (params[key] === '') { + Object.keys(params).forEach((key) => { + if (params[key] === "") { delete params[key]; } }); @@ -285,6 +382,7 @@ export default { alertType: res.data.alertType.toString(), daysAdvance: res.data.daysAdvance, }; + this.isView = true; this.dialogVisible = true; this.dialogTitle = "查看智能提醒规则"; @@ -296,7 +394,6 @@ export default { }); }, // 打开添加规则弹框 - // 打开添加规则弹框 handleAdd() { this.isView = false; this.dialogVisible = true; @@ -312,7 +409,7 @@ export default { alertTime: "", alertContent: "", alertType: "1", - daysAdvance: "" // 确保这个字段也被重置 + daysAdvance: "", // 确保这个字段也被重置 }; // 清除验证 @@ -378,7 +475,7 @@ export default { } }); }) - .catch(() => { }); + .catch(() => {}); }, // 取消按钮 cancelAdd() { @@ -530,7 +627,7 @@ export default { .el-button { padding: 9px 20px; - &+.el-button { + & + .el-button { margin-left: 10px; } }