Newer
Older
KaiFengPC / src / api / project / tenderReview.js
@鲁yixuan 鲁yixuan on 19 Aug 11 KB updata
import request from '@/utils/request';

// 分页搜索标书审查
export function projectTenderExaminationPage(query) {
  return request({
    url: '/business/projectTenderExamination/page',
    method: 'get',
    params: query,
  });
}
// 列表搜索标书信息
export function projectTenderExaminationtList(query) {
  return request({
    url: '/business/projectTenderExamination/list',
    method: 'get',
    params: query,
  });
}
// 新增标书审查
export function projectTenderExaminationAdd(data) {
  return request({
    url: '/business/projectTenderExamination/add',
    method: 'post',
    data: data,
  });
}
// 修改标书审查
export function projectTenderExaminationEdit(data) {
  return request({
    url: '/business/projectTenderExamination/edit',
    method: 'put',
    data: data,
  });
}
// 标书审查查看详情
export function projectTenderExaminationSelectDetail(id) {
  return request({
    url: '/business/projectTenderExamination/selectDetail/' + id,
    method: 'get',
  });
}
//删除标书审查
export function projectTenderExaminationIDS(ids) {
  return request({
    url: '/business/projectTenderExamination/' + ids,
    method: 'delete',
  });
}
//获取文件列表
export function FileSystemList(query) {
  return request({
    url: '/system/list',
    method: 'get',
    params: query,
  });
}
// 分页搜索投标结果
export function projectTenderResultPage(query) {
  return request({
    url: '/business/projectTenderResult/page',
    method: 'get',
    params: query,
  });
}

// 新增投标结果
export function projectTenderResultAdd(data) {
  return request({
    url: '/business/projectTenderResult/add',
    method: 'post',
    data: data,
  });
}
// 修改投标结果
export function projectTenderResultEdit(data) {
  return request({
    url: '/business/projectTenderResult/edit',
    method: 'put',
    data: data,
  });
}
// 投标结果查看详情
export function projectTenderResultSelectDetail(id) {
  return request({
    url: '/business/projectTenderResult/selectViewDetail/' + id,
    method: 'get',
  });
}
//删除投标结果
export function projectTenderResultIDS(ids) {
  return request({
    url: '/business/projectTenderResult/' + ids,
    method: 'delete',
  });
}
//列表获取投标结果
export function projectTenderResultList(query) {
  return request({
    url: '/business/projectTenderResult/list',
    method: 'get',
    params: query,
  });
}

//获取项目信息列表
export function projectInfoList(params) {
  return request({
    url: '/business/projectInfoNew/list',
    method: 'get',
    params,
  });
}

//分页搜索项目合同
export function projectContractPage(params) {
  return request({
    url: '/business/projectContract/page',
    method: 'get',
    params,
  });
}

// 新增项目合同
export function projectContractAdd(data) {
  return request({
    url: '/business/projectContract/add',
    method: 'post',
    data: data,
  });
}
// 修改项目合同
export function projectContractEdit(data) {
  return request({
    url: '/business/projectContract/edit',
    method: 'put',
    data: data,
  });
}
// 详细搜索项目合同
export function projectContractDetail(id) {
  return request({
    url: '/business/projectContract/' + id,
    method: 'get',
  });
}
//删除项目合同
export function projectContractIDS(ids) {
  return request({
    url: '/business/projectContract/' + ids,
    method: 'delete',
  });
}

