From 10f950837c42f676319cc157c7f73af92f5e296d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Wed, 3 Jul 2024 11:01:52 +0800 Subject: [PATCH] =?UTF-8?q?=20=E5=8A=A0=E5=85=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/demand.js | 17 ++++++ src/api/event.js | 9 +++ src/api/home.js | 25 +++++++- src/api/user.js | 1 + src/router/router.config.js | 2 +- src/views/activity/detail.vue | 35 ++++++++++-- src/views/appealDetail/index.vue | 45 +++++++++++---- src/views/discussion/index.vue | 84 ++++++++++++++++----------- src/views/event/index.vue | 28 ++++++++- src/views/home/index.vue | 38 +++++++++++-- src/views/search/index.vue | 98 +++++++++++++++----------------- src/views/userInfo/index.vue | 49 ++++++++++++---- 12 files changed, 311 insertions(+), 120 deletions(-) diff --git a/src/api/demand.js b/src/api/demand.js index 00a2f81..54fed73 100644 --- a/src/api/demand.js +++ b/src/api/demand.js @@ -29,6 +29,7 @@ export function getUserDemandUnSolvedDetail(params) { params }) } + // 需求类型 export function selectList(id) { @@ -37,3 +38,19 @@ export function selectList(id) { method: 'get' }) } +//诉求详情 +export function icEventOldDetail(params) { + return request({ + url: `/governance/icEventOld/detail`, + method: 'get', + params + }) +} +//办理经过 +export function icEventOldProcess(params) { + return request({ + url: `/governance/icEventOld/process`, + method: 'get', + params + }) +} diff --git a/src/api/event.js b/src/api/event.js index 25f7075..f62f4df 100644 --- a/src/api/event.js +++ b/src/api/event.js @@ -10,6 +10,15 @@ export function saveOfficialAccountEvent(data) { data }) } +// 上报范围 +export function checkAreaPoint(data) { + return request({ + url: `/gov/org/agency/checkAreaPoint`, + method: 'post', + message: '上报事件中...', + data + }) +} // 获取事件列表 export function eventList(params) { diff --git a/src/api/home.js b/src/api/home.js index adb57e0..764c99d 100644 --- a/src/api/home.js +++ b/src/api/home.js @@ -17,4 +17,27 @@ export function icEventOldDiscuss(data) { data }) } - \ No newline at end of file +// 点赞 +export function handelClicsupport(data) { + return request({ + url: `/governance/icEventOldDiscuss/addDiscuss`, + method: 'post', + data + }) +} + //搜索 + export function keyWordSearch(data) { + return request({ + url: `/actual/base/communityActivity/keyWordSearch`, + method: 'post', + data + }) + } + //热门词语 + export function popularSearch(data) { + return request({ + url: `/actual/base/communityActivity/topWordList`, + method: 'post', + data + }) + } \ No newline at end of file diff --git a/src/api/user.js b/src/api/user.js index d2b6c3c..fd365ba 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -18,6 +18,7 @@ export function checkWxmpRegister(params) { params }) } + // 获取用户信息 export function getUserWechatByUserId(id) { return request({ diff --git a/src/router/router.config.js b/src/router/router.config.js index 38c2789..c83f67b 100644 --- a/src/router/router.config.js +++ b/src/router/router.config.js @@ -93,7 +93,7 @@ export const constantRouterMap = [ path: '/discussion', name: 'discussion', component: () => import('@/views/discussion'), - meta: { title: '社区议事', keepAlive: false } + meta: { title: '居民议事', keepAlive: false } }, { path: '/comMessages', diff --git a/src/views/activity/detail.vue b/src/views/activity/detail.vue index 8ba118c..31e6f99 100644 --- a/src/views/activity/detail.vue +++ b/src/views/activity/detail.vue @@ -1,17 +1,17 @@