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({