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 }}人 + + 报名 + + + + + + + + + +