761 lines
30 KiB
TypeScript
761 lines
30 KiB
TypeScript
import { ResPage, User } from "@/api/types/common";
|
||
import { ReqAiMonitorDev, ResAiMonitorDev, ReqAiadd, ResAiadd } from "@/api/types/government/AIwaring";
|
||
// import { BASEURL } from "@/api/config/servicePort";
|
||
import http from "@/api";
|
||
|
||
const BASEURL = import.meta.env.VITE_API_URL;
|
||
|
||
/**
|
||
* @name 政府
|
||
*/
|
||
|
||
// 政府的首页
|
||
export const getHomePage = () => {
|
||
return http.get(BASEURL + `/xmgl/baseModule/queryBySelf`);
|
||
};
|
||
// 获取所有模块标签 就是labelName
|
||
export const getModuleList = () => {
|
||
return http.get(BASEURL + `/xmgl/baseModule/queryTitle`);
|
||
};
|
||
|
||
// 项目审批 !!!!!!!!!!!!!
|
||
// 获取项目审批页面信息
|
||
export const getProjectApproveList = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/project/page`, params);
|
||
};
|
||
// * 项目通过与驳回
|
||
export const editProjectApprove = (params: { projectId: string; suggest: number }) => {
|
||
return http.post(BASEURL + `/gov/project/examine`, params);
|
||
};
|
||
|
||
// 企业审批 !!!!!!!!!!!!!!!!!!!!!
|
||
export const getCompanyApproveList = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/enterprise/page`, params);
|
||
};
|
||
// 通过id查询企业信息
|
||
export const getIdCompanyList = (params: { enterpriseId: string }) => {
|
||
return http.post(BASEURL + `/gov/enterprise/queryById`, params);
|
||
};
|
||
// 通过id查询企业详细信息
|
||
export const getIdCompanyDetail = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/enterprise/getDetailById`, params);
|
||
};
|
||
// 企业审批的编辑
|
||
export const editCompanyApprove = (params: { enterpriseId: string; suggest: number }) => {
|
||
return http.post(BASEURL + `/gov/enterprise/examine`, params);
|
||
};
|
||
|
||
// 工程审批!!!!!!!!!!!!!!!!!!
|
||
export const getEngineeringApproveList = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/engineering/page`, params);
|
||
};
|
||
// 工程审批new!!!!!!!!!!!!!!!!!!
|
||
export const getNewEngineeringApproveList = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/engineering/examinePage`, params);
|
||
};
|
||
|
||
// 通过id查询项目工程详细信息
|
||
export const getIdEngApproveList = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/queryDetailById`, params);
|
||
};
|
||
|
||
// 通过id查询项目工程表信息
|
||
export const getIdEngApprovettable = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/queryById`, params);
|
||
};
|
||
|
||
// 编辑项目工程表信息
|
||
export const getEditEngApprove = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/edit`, params);
|
||
};
|
||
// 工程审批与驳回
|
||
export const rejectEngineeringApprove = (params: { id: string; suggest: number; rejectReason?: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/examine`, params);
|
||
};
|
||
|
||
// 修改工程定位信息
|
||
export const editEngineeringApprovePosition = (params: { id: string; latitude: string; longitude: string; address?: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/editPosition`, params);
|
||
};
|
||
// 修改工程定位信息
|
||
export const editEngineeringApproveState = (params: { state: number | undefined; id: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/editState`, params);
|
||
};
|
||
|
||
// 所在区域
|
||
export const getEngineeringApproveArea = () => {
|
||
return http.get(BASEURL + `/gov/engineering/queryDistrict`);
|
||
};
|
||
|
||
// 用户管理 !!!!!!!!!!!!!!!!!
|
||
// 角色管理!!!!!!!!
|
||
export const getRoleList = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/systemRole/page`, params);
|
||
};
|
||
// 新增角色 添加系统角色信息
|
||
export const addRole = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemRole/add`, params);
|
||
};
|
||
// 编辑系统角色信息
|
||
export const editRole = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemRole/edit`, params);
|
||
};
|
||
// 删除系统角色信息
|
||
export const deleteRole = (params: { roleId: number }) => {
|
||
return http.post(BASEURL + `/gov/systemRole/delete`, params);
|
||
};
|
||
// 编辑角色权限
|
||
export const editRolePermissions = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemRole/editMenu`, params);
|
||
};
|
||
// 上下两个错误 具体看后续
|
||
// 通过id查询系统角色信息
|
||
export const getSystemRole = (params: { id: number }) => {
|
||
return http.post(BASEURL + `/gov/systemRole/queryById`, params);
|
||
};
|
||
// 获取树形模块、菜单全部信息
|
||
export const getTreemRoleList = () => {
|
||
return http.get(BASEURL + `/xmgl/baseMenu/queryAll`);
|
||
};
|
||
// 列表查询系统角色信息 这里用来用户管理的下拉框显示
|
||
export const getRoleNamelist = (params: { state: number | string }) => {
|
||
return http.post(BASEURL + `/gov/systemRole/list`, params);
|
||
};
|
||
|
||
// 列表查询系统用户表信息 用户通知公告中获取政务人员
|
||
export const getgovNamelist = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/systemUser/list`, params, { headers: { noLoading: true } });
|
||
};
|
||
// 政务列表查询企业 通知通告的企业
|
||
export const getentNamelist = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/enterprise/list`, params, { headers: { noLoading: true } });
|
||
};
|
||
// 同上 项目
|
||
export const getproNamelist = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/project/list`, params, { headers: { noLoading: true } });
|
||
};
|
||
// 获取已选中分配监督项目
|
||
export const getDistributeProjectlist = (params: any) => {
|
||
return http.post(BASEURL + `/gov/acceptDataScope/list`, params, { headers: { noLoading: true } });
|
||
};
|
||
// 编辑分配监督项目
|
||
export const distributeProjectEdit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/acceptDataScope/edit`, params, { headers: { noLoading: true } });
|
||
};
|
||
// 部门管理!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
// 层级查询政府内部部门信息
|
||
export const getTreeDeptList = () => {
|
||
return http.get(BASEURL + `/gov/systemDept/tree`);
|
||
};
|
||
// 列表查询政府内部部门信息
|
||
export const getTreeList = (params?: { deptId: number | string; status?: number }) => {
|
||
return http.post(BASEURL + `/gov/systemDept/list`, params);
|
||
};
|
||
// 新增角色 添加政府内部部门信息
|
||
export const addTreeDeptMent = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemDept/add`, params);
|
||
};
|
||
// 编辑政府内部部门信息
|
||
export const editTreeDeptMent = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemDept/edit`, params);
|
||
};
|
||
// 删除系统用户表信息
|
||
export const delTreeDeptMent = (params: { deptId: number }) => {
|
||
return http.post(BASEURL + `/gov/systemDept/delete`, params);
|
||
};
|
||
// 通过id查询系统菜单信息
|
||
export const getTreeByIdList = (params: { roleId: number | string }) => {
|
||
return http.post(BASEURL + `/xmgl/baseMenu/queryByRole`, params);
|
||
};
|
||
|
||
// 用户管理!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
export const getUserPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/systemUser/page`, params);
|
||
};
|
||
// 新增角色 添加系统用户表信息
|
||
export const addUser = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemUser/add`, params);
|
||
};
|
||
// 编辑
|
||
export const editUser = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/systemUser/edit`, params);
|
||
};
|
||
// 删除系统用户表信息
|
||
export const deleteUser = (params: { userId: number }) => {
|
||
return http.post(BASEURL + `/gov/systemUser/delete`, params);
|
||
};
|
||
|
||
// AI预警!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
// 预警地图!!!!!!!!!!!
|
||
// 分页列表查询AI预警项目信息
|
||
export const getAIprojectPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorDev/projectPage`, params);
|
||
};
|
||
// 分页列表查询AI预警工程信息
|
||
export const getAIengineeringPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorDev/engineeringPage`, params);
|
||
};
|
||
|
||
// 列表查询项目信息 // 主要获取地图下的设备列表
|
||
export const AIproList = (params: User.ReqUserParams | {}) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/project/list`, params);
|
||
};
|
||
// 列表查询工程信息 // 主要获取地图下的设备列表
|
||
export const AIengList = (params: User.ReqUserParams | {}) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/engineering/list`, params);
|
||
};
|
||
// 统计AI预警设备数据
|
||
export const getAIstatistics = () => {
|
||
return http.get<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorDev/statistics`);
|
||
};
|
||
// 列表查询AI预警设备管理信息
|
||
export const getAiMonitorDev = (params: ReqAiMonitorDev) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/aiMonitorDev/list`, params);
|
||
};
|
||
// 列表查询AI预警设备管理信息
|
||
export const getAIdetail = (params: ReqAiMonitorDev) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/aiMonitorDev/queryDetailById`, params);
|
||
};
|
||
|
||
// 通过项目SN查询地图AI预警详细信息
|
||
export const getAIprodetail = (params: ReqAiMonitorDev) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/project/queryMapAiAlarmById`, params);
|
||
};
|
||
// 通过工程SN查询地图AI预警详细信息
|
||
export const getAIengdetail = (params: ReqAiMonitorDev) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/engineering/queryMapAiAlarmById`, params);
|
||
};
|
||
|
||
// 接入情况!!!!!!!!!!!!!!!!!
|
||
// 分页列表查询AI报警记录信息
|
||
export const getAIQuestionPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorAlarm/page`, params);
|
||
};
|
||
|
||
// 新增预警整改记录
|
||
export const addAIrecords = (params: ReqAiadd) => {
|
||
return http.post<ResPage<ResAiadd>>(BASEURL + `/gov/aiMonitorAlarm/addQuestion`, params);
|
||
};
|
||
|
||
// 整改记录!!!!!!!!!!!!!!
|
||
// 分页列表查询
|
||
export const getAIRecordPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorAlarm/page`, params);
|
||
};
|
||
// 整改记录下的项目分页
|
||
export const getAIprojectAlarmPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorAlarm/projectPage`, params);
|
||
};
|
||
// 整改记录下的工程分页
|
||
export const getAIengAlarmPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/aiMonitorAlarm/engineeringPage`, params);
|
||
};
|
||
|
||
// 扬尘管理!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
// 分页列表查询扬尘工程信息
|
||
export const getDustprojectPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/environmentDev/projectPage`, params);
|
||
};
|
||
// 分页列表查询AI预警工程信息
|
||
export const getDustengineeringPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/environmentDev/engineeringPage`, params);
|
||
};
|
||
// 统计扬尘设备数据
|
||
export const getDuststatistics = () => {
|
||
return http.get<ResPage<User.ResUserList>>(BASEURL + `/gov/environmentDev/statistics`);
|
||
};
|
||
// 列表查询扬尘设备管理信息
|
||
export const getDustMonitorDev = (params: ReqAiMonitorDev) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/environmentDev/list`, params);
|
||
};
|
||
// 通过设备ID查询设备详细信息
|
||
// export const getDustdetail = (params: ResAiadd) => {
|
||
// return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/environmentDev/queryDetailById`, params);
|
||
// };
|
||
|
||
// 通过项目SN查询地图扬尘预警详细信息
|
||
export const getproDetail = (params: ResAiadd) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/project/queryMapEnvironAlarmById`, params);
|
||
};
|
||
// 通过工程SN查询地图扬尘预警详细信息
|
||
export const getengDetail = (params: ResAiadd) => {
|
||
return http.post<ResPage<ResAiMonitorDev>>(BASEURL + `/gov/engineering/queryMapEnvironAlarmById`, params);
|
||
};
|
||
|
||
// 视频监控!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
// 分页列表查询视频管理表信息
|
||
export const getVideoQuestionPage = (params: User.ReqUserParams) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/monitorQuestion/page`, params);
|
||
};
|
||
// 添加视频抓拍记录信息
|
||
export const addmonitorQuestion = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/monitorQuestion/add`, params);
|
||
};
|
||
|
||
// 获取项目监控点树形列表
|
||
export const getvideoProTreeList = (params: {}) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/projectMonitor/projectTree`, params);
|
||
};
|
||
// 获取工程监控点树形列表
|
||
export const getvideoEngTreeList = (params: {}) => {
|
||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/projectMonitor/engineeringTree`, params);
|
||
};
|
||
|
||
// 质量监督执法-------
|
||
// 检查台账顶部统计信息
|
||
export const statisticsInfo = (params: any) => {
|
||
return http.post(BASEURL + `/gov/inspectRecord/stat`, params);
|
||
};
|
||
// 检查台账表格
|
||
export const statisticsTable = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectRecord/page`, params);
|
||
};
|
||
// 查看整改相关详细信息
|
||
export const relativeInfo = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/inspectRecord/queryById`, params);
|
||
};
|
||
// 单个整改情况审核
|
||
export const singleOptionAudit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/inspectQuestionExamine/edit`, params);
|
||
};
|
||
// 整个整改单审核
|
||
export const allOptionAudit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/inspectRecord/examine`, params);
|
||
};
|
||
// 查看整改情况时间轴列表
|
||
export const timeLineData = (params: { inspectQuestionId: string }) => {
|
||
return http.post(BASEURL + `/gov/inspectQuestionExamine/list`, params);
|
||
};
|
||
// 质量检查库大项列表
|
||
export const bigStore = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibrary/list`, params);
|
||
};
|
||
// 质量检查库大项新增
|
||
export const bigStoreAdd = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibrary/add`, params);
|
||
};
|
||
// 质量检查库大项编辑
|
||
export const bigStoreUpdate = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibrary/edit`, params);
|
||
};
|
||
// 质量检查库大项删除
|
||
export const bigStoreDelete = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/inspectLibrary/delete`, params);
|
||
};
|
||
// 质量检查库小项分页列表
|
||
export const smallStore = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibraryDetail/page`, params);
|
||
};
|
||
// 质量检查库小项列表
|
||
export const smallStoreList = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibraryDetail/list`, params);
|
||
};
|
||
// 质量检查库小项新增
|
||
export const smallStoreAdd = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibraryDetail/add`, params);
|
||
};
|
||
// 质量检查库小项编辑
|
||
export const smallStoreUpdate = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectLibraryDetail/edit`, params);
|
||
};
|
||
// 质量检查库小项删除
|
||
export const smallStoreDelete = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/inspectLibraryDetail/delete`, params);
|
||
};
|
||
// 检测台账新增隐患问题
|
||
export const addDividerQuestion = (params: FormData) => {
|
||
return http.post(BASEURL + `/gov/inspectRecord/save`, params);
|
||
};
|
||
|
||
// 劳务实名制--------
|
||
// 人员出勤监管-顶部统计数据
|
||
export const attendanceStatistics = () => {
|
||
return http.get(BASEURL + `/gov/workerStat/attendStatistics`);
|
||
};
|
||
// 人员出勤监管-出勤统计数据
|
||
export const attendanceCountStatistics = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerStat/attendRecord`, params);
|
||
};
|
||
// 工人属性分析统计数据
|
||
export const analysisCountStatistics = () => {
|
||
return http.get(BASEURL + `/gov/workerStat/attribute`);
|
||
};
|
||
// 施工项目数据
|
||
export const workProjectList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerStat/engineeringPage`, params);
|
||
};
|
||
// 参建单位分页数据
|
||
export const unitPageList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/company/page`, params);
|
||
};
|
||
// 参建班组分页数据
|
||
export const classGroupList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/teamInfo/page`, params);
|
||
};
|
||
// 人员信息统计数据
|
||
export const memberCountData = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerInfo/getByType`, params);
|
||
};
|
||
// 人员信息分页数据
|
||
export const memberPageList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerInfo/page`, params);
|
||
};
|
||
// 出勤列表分页数据
|
||
export const attendancePageList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerInfo/attendStat`, params);
|
||
};
|
||
// 在册人员分页数据
|
||
export const registerdMemberList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerStat/workerPage?current=${params.current}&size=${params.size}`, params);
|
||
};
|
||
// 在册人员详情数据
|
||
export const registerdMemberDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/workerStat/queryDetailBySn`, params);
|
||
};
|
||
// 列表查询视频管理表信息
|
||
// export const getVideo = (params: { projectSn?: string; engineeringSn?: string }) => {
|
||
// return http.post<ResPage<User.ResUserList>>(BASEURL + `/gov/projectMonitor/engineeringTree`, params);
|
||
// };
|
||
|
||
// 公共内容------
|
||
// 获取工程以及工程主体信息
|
||
export const getEngineerInfo = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/engineering/queryAndMainById`, params);
|
||
};
|
||
// 获取项目详情信息
|
||
export const getProjectInfo = (params: { id: string }) => {
|
||
return http.post(BASEURL + `/gov/project/queryById`, params);
|
||
};
|
||
|
||
//无人机影像数据列表
|
||
// 分页列表查询无人机影像项目信息
|
||
export const getUnmannedProjectPage = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/unmannedVideo/projectPage`, params);
|
||
};
|
||
|
||
// 分页列表查询无人机影像工程信息
|
||
export const getUnmannedEngineeringPage = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/unmannedVideo/engineeringPage`, params);
|
||
};
|
||
|
||
// 分页列表查询无人机影像数据列表
|
||
export const getUnmannedPage = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/unmannedVideo/page`, params);
|
||
};
|
||
|
||
//无人机影像设备列表
|
||
// 分页列表查询无人机影像项目信息
|
||
export const getDeviceProjectPage = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/unmannedDevice/projectPage`, params);
|
||
};
|
||
|
||
// 分页列表查询无人机影像工程信息
|
||
export const getDeviceEngineeringPage = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/unmannedDevice/engineeringPage`, params);
|
||
};
|
||
|
||
// 分页列表查询无人机影像数据列表
|
||
export const getDevicePage = (params: {}) => {
|
||
return http.post(BASEURL + `/gov/unmannedDevice/page`, params);
|
||
};
|
||
|
||
// 分部分项全部数据
|
||
export const bigItemGovermentAll = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectSubItem/list`, params);
|
||
};
|
||
// 分部分项列表
|
||
export const bigItemGovermentList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectSubItem/page`, params);
|
||
};
|
||
|
||
// 全景计划
|
||
// 全景计划新增
|
||
export const globalPlanGovermentAdd = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectNodePlan/add`, params);
|
||
};
|
||
// 全景计划编辑
|
||
export const globalPlanGovermentEdit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectNodePlan/edit`, params);
|
||
};
|
||
// 全景计划分页列表
|
||
export const globalPlanGovermentList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectNodePlan/page`, params);
|
||
};
|
||
// 全景计划项目分页列表
|
||
export const globalPlanProList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectNodePlan/projectPage`, params);
|
||
};
|
||
// 全景计划工程分页列表
|
||
export const globalPlanEngList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/projectNodePlan/engineeringPage`, params);
|
||
};
|
||
|
||
// 投资支付管理
|
||
// 投资支付合同工程列表
|
||
export const payGovermentEngList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentContract/engineeringPage`, params);
|
||
};
|
||
// 投资支付合同项目列表
|
||
export const payGovermentProList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentContract/projectPage`, params);
|
||
};
|
||
// 投资支付合同列表
|
||
export const payGovermentList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentContract/page`, params);
|
||
};
|
||
// 投资支付合同新增
|
||
export const payGovermentContactAdd = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentContract/add`, params);
|
||
};
|
||
// 投资支付列表
|
||
export const payGovermentAllList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentPayment/page`, params);
|
||
};
|
||
// 投资支付新增
|
||
export const payGovermentAdd = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentPayment/add`, params);
|
||
};
|
||
// 未支付申报时段列表
|
||
export const govermentApplyTimeList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentApply/unPayList`, params);
|
||
};
|
||
// 已支付申报时段列表
|
||
export const alreadyGovermentApplyTimeList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentApply/payList`, params);
|
||
};
|
||
// 投资支付子项列表
|
||
export const payGovermentSubItemList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentPaymentItem/list`, params);
|
||
};
|
||
// 投资支付子项详细数据
|
||
export const payGovermentSubItemDetail = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentPaymentDetail/page`, params);
|
||
};
|
||
// 投资支付子项统计数据
|
||
export const payGovermentSubItemCount = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentPaymentStat/queryByApplyId`, params);
|
||
};
|
||
// 申报时段分页列表
|
||
export const applyTimeGovermentList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentApply/page`, params);
|
||
};
|
||
// 申报时段新增
|
||
export const applyTimeAdd = (params: any) => {
|
||
return http.post(BASEURL + `/gov/investmentApply/add`, params);
|
||
};
|
||
|
||
// 工程验收
|
||
// 验收计划项目分页列表
|
||
export const acceptancePlanProList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptPlan/projectPage`, params);
|
||
};
|
||
// 验收计划工程分页列表
|
||
export const acceptancePlanEngList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptPlan/engineeringPage`, params);
|
||
};
|
||
// 验收计划分页列表
|
||
export const acceptancePlanPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptPlan/page`, params);
|
||
};
|
||
|
||
// 验收申请项目分页列表
|
||
export const acceptanceApplyProList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptApply/projectPage`, params);
|
||
};
|
||
// 验收申请工程分页列表
|
||
export const acceptanceApplyEngList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptApply/engineeringPage`, params);
|
||
};
|
||
// 验收申请分页列表
|
||
export const acceptanceApplyPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptApply/page`, params);
|
||
};
|
||
// 验收申请详情
|
||
export const acceptanceApplyDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptApply/queryById`, params);
|
||
};
|
||
// 验收申请资料审批
|
||
export const acceptanceApplyAudit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/checkAcceptApply/examine`, params);
|
||
};
|
||
// 现场检查详情
|
||
export const locationCheckDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/acceptInspectRecord/queryById`, params);
|
||
};
|
||
// 现场检查整改记录
|
||
export const locationUpdateDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/acceptInspectQuestionExamine/list`, params);
|
||
};
|
||
// 单个整改情况审核
|
||
export const locationOptionAudit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/acceptInspectQuestionExamine/edit`, params);
|
||
};
|
||
// 整个整改单审核
|
||
export const locationAllOptionAudit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/acceptInspectRecord/examine`, params);
|
||
};
|
||
|
||
// 塔吊在线监管
|
||
// 设备管理列表
|
||
export const towerCraneEquipAll = (params: any) => {
|
||
return http.post(BASEURL + `/gov/towerCrane/list`, params);
|
||
};
|
||
// 获取运行数据
|
||
export const operationData = (params: any) => {
|
||
return http.post(BASEURL + `/gov/towerCraneCurrentData/getOperation`, params);
|
||
};
|
||
// 分页列表查询实时数据项目信息
|
||
export const getRealTimepPojectPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/towerCrane/projectPage`, params);
|
||
};
|
||
// 分页列表查询实时数据工程信息
|
||
export const getRealTimeEngineeringPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/towerCrane/engineeringPage`, params);
|
||
};
|
||
|
||
// 报警数据分页列表
|
||
export const towerCraneAlarmPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/towerCraneAlarm/page`, params);
|
||
};
|
||
|
||
// 实时数据分页列表
|
||
export const towerCraneDataPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/towerCraneCurrentData/page`, params);
|
||
};
|
||
|
||
// 升降机监管
|
||
// 设备管理列表
|
||
export const lifterEquipAll = (params: any) => {
|
||
return http.post(BASEURL + `/gov/lifter/list`, params);
|
||
};
|
||
// 获取运行数据
|
||
export const lifterOperationData = (params: any) => {
|
||
return http.post(BASEURL + `/gov/lifterCurrentData/getOperation`, params);
|
||
};
|
||
// 分页列表查询实时数据项目信息
|
||
export const getLifterRealTimePojectPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/lifter/projectPage`, params);
|
||
};
|
||
// 分页列表查询实时数据工程信息
|
||
export const getLifterRealTimeEngineeringPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/lifter/engineeringPage`, params);
|
||
};
|
||
|
||
// 报警数据分页列表
|
||
export const lifterAlarmPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/lifterAlarm/page`, params);
|
||
};
|
||
|
||
// 实时数据分页列表
|
||
export const lifterDataPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/lifterCurrentData/page`, params);
|
||
};
|
||
|
||
// -------起重机械备案
|
||
// 起重机械设备管理分页列表
|
||
export const hoistEquipPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDevice/page`, params);
|
||
};
|
||
// 起重机械设备详情信息
|
||
export const hoistEquipDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDevice/queryDetailById`, params);
|
||
};
|
||
// 起重机械设备审批列表
|
||
export const hoistEquipApplyList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDeviceExamine/list`, params);
|
||
};
|
||
// 起重机械设备安/拆审批列表
|
||
export const hoistEquipInstallList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDeviceUse/page`, params);
|
||
};
|
||
// 起重机械设备审批申请附件信息
|
||
export const hoistEquipApplyFile = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDeviceExamine/queryAnnexFile`, params);
|
||
};
|
||
// 起重机械设备安/拆审批申请附件信息
|
||
export const hoistEquipInstallApplyFile = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDeviceUse/queryAnnexFile`, params);
|
||
};
|
||
// 起重机械设备申请审批
|
||
export const hoistEquipApplyAudit = (params: any) => {
|
||
return http.post(BASEURL + `/gov/liftingDevice/examine`, params);
|
||
};
|
||
// 监理月报
|
||
// 月报列表
|
||
export const monthlyReportPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/monthlyReport/page`, params);
|
||
};
|
||
// 新增月报
|
||
export const submitMonthlyReport = (params: any) => {
|
||
return http.post(BASEURL + `/gov/monthlyReport/add`, params);
|
||
};
|
||
// 编辑月报
|
||
export const updateMonthlyReport = (params: any) => {
|
||
return http.post(BASEURL + `/gov/monthlyReport/edit`, params);
|
||
};
|
||
// 月报详细信息
|
||
export const monthlyReportDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/monthlyReport/queryById`, params);
|
||
};
|
||
// 通过ID查询工程主体信息
|
||
export const engineerMainDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/engineering/queryAndMainById`, params);
|
||
};
|
||
// 分页列表查询监理月报项目信息
|
||
export const getMonthlyReportPojectPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/monthlyReport/projectPage`, params);
|
||
};
|
||
// 分页列表查询监理月报工程信息
|
||
export const getMonthlyReportEngineeringPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/monthlyReport/engineeringPage`, params);
|
||
};
|
||
|
||
// 危大工程
|
||
// 危大工程统计信息
|
||
export const dangerousEngineerCount = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineering/stat`, params);
|
||
};
|
||
// 分页列表查询危大工程项目信息
|
||
export const getDangerousEngineeringPojectPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineering/projectPage`, params);
|
||
};
|
||
// 分页列表查询危大工程工程信息
|
||
export const getDangerousEngineeringEngineeringPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineering/engineeringPage`, params);
|
||
};
|
||
// 危大工程台账
|
||
export const dangerousEngineerPage = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineering/page`, params);
|
||
};
|
||
// 删除危大工程
|
||
export const dangerousEngineerDelete = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineering/delete`, params);
|
||
};
|
||
// 根据id查询危大工程信息
|
||
export const dangerousEngineerDetails = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineering/queryById`, params);
|
||
};
|
||
// 专项施工方案列表
|
||
export const constructionSchemeList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineeringProgramme/list`, params);
|
||
};
|
||
// 专项施工方案附件信息
|
||
export const constructionSchemeFile = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineeringProgramme/queryAnnexFile`, params);
|
||
};
|
||
|
||
// 施工进度列表
|
||
export const constructionProgressList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineeringProgress/list`, params);
|
||
};
|
||
|
||
// 现场巡视列表
|
||
export const localInspectList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineeringInspect/list`, params);
|
||
};
|
||
|
||
// 危大工程验收列表
|
||
export const engineerAcceptList = (params: any) => {
|
||
return http.post(BASEURL + `/gov/dangerousEngineeringCheckAccept/list`, params);
|
||
};
|