Browse Source

办事指南详情

xiaowang-feature
是小王呀\24601 9 months ago
parent
commit
1f69509737
  1. 23
      src/api/home.js
  2. 4
      src/views/serviceGuide/detail.vue

23
src/api/home.js

@ -50,14 +50,14 @@ export function icEventOldDiscuss(data) {
data data
}) })
} }
// 【办事指南】菜单 // 【办事指南】菜单
export function guidecategorylist(data) { export function guidecategorylist(data) {
return request({ return request({
url: `/governance/icServiceGuide/page`, url: `/governance/icServiceGuide/page`,
method: 'post', method: 'post',
data data
}) })
} }
// 【社区讯息】菜单 // 【社区讯息】菜单
export function communityPublicity(data) { export function communityPublicity(data) {
return request({ return request({
@ -73,6 +73,13 @@ export function icEventOldDiscuss(data) {
method: 'get', method: 'get',
}) })
} }
// 【办事指南详情】详情
export function icServiceGuide(id) {
return request({
url: `/governance/icServiceGuide/${id}`,
method: 'get',
})
}
//议事赞成/反对 //议事赞成/反对
export function handelClicsupport(data) { export function handelClicsupport(data) {
return request({ return request({

4
src/views/serviceGuide/detail.vue

@ -45,7 +45,7 @@
import { setConfig } from '@/utils/jweixin' import { setConfig } from '@/utils/jweixin'
import {communityPublicityGiveLike,communityPublicityDetail } from '@/api/home'; import {communityPublicityGiveLike,icServiceGuide } from '@/api/home';
import Share from "@/components/Share" import Share from "@/components/Share"
export default { export default {
data() { data() {
@ -68,7 +68,7 @@ export default {
}, },
methods: { methods: {
async communityPublicityDetail(){ async communityPublicityDetail(){
let res = await communityPublicityDetail(this.detailId) let res = await icServiceGuide(this.detailId)
if(res.code === 0){ if(res.code === 0){
this.info = res.data this.info = res.data
} }

Loading…
Cancel
Save