From 198a1cb02ac77ce35b579a35e44d8a01a993bb32 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: Fri, 20 Sep 2024 17:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A7=AF=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=EF=BC=8C=E8=BF=94=E5=9B=9E=E7=A7=AF=E5=88=86=E6=80=BB?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../volunteer/LifeCircleManagement/add.vue | 71 +- .../volunteer/LifeCircleManagement/index.vue | 19 +- .../modules/volunteer/Venuemanagement/add.vue | 1017 +++++++++++++++++ .../volunteer/Venuemanagement/index.vue | 491 ++++++++ .../modules/volunteer/activityArchive/add.vue | 32 +- .../volunteer/activityArchive/index.vue | 4 +- 6 files changed, 1575 insertions(+), 59 deletions(-) create mode 100644 src/views/modules/volunteer/Venuemanagement/add.vue create mode 100644 src/views/modules/volunteer/Venuemanagement/index.vue diff --git a/src/views/modules/volunteer/LifeCircleManagement/add.vue b/src/views/modules/volunteer/LifeCircleManagement/add.vue index b265ec3d5..588e872ca 100644 --- a/src/views/modules/volunteer/LifeCircleManagement/add.vue +++ b/src/views/modules/volunteer/LifeCircleManagement/add.vue @@ -13,12 +13,12 @@ - + - @@ -35,8 +35,8 @@ - + @@ -47,13 +47,13 @@ - - @@ -62,9 +62,9 @@ - + - 删除 + 删除 @@ -73,29 +73,26 @@ - - + + + - - @@ -133,7 +130,7 @@ + + + + \ No newline at end of file diff --git a/src/views/modules/volunteer/Venuemanagement/index.vue b/src/views/modules/volunteer/Venuemanagement/index.vue new file mode 100644 index 000000000..fb7709095 --- /dev/null +++ b/src/views/modules/volunteer/Venuemanagement/index.vue @@ -0,0 +1,491 @@ + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + 新增 + 下载模板 + + + 导入 + + + + + + + + + + + + + + + + + + 查看 + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/volunteer/activityArchive/add.vue b/src/views/modules/volunteer/activityArchive/add.vue index 5ce7218a2..93e6c95a3 100644 --- a/src/views/modules/volunteer/activityArchive/add.vue +++ b/src/views/modules/volunteer/activityArchive/add.vue @@ -36,7 +36,7 @@ - + @@ -60,13 +60,13 @@ + label="描述文字" type="number" @change="handeleserviceTime()"> - + @@ -402,7 +402,31 @@ export default { this.getTableData() }, - methods: { + methods: { + //活动级别调取积分 + handeleserviceLevel(){ + console.log(this.formData.serviceLevel,"this.formData.serviceLevel"); + this.getintegralComputation() + }, + //服务时长调取积分 + handeleserviceTime(){ + console.log(this.formData.serviceTime,"this.formData.serviceLevel"); + this.getintegralComputation() + }, + //计算积分 + async getintegralComputation() { + const url = "/voluntary/activityInfo/integralComputation"; + let params={ + level:this.formData.serviceLevel, + serviceTime:this.formData.serviceTime, + } + requestGet(url,params).then(res=>{ + console.log(res,"res"); + this.formData.points=res.data + }) + + + }, //查询所属项目 async getTableData() { const url = "/voluntary/project/admin/list"; diff --git a/src/views/modules/volunteer/activityArchive/index.vue b/src/views/modules/volunteer/activityArchive/index.vue index 7f47b26ae..071198406 100644 --- a/src/views/modules/volunteer/activityArchive/index.vue +++ b/src/views/modules/volunteer/activityArchive/index.vue @@ -85,9 +85,9 @@ @click="handleDetail(scope.row)">修改 查看 审核 - 下线 - 上线