import { ResPage, User } from "@/api/types/common"; // import { BASEURL } from "@/api/config/servicePort"; import http from "@/api"; const BASEURL = import.meta.env.VITE_API_URL; /** * @name 惠州项目 */ // 分析token export const userAnalysis = (params: any) => { return http.post(BASEURL + `/xmgl/systemUser/analysis`, params, { headers: { Authorization: "" } }); }; // 分部分项管理------- // 分部分项列表 export const bigItemList = (params: any) => { return http.post(BASEURL + `/project/projectSubItem/page`, params); }; // 分部分项全部数据 export const bigItemAll = (params: any) => { return http.post(BASEURL + `/project/projectSubItem/list`, params); }; // 分部分项父级数据 export const parentItemAll = (params: any) => { return http.post(BASEURL + `/project/projectSubItem/parentPage`, params); }; // 分部分项新增 export const addBigItem = (params: any) => { return http.post(BASEURL + `/project/projectSubItem/add`, params); }; // 分部分项编辑 export const updateBigItem = (params: any) => { return http.post(BASEURL + `/project/projectSubItem/edit`, params); }; // 分部分项删除 export const deleteBigItem = (params: any) => { return http.post(BASEURL + `/project/projectSubItem/delete`, params); }; // 分部分项列表(政务端) export const bigItemGovermentList = (params: any) => { return http.post(BASEURL + `/gov/projectSubItem/page`, params); }; // 分部分项父级列表(政务端) export const parentItemGovermentList = (params: any) => { return http.post(BASEURL + `/gov/projectSubItem/parentPage`, params); }; // 分部分项全部数据(政务端) export const bigItemGovermentAll = (params: any) => { return http.post(BASEURL + `/gov/projectSubItem/list`, params); }; // 投资支付管理(项目端)------ // 投资支付合同管理分页列表 export const contactList = (params: any) => { return http.post(BASEURL + `/project/investmentContract/page`, params); }; // 投资支付管理列表 export const payList = (params: any) => { return http.post(BASEURL + `/project/investmentPayment/page`, params); }; // 投资支付子项列表 export const paySubItemList = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentItem/page`, params); }; // 投资支付子项新增 export const paySubItemAdd = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentItem/add`, params); }; // 投资支付统计管理 export const payCountList = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentStat/queryByApplyId`, params); }; // 投资支付统计新增 export const payCountAdd = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentStat/add`, params); }; // 投资支付统计编辑 export const payCountEdit = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentStat/edit`, params); }; // 投资支付子项详细列表 export const subItemDetailList = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentDetail/page`, params); }; // 投资支付子项详细新增 export const subItemDetailAdd = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentDetail/add`, params); }; // 申报时段列表 export const applyTimeList = (params: any) => { return http.post(BASEURL + `/project/investmentApply/payList`, params); }; // 申报时段分页列表 export const applyTimePage = (params: any) => { return http.post(BASEURL + `/project/investmentApply/page`, params); }; // 申报时段新增 export const applyTimeAdd = (params: any) => { return http.post(BASEURL + `/project/investmentApply/add`, 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 globalPlanList = (params: any) => { return http.post(BASEURL + `/project/projectNodePlan/page`, params); }; // 全景计划新增 export const globalPlanAdd = (params: any) => { return http.post(BASEURL + `/project/projectNodePlan/add`, params); }; // 全景计划编辑 export const globalPlanEdit = (params: any) => { return http.post(BASEURL + `/project/projectNodePlan/edit`, 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 screenInverstment = (params: any) => { return http.get(BASEURL + `/hzzw/index/payment`, params); }; // 大屏----项目端 // 支付管理 export const screenPayment = (params: any) => { return http.get(BASEURL + `/hzxm/index/payment`, params); }; // 考核管理-----政务端 // 评分标准分页列表 export const scoreStandardPage = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreStandard/page`, params); }; // 评分标准新增检查项 export const scoreStandardAdd = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreStandard/add`, params); }; // 评分标准编辑检查项 export const scoreStandardEdit = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreStandard/edit`, params); }; // 评分标准删除检查项 export const scoreStandardDelete = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreStandard/delete`, params); }; // 标准分合计 export const scoreSum = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreStandard/score`, params); }; // 单位分页列表 export const scorePage = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScore/page`, params); }; // 根据企业类型查询企业列表 export const enterpriseList = (params: any) => { return http.post(BASEURL + `/gov/enterprise/queryByMainType`, params); }; // 查询项目列表 export const engineerList = (params: any) => { return http.post(BASEURL + `/gov/engineering/list`, params); }; // 新增单位 export const scoreAdd = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScore/add`, params); }; // 查看单位评分明细表(已打分时) export const scoreDetail = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreDetail/listByItem`, params); }; // 查看单位评分明细表(未打分时) export const noScoreDetail = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreStandard/listByItem`, params); }; // 单位评分明细表(打分) export const addScoreDetail = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScoreDetail/add`, params); }; // 查看排行榜列表得分信息 export const rankScoreList = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScore/rankList`, params); }; // 查看排行榜企业数量 export const rankCompanyCount = (params: any) => { return http.post(BASEURL + `/gov/enterpriseScore/rankEnterpriseStat`, params); }; // 企业端 // 获取项目信息 export const getEntProjectInfo = (params: any) => { return http.post(BASEURL + `/hzent/index/projectInfo`, params); }; // 获取安全质量信息 export const getEntInspectInfo = (params: any) => { return http.post(BASEURL + `/hzent/index/inspect`, params); }; // 获取里程碑数据 export const getEntSubItem = (params: any) => { return http.post(BASEURL + `/hzent/index/subItem`, params); }; // 支付管理 export const screenEntPayment = (params: any) => { return http.post(BASEURL + `/hzent/index/payment`, params); }; // 分页列表查询进度计划工程 export const getEntSubItemproject = (params: User.ReqUserParams) => { return http.post>(BASEURL + `/ent/projectSubItem/engineeringPage`, params); }; // 分部分项全部数据 export const bigEntItemAll = (params: any) => { return http.post(BASEURL + `/ent/projectSubItem/list`, params); }; // 分部分项分页数据 export const bigEntItemPage = (params: any) => { return http.post(BASEURL + `/ent/projectSubItem/page`, params); }; // 分部分项新增 export const addEntBigItem = (params: any) => { return http.post(BASEURL + `/ent/projectSubItem/add`, params); }; // 分部分项编辑 export const updateEntBigItem = (params: any) => { return http.post(BASEURL + `/ent/projectSubItem/edit`, params); }; // 分部分项删除 export const deleteEntBigItem = (params: any) => { return http.post(BASEURL + `/ent/projectSubItem/delete`, params); }; // 分页列表查询全景计划工程 export const getEntGlobalPlanproject = (params: User.ReqUserParams) => { return http.post>(BASEURL + `/ent/projectNodePlan/engineeringPage`, params); }; // 全景计划分页列表 export const entGlobalPlanList = (params: any) => { return http.post(BASEURL + `/ent/projectNodePlan/page`, params); }; // 全景计划新增 export const entGlobalPlanAdd = (params: any) => { return http.post(BASEURL + `/ent/projectNodePlan/add`, params); }; // 全景计划编辑 export const entGlobalPlanEdit = (params: any) => { return http.post(BASEURL + `/ent/projectNodePlan/edit`, params); }; // 分页列表查询投资支付工程 export const getEntPayproject = (params: User.ReqUserParams) => { return http.post>(BASEURL + `/ent/investmentContract/engineeringPage`, params); }; // 投资支付合同管理分页列表 export const entContactList = (params: any) => { return http.post(BASEURL + `/ent/investmentContract/page`, params); }; // 投资支付管理列表 export const entPayList = (params: any) => { return http.post(BASEURL + `/ent/investmentPayment/page`, params); }; // 投资支付子项详细列表 export const entSubItemDetailList = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentDetail/page`, params); }; // 投资支付子项列表 export const entPaySubItemList = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentItem/page`, params); }; // 投资支付子项新增 export const entPaySubItemAdd = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentItem/add`, params); }; // 投资支付统计管理 export const entPayCountList = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentStat/queryByApplyId`, params); }; // 投资支付统计新增 export const entPayCountAdd = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentStat/add`, params); }; // 投资支付统计编辑 export const entPayCountEdit = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentStat/edit`, params); }; // 申报时段列表 export const entApplyTimeList = (params: any) => { return http.post(BASEURL + `/ent/investmentApply/payList`, params); }; // 投资支付子项详细新增 export const entSubItemDetailAdd = (params: any) => { return http.post(BASEURL + `/ent/investmentPaymentDetail/add`, params); }; // 分页列表查询投资支付工程 export const getEntApplyTimeproject = (params: User.ReqUserParams) => { return http.post>(BASEURL + `/ent/investmentApply/engineeringPage`, params); }; // 申报时段分页列表 export const entApplyTimePage = (params: any) => { return http.post(BASEURL + `/ent/investmentApply/page`, params); }; // 申报时段新增 export const entApplyTimeAdd = (params: any) => { return http.post(BASEURL + `/ent/investmentApply/add`, params); }; // 工程量清单----政务版 // 工程量信息分页列表 export const engineerInfoPage = (params: any) => { return http.post(BASEURL + `/gov/projectQuantity/page`, params); };