//列表搜索项目合同
export function projectContractList(query) {
  return request({
    url: '/business/projectContract/list',
    method: 'get',
    params: query,
  });
}
//搜索项目单位详情
export function projectCompanyID(id) {
  return request({
    url: '/business/projectCompany/' + id,
    method: 'get',
  });
}
//列表搜索项目单位
export function projectCompanyList(id) {
  return request({
    url: '/business/projectCompany/list',
    method: 'get',
  });
}
/**通过比例获取金额 */
export function projectContractCalculateByRatio(data) {
  return request({
    url: '/business/projectContract/calculateByRatio',
    method: 'post',
    data: data,
  });
}
// 分页搜索项目合同支付记录
export function projectContractPayRecordPage(query) {
  return request({
    url: '/business/projectContractPayRecord/page',
    method: 'get',
    params: query,
  });
}
// 列表搜索项目合同支付记录
export function projectContractPayRecordList(query) {
  return request({
    url: '/business/projectContractPayRecord/list',
    method: 'get',
    params: query,
  });
}
// 新增项目合同支付记录
export function projectContractPayRecordAdd(data) {
  return request({
    url: '/business/projectContractPayRecord/add',
    method: 'post',
    data: data,
  });
}
// 修改项目合同支付记录
export function projectContractPayRecordEdit(data) {
  return request({
    url: '/business/projectContractPayRecord/edit',
    method: 'put',
    data: data,
  });
}
// 详细搜索项目合同支付记录
export function projectContractPayRecordID(id) {
  return request({
    url: '/business/projectContractPayRecord/' + id,
    method: 'get',
  });
}
//删除项目合同支付记录
export function projectContractPayRecordIDS(ids) {
  return request({
    url: '/business/projectContractPayRecord/' + ids,
    method: 'delete',
  });
}

// 分页搜索项目计划信息
export function projectPlanInfoPage(query) {
  return request({
    url: '/business/projectPlanInfo/page',
    method: 'get',
    params: query,
  });
}
// 列表搜索项目计划信息
export function projectPlanInfoList(query) {
  return request({
    url: '/business/projectPlanInfo/list',
    method: 'get',
    params: query,
  });
}
// 新增项目计划信息
export function projectPlanInfoAdd(data) {
  return request({
    url: '/business/projectPlanInfo/add',
    method: 'post',
    data: data,
  });
}
// 修改项目计划信息
export function projectPlanInfoEdit(data) {
  return request({
    url: '/business/projectPlanInfo/edit',
    method: 'put',
    data: data,
  });
}
// 详细搜索项目计划信息
export function projectPlanInfoID(id) {
  return request({
    url: '/business/projectPlanInfo/' + id,
    method: 'get',
  });
}
//删除项目计划信息
export function projectPlanInfoIDS(ids) {
  return request({
    url: '/business/projectPlanInfo/' + ids,
    method: 'delete',
  });
}
// 详细搜索项目信息
export function projectInfoSelectByProjectNo(projectNo) {
  return request({
    url: '/business/projectInfoNew/selectProjectInfoByProjectNo//' + projectNo,
    method: 'get',
  });
}

// 详细搜索项目信息
export function projectPlanTemplateList(id) {
  return request({
    url: `/business/projectPlanTemplate/tree?projectTypeId=${id}`,
    method: 'get',
  });
}

export function projectPlanDelete(ids) {
  return request({
    url: `/business/projectPlanTemplate/${ids}`,
    method: 'delete',
  });
}
// 新增项目计划模版
export function projectPlanAdd(data) {
  return request({
    url: `/business/projectPlanTemplate/add`,
    method: 'post',
    data,
  });
}

export function getNodeCodeToUuid() {
  return request({
    url: `/business/projectPlanInventory/getNodeCodeToUuid`,
    method: 'get',
  });
}
// 分页搜索项目里程碑
export function projectMilestonePage(query) {
  return request({
    url: '/business/projectMilestone/page',
    method: 'get',
    params: query,
  });
}
// 列表搜索项目里程碑
export function projectMilestoneList(query) {
  return request({
    url: '/business/projectMilestone/list',
    method: 'get',
    params: query,
  });
}
// 新增项目里程碑
export function projectMilestoneAdd(data) {
  return request({
    url: '/business/projectMilestone/add',
    method: 'post',
    data: data,
  });
}
// 修改项目里程碑
export function projectMilestoneEdit(data) {
  return request({
    url: '/business/projectMilestone/edit',
    method: 'put',
    data: data,
  });
}
// 详细搜索项目里程碑
export function projectMilestoneId(id) {
  return request({
    url: '/business/projectMilestone/' + id,
    method: 'get',
  });
}
//删除标书审查
export function projectMilestoneIDS(ids) {
  return request({
    url: '/business/projectMilestone/' + ids,
    method: 'delete',
  });
}

