From 1588ba8f5dad8e19b21f711418be738cee70b34b Mon Sep 17 00:00:00 2001 From: tianq Date: Fri, 31 Mar 2023 11:24:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E7=BB=84=E7=BB=87=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=A5=BD=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tuceng/yingji/zizuzhi/addForm.vue | 50 ++++++++++--------- .../tuceng/yingji/zizuzhi/index.vue | 3 +- .../tuceng/yingji/zizuzhi/scoreRecord.vue | 22 +++++--- 3 files changed, 43 insertions(+), 32 deletions(-) diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue index fb50f467d..9d4d55ac3 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/addForm.vue @@ -34,6 +34,22 @@ > + + + + + + + + + + + + + + + +
@@ -67,28 +83,13 @@
- - - + + + - - - - - - - - - - - - - - - + @@ -126,7 +127,7 @@ - + diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue index aebaeef8e..83688eabb 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue @@ -100,14 +100,9 @@ export default { type: Boolean, default: '' }, - detailId: { type: String, default: '' - }, - serviceType: { - type: String, - default: '' } }, async created() {}, @@ -130,19 +125,30 @@ export default { handleSearch() { this.loadTable(); }, - + // \ + // 社区自组织的积分记录,与原来一样;原来接口调用的/heart/userdemand/recordList + // 现在改为: + // /governance/userdemand/recordList + // { + // "serviceType": "community_org", //前端写死此值 + // "serviceId": "当前社区自组织组织id", + // "pageSize": 10, + // "pageNo": 1, + // "startTime": "2023-02-28 00:00:00",// 用户所选拼接00:00:00 + // "endTime": "2023-03-31 23:59:59" // 拼接23:59:59 + // } async loadTable() { this.tableLoading = true; const url = '/governance/userdemand/recordList'; // const url = "http://yapi.elinkservice.cn/mock/245/governance/userdemand/recordList" let params = { - serviceType: this.serviceType, + serviceType: 'community_org', serviceId: this.detailId, pageSize: this.pageSize, pageNo: this.pageNo, ...this.formData }; - + console.log("params",params); const { data, code, msg } = await requestPost(url, params); if (code === 0) {