This commit is contained in:
dhr
2025-08-21 01:38:57 +08:00
35 changed files with 3060 additions and 728 deletions

View File

@ -61,3 +61,23 @@ export const delDesignChange = (id: string | number | Array<string | number>) =>
method: 'delete'
});
};
/**
* 获取卷册号
* @param id
*/
export const blueprintList = (id) => {
return request({
url: '/design/designChange/blueprint/' + id,
method: 'get'
});
};
/**
* 获取卷册列表
* @param id
*/
export const catalogList = (id) => {
return request({
url: '/design/designChange/catalogList/' + id,
method: 'get'
});
};

View File

@ -82,3 +82,14 @@ export const volumeFileViewerList = (id) => {
method: 'get'
});
};
/**
* 查阅图纸列表
* @param id
*/
export const joinList = (params) => {
return request({
url: '/design/volumeFile/joinList',
method: 'get',
params
});
};

View File

@ -65,7 +65,7 @@ export const addVolumeCatalog = (data: VolumeCatalogForm) => {
* 修改卷册目录
* @param data
*/
export const updateVolumeCatalog = (data: VolumeCatalogForm) => {
export const updateVolumeCatalog = (data) => {
return request({
url: '/design/volumeCatalog',
method: 'put',

View File

@ -130,3 +130,16 @@ export const listSelectCailiaoshebei = (query?: any): AxiosPromise<Cailiaoshebei
params: query
});
};
/**
* 查询字典数据
* @param dictType
* @returns {*}
*/
export const getDictList = (query: any): AxiosPromise<any[]> => {
return request({
url: '/cailiaoshebei/purchaseDoc/engineeringList',
method: 'get',
params: query
});
};

View File

@ -121,3 +121,10 @@ export const logisticsDetial = (id) => {
method: 'get'
});
};
export const getDetailBASE = (id) => {
return request({
url: '/cailiaoshebei/purchaseDoc/pic/' + id,
method: 'get'
});
};

View File

@ -1,6 +1,6 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { MasterVO, MasterForm, MasterQuery } from '@/api/patch/master/types';
import { MasterVO, MasterForm, MasterQuery } from '@/api/patch/types';
/**
* 查询派单列表
@ -33,7 +33,7 @@ export const getMaster = (id: string | number): AxiosPromise<MasterVO> => {
*/
export const addMaster = (data: MasterForm) => {
return request({
url: '/patch/',
url: '/patch',
method: 'post',
data: data
});
@ -45,7 +45,7 @@ export const addMaster = (data: MasterForm) => {
*/
export const updateMaster = (data: MasterForm) => {
return request({
url: '/patch/',
url: '/patch',
method: 'put',
data: data
});
@ -61,3 +61,47 @@ export const delMaster = (id: string | number | Array<string | number>) => {
method: 'delete'
});
};
/**
* 完成进度
* @param masterId
*/
export function getProgressDetail(masterId: string | number) {
return request({
url: `/patch/getProgressList/${masterId}`, // 你的后端进度详情接口地址
method: 'get'
});
}
// 弹窗新增进度
export const addProgress = (data) => {
return request({
url: '/patch/progress',
method: 'post',
data
});
};
// 弹窗修改进度
export const editProgress = (data) => {
return request({
url: '/patch/editProgress',
method: 'put',
data
});
};
// 删除进度
export const deleteProgress = (id) => {
return request({
url: `/removeProgress/{id}`,
method: 'delete'
});
};
export const getUserName = () => {
return request({
url: `/patch/findThis`,
method: 'get'
});
};

View File

@ -51,13 +51,9 @@ export const updatePlan = (data: PlanForm) => {
});
};
/**
* 删除招标计划
* @param id
*/
export const delPlan = (id: string | number | Array<string | number>) => {
export const getSegmentedIndicatorPlanning = (id) => {
return request({
url: '/plan/plan/' + id,
method: 'delete'
url: '/tender/segmentedIndicatorPlanning/' + id,
method: 'get'
});
};

View File

@ -174,3 +174,15 @@ export const getChildProject = (id: string | number): AxiosPromise<childProjectQ
method: 'get'
});
};
/**
* 上传项目文件
* @param data
*/
export const uploadProjectFile = (data: any) => {
return request({
url: '/project/project/save/tender/file',
method: 'put',
data: data
});
};

View File

@ -8,6 +8,7 @@ export interface ProjectVO {
* 项目名称
*/
projectName: string;
tenderFiles: string;
/**
* 项目简称
@ -128,10 +129,10 @@ export interface locationType {
projectSite: string;
}
export interface childProjectQuery{
projectName:string;
pid:string;
id?:string
export interface childProjectQuery {
projectName: string;
pid: string;
id?: string;
}
export interface ProjectForm extends BaseEntity {