Newer
Older
DH_Apicture / src / api / DP_api / sentiment.js
@zhangqy zhangqy 27 days ago 2 KB first commit
import request from '@/utils/request';
//今日舆情跟踪
export const queryTodayAddNews = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/queryTodayAddNews`,
    method: 'post',
    params,
  });
};
// 7日舆情跟踪
export const querySevenDayNews = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/querySevenDayNews`,
    method: 'post',
    params,
  });
};
// 30日舆情跟踪
export const queryThirtyDayNews = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/queryThirtyDayNews`,
    method: 'post',
    params,
  });
};
// 年度舆情跟踪
export const queryYearsNews = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/queryYearsNews`,
    method: 'post',
    params,
  });
};
// 一年度舆情统计
export const queryYearsNewsCharts = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/queryYearsNewsCharts`,
    method: 'post',
    params,
  });
};
// 舆情跟踪管理
export const informationWuhanPaishuiPage = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/page`,
    method: 'get',
    params,
  });
};
export const informationWuhanPaishuiList = params => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/list`,
    method: 'get',
    params,
  });
};
// 舆情跟踪管理
export const queryAllnewsClass = data => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/queryAllnewsClass`,
    method: 'post',
    data,
  });
};
export const queryAllnewsUpdate = data => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/update`,
    method: 'post',
    data,
  });
};
export const queryAllnewsNewsFreeback = data => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/newsFreeback`,
    method: 'post',
    data,
  });
};
export const queryClassType = data => {
  return request({
    url: `/publicOpinion/informationWuhanPaishui/queryClassType`,
    method: 'post',
    data,
  });
};
// 查询部门列表
export function listDept(query) {
  return request({
    url: '/system/dept/list',
    method: 'get',
    params: query,
  });
}

// 查询部门列表(排除节点)
export function listDeptExcludeChild(deptId) {
  return request({
    url: '/system/dept/list/exclude/' + deptId,
    method: 'get',
  });
}
// 查询用户列表
export function listUser(query) {
  return request({
    url: '/system/user/list',
    method: 'get',
    params: query,
  });
}

//值班人员
export function deptUser(id) {
  return request({
    url: '/system/dept/' + id,
    method: 'get',
  });
}