From 75465323898271fdb0b6f478c5e3ca3ada7c8a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Mon, 14 Oct 2024 10:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=B4=BB=E5=9C=88=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=8A=A0*=EF=BC=8C=E6=8A=98=E6=89=A3=E5=88=B8=E5=8F=96?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../volunteer/LifeCircleManagement/add.vue | 12 +- .../volunteer/LifeCircleManagement/index.vue | 202 +++++++++--------- .../volunteer/pointsRedemption/add.vue | 4 +- 3 files changed, 105 insertions(+), 113 deletions(-) diff --git a/src/views/modules/volunteer/LifeCircleManagement/add.vue b/src/views/modules/volunteer/LifeCircleManagement/add.vue index ee206136d..39db4f339 100644 --- a/src/views/modules/volunteer/LifeCircleManagement/add.vue +++ b/src/views/modules/volunteer/LifeCircleManagement/add.vue @@ -592,10 +592,10 @@ // console.log(this.formData.tags.map(item => item.tab).join(', ')," this.formData"); - // if (!this.formData.type) { - // this.$message.error('请选择类型'); - // return; - // } + if (!this.formData.type) { + this.$message.error('请选择类型'); + return; + } if (!this.formData.name) { this.$message.error('请输入组织介绍'); return; @@ -756,8 +756,8 @@ computed: { dataRule() { return { - typeName: [ - { required: true, message: '请选择组织类型', trigger: 'blur' } + type: [ + { required: true, message: '请选择类型', trigger: 'blur' } ], name: [ { required: true, message: '请填写名称', trigger: 'blur' } diff --git a/src/views/modules/volunteer/LifeCircleManagement/index.vue b/src/views/modules/volunteer/LifeCircleManagement/index.vue index 90fe3a357..e87402f78 100644 --- a/src/views/modules/volunteer/LifeCircleManagement/index.vue +++ b/src/views/modules/volunteer/LifeCircleManagement/index.vue @@ -1,111 +1,98 @@