Newer
Older
KaiFengPC / src / api / publicService / index.js
@鲁yixuan 鲁yixuan on 19 Aug 13 KB updata
import request from '@/utils/request';

// 培训宣传 搜索列表
export function specialNavPage(query) {
  return request({
    url: '/publicService/trainAndPublicize/page',
    method: 'get',
    params: query,
  });
}
export function specialNavList(query) {
  return request({
    url: '/publicService/trainAndPublicize/list',
    method: 'get',
    params: query,
  });
}
// 培训宣传 新增
export function specialNavAdd(data) {
  return request({
    url: '/publicService/trainAndPublicize/add',
    method: 'post',
    data: data,
  });
}
// 培训宣传 修改
export function specialNavEdit(data) {
  return request({
    url: '/publicService/trainAndPublicize/edit',
    method: 'put',
    data: data,
  });
}
// 培训宣传 删除
export function specialNavDel(id) {
  return request({
    url: '/publicService/trainAndPublicize/' + id,
    method: 'delete',
  });
}
// 培训宣传 详情
export function specialNavDetail(id) {
  return request({
    url: '/publicService/trainAndPublicize/' + id,
    method: 'get',
  });
}

// 通知公告 技术标准 政策法规 搜索列表
export function articlePage(query) {
  return request({
    url: '/publicService/articleConfig/page',
    method: 'get',
    params: query,
  });
}
// 通知公告 技术标准 政策法规 新增
export function articleAdd(data) {
  return request({
    url: '/publicService/articleConfig/add',
    method: 'post',
    data: data,
  });
}
// 通知公告 技术标准 政策法规 修改
export function articleEdit(data) {
  return request({
    url: '/publicService/articleConfig/edit',
    method: 'put',
    data: data,
  });
}
// 通知公告 技术标准 政策法规 删除
export function articleDel(id) {
  return request({
    url: '/publicService/articleConfig/' + id,
    method: 'delete',
  });
}
// 通知公告 技术标准 政策法规 详情
export function articleDetail(id) {
  return request({
    url: '/publicService/articleConfig/' + id,
    method: 'get',
  });
}

// 科普知识类别 搜索列表全部
export function knowledgeTypeList(query) {
  return request({
    url: '/publicService/scienceKnowledgeType/list',
    method: 'get',
    params: query,
  });
}
// 科普知识类别 搜索列表
export function knowledgeTypePage(query) {
  return request({
    url: '/publicService/scienceKnowledgeType/page',
    method: 'get',
    params: query,
  });
}
// 科普知识类别 新增
export function knowledgeTypeAdd(data) {
  return request({
    url: '/publicService/scienceKnowledgeType/add',
    method: 'post',
    data: data,
  });
}
// 科普知识类别 修改
export function knowledgeTypeEdit(data) {
  return request({
    url: '/publicService/scienceKnowledgeType/edit',
    method: 'put',
    data: data,
  });
}
// 科普知识类别 删除
export function knowledgeTypeDel(id) {
  return request({
    url: '/publicService/scienceKnowledgeType/' + id,
    method: 'delete',
  });
}
// 科普知识类别 详情
export function knowledgeTypeDetail(id) {
  return request({
    url: '/publicService/scienceKnowledgeType/' + id,
    method: 'get',
  });
}

// 科普知识管理 搜索列表
export function knowledgePage(query) {
  return request({
    url: '/publicService/scienceKnowledgeConfig/page',
    method: 'get',
    params: query,
  });
}
// 科普知识管理 新增
export function knowledgeAdd(data) {
  return request({
    url: '/publicService/scienceKnowledgeConfig/add',
    method: 'post',
    data: data,
  });
}
// 科普知识管理 修改
export function knowledgeEdit(data) {
  return request({
    url: '/publicService/scienceKnowledgeConfig/edit',
    method: 'put',
    data: data,
  });
}
// 科普知识管理 删除
export function knowledgeDel(id) {
  return request({
    url: '/publicService/scienceKnowledgeConfig/' + id,
    method: 'delete',
  });
}
// 科普知识管理 详情
export function knowledgeDetail(id) {
  return request({
    url: '/publicService/scienceKnowledgeConfig/' + id,
    method: 'get',
  });
}

// 调查问卷 搜索列表
export function quesNairePage(query) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/page',
    method: 'get',
    params: query,
  });
}
// 调查问卷 新增
export function quesNaireAdd(data) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/add',
    method: 'post',
    data: data,
  });
}
// 调查问卷 修改
export function quesNaireEdit(data) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/edit',
    method: 'put',
    data: data,
  });
}
// 调查问卷 删除
export function quesNaireDel(id) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/' + id,
    method: 'delete',
  });
}
// 调查问卷 详情
export function quesNaireDetail(id) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/' + id,
    method: 'get',
  });
}
// 调查问卷 满意度调查
export function quesNaireCount(id) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/satisfactionStatistics/' + id,
    method: 'get',
  });
}
//群众满意度接口

