191 lines
6.7 KiB
TypeScript
Raw Normal View History

2023-06-29 22:26:35 +08:00
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);
};
2023-07-01 21:49:51 +08:00
// 分部分项管理-------
// 分部分项列表
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);
};
2023-07-02 11:50:09 +08:00
// 分部分项父级数据
export const parentItemAll = (params: any) => {
return http.post(BASEURL + `/project/projectSubItem/parentPage`, params);
};
2023-07-01 21:49:51 +08:00
// 分部分项新增
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);
};
2023-07-02 11:50:09 +08:00
// 分部分项父级列表(政务端)
export const parentItemGovermentList = (params: any) => {
return http.post(BASEURL + `/gov/projectSubItem/parentPage`, params);
};
// 分部分项全部数据(政务端)
2023-07-01 21:49:51 +08:00
export const bigItemGovermentAll = (params: any) => {
return http.post(BASEURL + `/gov/projectSubItem/list`, params);
};
2023-07-09 15:34:47 +08:00
// 投资支付管理(项目端)------
// 投资支付合同管理分页列表
export const contactList = (params: any) => {
return http.post(BASEURL + `/project/investmentContract/page`, params);
};
// 投资支付管理列表
2023-07-01 21:49:51 +08:00
export const payList = (params: any) => {
return http.post(BASEURL + `/project/investmentPayment/page`, params);
};
2023-07-09 15:34:47 +08:00
// 投资支付子项列表
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);
};
// 投资支付管理(政务端)------
2023-07-09 18:55:06 +08:00
// 投资支付合同工程列表
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);
};
// 投资支付合同列表
2023-07-01 21:49:51 +08:00
export const payGovermentList = (params: any) => {
2023-07-09 18:55:06 +08:00
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) => {
2023-07-01 21:49:51 +08:00
return http.post(BASEURL + `/gov/investmentPayment/page`, params);
};
2023-07-09 15:34:47 +08:00
// 投资支付新增
2023-07-01 21:49:51 +08:00
export const payGovermentAdd = (params: any) => {
return http.post(BASEURL + `/gov/investmentPayment/add`, params);
};
2023-07-09 18:55:06 +08:00
// 未支付申报时段列表
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);
};
2023-07-09 15:34:47 +08:00
// 投资支付子项列表
2023-07-03 11:31:35 +08:00
export const payGovermentSubItemList = (params: any) => {
return http.post(BASEURL + `/gov/investmentPaymentItem/list`, params);
};
2023-07-09 18:55:06 +08:00
// 投资支付子项详细数据
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);
};
2023-07-04 21:11:22 +08:00
2023-07-05 15:08:49 +08:00
// 全景计划(项目端)------------
2023-07-04 21:11:22 +08:00
// 全景计划分页列表
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);
};
2023-07-05 15:08:49 +08:00
// 全景计划(政务端)------------
// 全景计划分页列表
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);
};
2023-07-09 18:55:06 +08:00
// 大屏----政务端
// 投资管理
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);
};