From 00a09aec3372e502dc4a78ceede9b7a2c3318d91 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Thu, 4 Jul 2024 18:32:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=8A=A5=E9=97=AE=E9=A2=98,=E6=BB=A1?= =?UTF-8?q?=E6=84=8F=E5=BA=A6=E8=B0=83=E6=9F=A5,=E5=8F=82=E5=8A=A0?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/event.js | 8 +-- src/api/satisfaction.js | 12 ++++ src/router/router.config.js | 12 +++- src/views/activity/index.vue | 5 +- src/views/appeal/index.vue | 9 ++- src/views/mine/index.vue | 7 +- src/views/mine/myActivity/index.vue | 90 +++++++++++++++++++++++++ src/views/mine/mySatisfaction/index.vue | 86 +++++++++++++++++++++++ 8 files changed, 215 insertions(+), 14 deletions(-) create mode 100644 src/api/satisfaction.js create mode 100644 src/views/mine/myActivity/index.vue create mode 100644 src/views/mine/mySatisfaction/index.vue diff --git a/src/api/event.js b/src/api/event.js index 96f7e9a..70f00d0 100644 --- a/src/api/event.js +++ b/src/api/event.js @@ -30,12 +30,12 @@ export function eventList(params) { }) } //我的诉求列表 -export function collects(params) { +export function collects(data) { return request({ - url: `/governance/demandCollect/my/collects`, - method: 'get', + url: `/governance/icEventOld/list`, + method: 'post', message: '获取诉求中...', - params + data }) } // 事件评价 diff --git a/src/api/satisfaction.js b/src/api/satisfaction.js new file mode 100644 index 0000000..e5677dc --- /dev/null +++ b/src/api/satisfaction.js @@ -0,0 +1,12 @@ +// axios +import request from '@/utils/request' + +// 上报事件 +export function communitySatisfactionPageList(data) { + return request({ + url: `/actual/base/peopleRoomOverview/communitySatisfactionPageList`, + method: 'post', + message: '加载中...', + data + }) +} \ No newline at end of file diff --git a/src/router/router.config.js b/src/router/router.config.js index 39b7c60..b18022a 100644 --- a/src/router/router.config.js +++ b/src/router/router.config.js @@ -48,7 +48,7 @@ export const constantRouterMap = [ path: '/appeal', name: 'appeal', component: () => import('@/views/appeal'), - meta: { title: '我的诉求', keepAlive: false } + meta: { title: '我上报的问题', keepAlive: false } }, { path: '/appealDetail', @@ -129,6 +129,16 @@ export const constantRouterMap = [ name: 'communityPublicityDetail', component: () => import('@/views/communityPublicity/detail'), meta: { title: '详情', keepAlive: false } + },{ + path: '/mySatisfaction', + name: 'mySatisfaction', + component: () => import('@/views/mine/mySatisfaction'), + meta: { title: '我参与的满意度调查', keepAlive: false } + },{ + path: '/myActivity', + name: 'myActivity', + component: () => import('@/views/mine/myActivity'), + meta: { title: '我参与的活动', keepAlive: false } } ] diff --git a/src/views/activity/index.vue b/src/views/activity/index.vue index 8c6b0af..a6a4012 100644 --- a/src/views/activity/index.vue +++ b/src/views/activity/index.vue @@ -19,14 +19,11 @@ - - + + diff --git a/src/views/mine/mySatisfaction/index.vue b/src/views/mine/mySatisfaction/index.vue new file mode 100644 index 0000000..3fd00a3 --- /dev/null +++ b/src/views/mine/mySatisfaction/index.vue @@ -0,0 +1,86 @@ + + + + + + + {{ item.activityName }} + 地点:{{ item.address }} + 时间:{{ item.startTime }} + + + 报名人数: {{ item.participants }}/{{ item.participants }}人 + + 报名 + + + + + + + + + +