// 根据项目编号搜索其计划下的关键里程碑
export function projectPlanInventorySelectByProjectNoToMilestone(projectNo) {
  return request({
    url: '/business/projectPlanInventory/selectByProjectNoToMilestone/' + projectNo,
    method: 'get',
  });
}

// 分页搜索项目巡检记录
export function projectPatrolPage(query) {
  return request({
    url: '/business/projectPatrol/page',
    method: 'get',
    params: query,
  });
}
// 列表搜索项目巡检记录
export function projectPatroltList(query) {
  return request({
    url: '/business/projectPatrol/list',
    method: 'get',
    params: query,
  });
}
// 新增项目巡检记录
export function projectPatrolAdd(data) {
  return request({
    url: '/business/projectPatrol/add',
    method: 'post',
    data: data,
  });
}
// 修改项目巡检记录
export function projectPatrolEdit(data) {
  return request({
    url: '/business/projectPatrol/edit',
    method: 'put',
    data: data,
  });
}
// 详细搜索项目巡检记录
export function projectPatrolSelectId(id) {
  return request({
    url: '/business/projectPatrol/' + id,
    method: 'get',
  });
}
//删除项目巡检记录
export function projectPatrolIDS(ids) {
  return request({
    url: '/business/projectPatrol/' + ids,
    method: 'delete',
  });
}

//通过项目编号获取项目以及合同信息
export function projectInfoGetProjectStatistics(projectNo) {
  return request({
    url: '/business/projectInfoNew/getProjectAndContractStatistics/' + projectNo,
    method: 'get',
  });
}

//分页搜索项目巡检问题
export function projectPatrolProblemPage(query) {
  return request({
    url: '/business/projectPatrolProblem/page',
    method: 'get',
    params: query,
  });
}
//删除项目巡检问题
export function projectPatrolProblemIDS(ids) {
  return request({
    url: '/business/projectPatrolProblem/' + ids,
    method: 'delete',
  });
}
// 详细搜索项目巡检问题
export function projectPatrolProblemId(id) {
  return request({
    url: '/business/projectPatrolProblem/' + id,
    method: 'get',
  });
}

//分页搜索项目质量整改单
export function projectQualityReformRecordPage(query) {
  return request({
    url: '/business/projectQualityReformRecord/page',
    method: 'get',
    params: query,
  });
}
// 列表搜索项目质量整改单
export function projectQualityReformRecordtList(query) {
  return request({
    url: '/business/projectQualityReformRecord/list',
    method: 'get',
    params: query,
  });
}
// 新增项目质量整改单
export function projectQualityReformRecordAdd(data) {
  return request({
    url: '/business/projectQualityReformRecord/add',
    method: 'post',
    data: data,
  });
}
// 修改项目质量整改单
export function projectQualityReformRecordEdit(data) {
  return request({
    url: '/business/projectQualityReformRecord/edit',
    method: 'put',
    data: data,
  });
}
// 详细搜索项目质量整改单
export function projectQualityReformRecordSelectId(id) {
  return request({
    url: '/business/projectQualityReformRecord/' + id,
    method: 'get',
  });
}
//删除项目质量整改单
export function projectQualityReformRecordIDS(ids) {
  return request({
    url: '/business/projectQualityReformRecord/' + ids,
    method: 'delete',
  });
}

export function workflowProcess(data) {
  return request({
    url: `/business/workflow-process/list-history-activity`,
    method: 'post',
    data,
  });
}

// 详细搜索项目质量整改单
export function getProjectStatistics(id) {
  return request({
    url: '/business/projectInfoNew/getProjectAndContractStatistics/' + id,
    method: 'get',
  });
}

// 详细搜索项目质量整改单
export function projectPlanInfoselectByProjectNo(id) {
  return request({
    url: '/business/projectPlanInfo/selectByProjectNo/' + id,
    method: 'get',
  });
}