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)">修改 查看 审核 - 下线 - 上线