export function satisfactionStatisticsByYear(id) {
  return request({
    url: '/publicService/adjustmentQuestionnaireConfig/satisfactionStatisticsByYear/' + id,
    method: 'get',
  });
}
// 粉丝信息认证 列表
export function fansList(query) {
  return request({
    url: '/publicService/wechartMiniuser/page',
    method: 'get',
    params: query,
  });
}
// 粉丝信息认证 认证
export function fansCert(id) {
  return request({
    url: '/publicService/wechartMiniuser/authentication/' + id,
    method: 'put',
  });
}
// 粉丝信息认证 取消认证
export function fansCertCancel(id) {
  return request({
    url: '/publicService/wechartMiniuser/unAuthentication/' + id,
    method: 'put',
  });
}
// 粉丝信息认证 删除
export function fansDel(id) {
  return request({
    url: '/publicService/wechartMiniuser/' + id,
    method: 'delete',
  });
}
// 投诉建议 列表
export function suggestList(query) {
  return request({
    url: '/publicService/wechartSuggest/page',
    method: 'get',
    params: query,
  });
}
// 投诉建议 删除
export function suggestDel(id) {
  return request({
    url: '/publicService/wechartSuggest/' + id,
    method: 'delete',
  });
}
// 投诉建议 转工单则进行转案件处理
export function suggestOrder(id) {
  return request({
    url: '/publicService/wechartSuggest/changeEventCenter/' + id,
    method: 'put',
  });
}
// 投诉建议 详情
export function suggestDetail(id) {
  return request({
    url: '/publicService/wechartSuggest/' + id,
    method: 'get',
  });
}

// 项目评论留言 列表
export function projectComList(query) {
  return request({
    url: '/publicService/projectMiniuserComment/page',
    method: 'get',
    params: query,
  });
}
// 项目评论留言 删除
export function projectComDel(id) {
  return request({
    url: '/publicService/projectMiniuserComment/' + id,
    method: 'delete',
  });
}

// 项目基础信息管理 列表
export function projectInfoList(query) {
  return request({
    url: '/business/projectInfoNew/page',
    method: 'get',
    params: query,
  });
}
// 项目基础信息管理 置顶
export function projectInfoTop(query) {
  return request({
    url: '/business/projectInfoNew/top',
    method: 'post',
    data: query,
  });
}

// 新闻资讯 搜索列表
export function manageNewsPage(query) {
  return request({
    url: '/system/sysNewsInfo/page',
    method: 'get',
    params: query,
  });
}
// 新闻资讯 新增
export function manageNewsAdd(data) {
  return request({
    url: '/system/sysNewsInfo/add',
    method: 'post',
    data: data,
  });
}
// 新闻资讯 修改
export function manageNewsEdit(data) {
  return request({
    url: '/system/sysNewsInfo/edit',
    method: 'put',
    data: data,
  });
}
// 新闻资讯 删除
export function manageNewsDel(id) {
  return request({
    url: '/system/sysNewsInfo/' + id,
    method: 'delete',
  });
}

// 新闻资讯 详情
export function manageNewsDetail(id) {
  return request({
    url: '/system/sysNewsInfo/' + id,
    method: 'get',
  });
}

// 宣传片配置 搜索列表
export function manageVideoPage(query) {
  return request({
    url: '/publicService/propagandaVideo/page',
    method: 'get',
    params: query,
  });
}
// 宣传片配置 新增
export function manageVideoAdd(data) {
  return request({
    url: '/publicService/propagandaVideo/add',
    method: 'post',
    data: data,
  });
}
// 宣传片配置 修改
export function manageVideoEdit(data) {
  return request({
    url: '/publicService/propagandaVideo/edit',
    method: 'put',
    data: data,
  });
}
// 宣传片配置 删除
export function manageVideoDel(id) {
  return request({
    url: '/publicService/propagandaVideo/' + id,
    method: 'delete',
  });
}
// 宣传片配置 详情
export function manageVideoDetail(id) {
  return request({
    url: '/publicService/propagandaVideo/' + id,
    method: 'get',
  });
}

// 公众意见 列表
export function peopleOpinionPage(query) {
  return request({
    url: '/publicService/peopleOpinion/page',
    method: 'get',
    params: query,
  });
}

