From cd34b75c7e3e4916f9c79917765c3c3549be4179 Mon Sep 17 00:00:00 2001 From: dd3s_206 Date: Tue, 2 Jun 2026 20:12:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E5=B7=A5=E7=A6=8F=E5=88=A9-=E7=A6=8F?= =?UTF-8?q?=E5=88=A9=E9=80=89=E6=8B=A9=EF=BC=9A=E4=BF=AE=E5=A4=8D=E6=80=BB?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E4=B8=BA0=E6=97=B6=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=82=B9=E5=87=BB=E5=8A=A0=E5=8F=B7=E5=A4=B1?= =?UTF-8?q?=E6=95=88=EF=BC=88=E4=B8=8D=E8=83=BD=E4=BF=AE=E6=94=B9=E5=80=BC?= =?UTF-8?q?=EF=BC=89=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/static/components/plugins/QuestionNaire.vue | 2 +- .../views/platform/welfare/project/ProjectMange.html | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/components/plugins/QuestionNaire.vue b/src/main/resources/static/components/plugins/QuestionNaire.vue index ba66561..07bf8c1 100644 --- a/src/main/resources/static/components/plugins/QuestionNaire.vue +++ b/src/main/resources/static/components/plugins/QuestionNaire.vue @@ -109,7 +109,7 @@ header-align="center" v-if="is_integral_mode" label="所需积分" width="150"> diff --git a/src/main/resources/views/platform/welfare/project/ProjectMange.html b/src/main/resources/views/platform/welfare/project/ProjectMange.html index 5349609..1831178 100644 --- a/src/main/resources/views/platform/welfare/project/ProjectMange.html +++ b/src/main/resources/views/platform/welfare/project/ProjectMange.html @@ -310,7 +310,7 @@ layout("/layouts/platform.html"){ - + @@ -643,6 +643,10 @@ layout("/layouts/platform.html"){ return } } + if (this.formData.isIntegralMode && (!this.formData.allIntegral || this.formData.allIntegral <= 0)) { + this.$message.warning("积分模式下总积分不能为0,请填写总积分!") + return + } this.submitLoading = true const loading = this.$loading({