diff --git a/src/views/modules/volunteer/VolManage/integral.vue b/src/views/modules/volunteer/VolManage/integral.vue index e315d7ea0..94f0b4f77 100644 --- a/src/views/modules/volunteer/VolManage/integral.vue +++ b/src/views/modules/volunteer/VolManage/integral.vue @@ -33,7 +33,7 @@
积分类型
- + @@ -104,7 +104,7 @@
取消 - 确定 +
@@ -121,7 +121,20 @@ export default { createdTimeTo:"", createdTimeTo:"", classKey:"", - optionsStatus: [], + optionsStatus: [ + { + code:1, + name:"活动积分" + }, + { + code:2, + name:"平台积分" + }, + { + code:3, + name:"操作积分" + }, + ], }, labelPosition: 'right', tableData: [], @@ -194,31 +207,31 @@ await requestGet(url,params).then((res)=>{ }) }, //调整积分 - async getTableData() { - const url = "/voluntary/points/adjustVolunteerPoints/commit"; - let params={ - volunteerId:this.tableData.id, - reason:this.behaviorName, - description:this.description, - pointsDelta:this.Positive+this.integralnum, - primaryPoints:this.tableData.points - // volunteerId:this.list.id, - // mobile:this.formData.phone, - // name:this.formData.name - } - console.log(params,"params"); + // async getTableData() { + // const url = "/voluntary/points/adjustVolunteerPoints/commit"; + // let params={ + // volunteerId:this.list.id, + // reason:this.behaviorName, + // description:this.description, + // pointsDelta:this.Positive+this.integralnum, + // primaryPoints:this.tableData.points + // // volunteerId:this.list.id, + // // mobile:this.formData.phone, + // // name:this.formData.name + // } + // console.log(params,"params"); - const { data, code, msg } = await requestPost(url,params); - if (code === 0) { - console.log("列表请求成功!!!!!!!!!!!!!!"); - this.$message({ - message: "调整成功", - type: "success", - }); - this.$emit('summDetailClose') - } else { - } - }, + // const { data, code, msg } = await requestPost(url,params); + // if (code === 0) { + // console.log("列表请求成功!!!!!!!!!!!!!!"); + // this.$message({ + // message: "调整成功", + // type: "success", + // }); + // this.$emit('summDetailClose') + // } else { + // } + // }, async getlist() { const url = "/voluntary/points/listPointsChangeRecord"; @@ -226,11 +239,12 @@ await requestGet(url,params).then((res)=>{ volunteerId:this.list.id, createdTimeFrom:this.formData.createdTimeFrom, createdTimeTo:this.formData.createdTimeTo, - description:this.description, + // description:this.description, + pointsClass:this.formData.classKey, pageNo:this.pageNo, pageSize:this.pageSize, // pointsDelta:this.Positive+this.integralnum, - primaryPoints:this.tableData.points + // primaryPoints:this.tableData.points // volunteerId:this.list.id, // mobile:this.formData.phone, // name:this.formData.name diff --git a/src/views/modules/volunteer/activityArchive/Administration.vue b/src/views/modules/volunteer/activityArchive/Administration.vue index ec1383845..36403a894 100644 --- a/src/views/modules/volunteer/activityArchive/Administration.vue +++ b/src/views/modules/volunteer/activityArchive/Administration.vue @@ -60,7 +60,7 @@ export default { labelPosition: 'right', tableData: [], pageNo: 1, - pageSize: window.localStorage.getItem("pageSize") || 20, + pageSize:20, }; }, props:{ diff --git a/src/views/modules/volunteer/activityArchive/Points.vue b/src/views/modules/volunteer/activityArchive/Points.vue index f400a3c8e..5fa2b1bde 100644 --- a/src/views/modules/volunteer/activityArchive/Points.vue +++ b/src/views/modules/volunteer/activityArchive/Points.vue @@ -3,7 +3,7 @@
是否发放积分
- + @@ -76,7 +76,7 @@ export default { mobile:"", options:[ {value:1,label:"已发放"}, - {value:"",label:"未发放"}, + {value:'',label:"未发放"}, ] } @@ -90,6 +90,17 @@ export default { } }, methods: { + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + this.pageSize = val; + window.localStorage.setItem("pageSize", val); + this.getlist(); + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); + this.pageNo = val; + this.getlist(); + }, //查询 handleSearch(){ console.log("this.long"); diff --git a/src/views/modules/volunteer/activityArchive/add.vue b/src/views/modules/volunteer/activityArchive/add.vue index cce73aed2..a0e63b6c0 100644 --- a/src/views/modules/volunteer/activityArchive/add.vue +++ b/src/views/modules/volunteer/activityArchive/add.vue @@ -74,7 +74,9 @@ -->
- + +
@@ -96,7 +98,7 @@ @change="handleSwitchChange">
- +
-->