// 通知公告 列表
export function articleConfigPage(query) {
  return request({
    url: '/publicService/articleConfig/page',
    method: 'get',
    params: query,
  });
}

// 通知公告 新增
export function articleConfigAdd(data) {
  return request({
    url: '/publicService/articleConfig/add',
    method: 'post',
    data: data,
  });
}

// 通知公告 修改
export function articleConfigEdit(data) {
  return request({
    url: '/publicService/articleConfig/edit',
    method: 'put',
    data: data,
  });
}
// 宣传片配置 删除
export function articleConfigDel(id) {
  return request({
    url: '/publicService/articleConfig/' + id,
    method: 'delete',
  });
}
// 宣传片配置 详情
export function articleConfigDetail(id) {
  return request({
    url: '/publicService/articleConfig/' + id,
    method: 'get',
  });
}

// 验收台账列表
export function checkAndAcceptPage(query) {
  return request({
    url: '/business/checkAndAccept/page',
    method: 'get',
    params: query,
  });
}

// 验收台账列表 详情
export function checkAndAcceptDetail(id) {
  return request({
    url: '/business/checkAndAccept/' + id,
    method: 'get',
  });
}

// 验收台账列表 新增
export function checkAndAcceptAdd(data) {
  return request({
    url: '/business/checkAndAccept/add',
    method: 'post',
    data: data,
  });
}

// 验收台账 修改
export function checkAndAcceptEdit(data) {
  return request({
    url: '/business/checkAndAccept/edit',
    method: 'put',
    data: data,
  });
}
// 验收台账 删除
export function checkAndAcceptDel(id) {
  return request({
    url: '/business/checkAndAccept/' + id,
    method: 'delete',
  });
}

//分页搜索督查巡查台账
export function overSeePage(query) {
  return request({
    url: '/business/overSee/page',
    method: 'get',
    params: query,
  });
}
// 督查巡查台账 新增
export function overSeeAdd(data) {
  return request({
    url: '/business/overSee/add',
    method: 'post',
    data: data,
  });
}

// 督查巡查台账 修改
export function overSeeEdit(data) {
  return request({
    url: '/business/overSee/edit',
    method: 'put',
    data: data,
  });
}

// 督查巡查台账  删除
export function overSeeDel(id) {
  return request({
    url: '/business/overSee/' + id,
    method: 'delete',
  });
}

// 分页搜索污水处理厂bod浓度填报
export function sewageBodPage(query) {
  return request({
    url: '/business/sewageBod/page',
    method: 'get',
    params: query,
  });
}
// 下拉框 污水处理厂
export function facilitySewagelist(query) {
  return request({
    url: '/business/facilitySewage/list',
    method: 'get',
    params: query,
  });
}
// 污水处理厂 新增
export function sewageBodAdd(data) {
  return request({
    url: '/business/sewageBod/add',
    method: 'post',
    data: data,
  });
}

// 污水处理厂 修改
export function sewageBodEdit(data) {
  return request({
    url: '/business/sewageBod/edit',
    method: 'put',
    data: data,
  });
}

// 污水处理厂  删除
export function sewageBodDel(id) {
  return request({
    url: '/business/sewageBod/' + id,
    method: 'delete',
  });
}
// 验收台账列表 详情
export function sewageBodDetail(id) {
  return request({
    url: '/business/sewageBod/' + id,
    method: 'get',
  });
}
// 分页搜索项目通知
export function projectNoticePage(query) {
  return request({
    url: '/business/projectNotice/page',
    method: 'get',
    params: query,
  });
}
export function projectNoticeUserPage(query) {
  return request({
    url: '/business/projectNoticeUser/page',
    method: 'get',
    params: query,
  });
}

// 项目通知 新增
export function projectNoticeAdd(data) {
  return request({
    url: '/business/projectNotice/add',
    method: 'post',
    data: data,
  });
}
// 项目通知 修改
export function projectNoticeEdit(data) {
  return request({
    url: '/business/projectNotice/edit',
    method: 'put',
    data: data,
  });
}
export function projectNoticeUserEdit(data) {
  return request({
    url: '/business/projectNoticeUser/edit',
    method: 'put',
    data: data,
  });
}

// 项目通知  删除
export function projectNoticeDel(id) {
  return request({
    url: '/business/projectNotice/' + id,
    method: 'delete',
  });
}
// 项目人员通知
export function countUnread(data) {
  return request({
    url: '/business/projectNoticeUser/countUnread',
    method: 'post',
    data: data,
  });
}

// 一张图 降雨报告
export function rainfallSessionInfoList(query) {
  return request({
    url: '/business/preventFlood/rainfallSessionInfo/list',
    method: 'get',
    params: query,
  });
}