Newer
Older
Nanping_sponge_SJJC / src / api / map-xuncha.js
@liyingjing liyingjing on 25 Oct 2023 1 KB 数据检测
import request from '@/utils/request'

// 查询巡查基础信息分页
export function pagepatrolBasicInfo (query) {
  return request({
    url: "/business/patrol/homepage/baseList",
    method: "post",
    params: query,
  });
}


// 查询巡查日志列表
export function listpatrolLog (query) {
  return request({
    url: "/business/patrol/homepage/listLog",
    method: "post",
    data: query,
  });
}

//问题类型统计
export function caseType (data) {
  return request({
    url: "/business/patrol/homepage/listCaseType",
    method: "post",
    data: data,
  });
}

//4.巡查日志问题状态统计
export function listCaseState (data) {
  return request({
    url: "/business/patrol/homepage/listCaseState",
    method: "post",
    data: data,
  });
}

//问题来源统计
export function caseSource (data) {
  return request({
    url: "/business/patrol/homepage/caseSource",
    method: "post",
    data: data,
  });
}

// 分页查询我的巡查案件
export function pagepatrolMyCase (query) {
  return request({
    url: "/business/patrol/homepage/listCase",
    method: "post",
    data: query,
  });
}


// 新增
export function patrolCaseadd (query) {
  return request({
    url: "/business/patrolCase/add",
    method: "post",
    data: query,
  });
}

// 导出
export function patrolExamineexport (query) {
  return request({
    url: "/business/patrolExamine/export",
    method: "post",
    data: query,
  });
}