Merge branch 'main' of http://xny.yj-3d.com:3000/taoge/new_project into ljx
This commit is contained in:
@ -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'
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
});
|
||||
};
|
||||
|
@ -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',
|
||||
@ -95,3 +95,24 @@ export const uploadVolumeFile = (query?: any): AxiosPromise => {
|
||||
data: query
|
||||
});
|
||||
};
|
||||
/**
|
||||
* 获取文件列表
|
||||
* @param query
|
||||
*/
|
||||
export const volumeFileList = (params) => {
|
||||
return request({
|
||||
url: '/design/volumeFile/list',
|
||||
method: 'get',
|
||||
params: params
|
||||
});
|
||||
};
|
||||
/**
|
||||
* 获取文件详情
|
||||
* @param query
|
||||
*/
|
||||
export const getileDetail = (id) => {
|
||||
return request({
|
||||
url: '/design/volumeFile/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
@ -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
|
||||
});
|
||||
};
|
||||
|
@ -121,3 +121,10 @@ export const logisticsDetial = (id) => {
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
export const getDetailBASE = (id) => {
|
||||
return request({
|
||||
url: '/cailiaoshebei/purchaseDoc/pic/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
63
src/api/patch/index.ts
Normal file
63
src/api/patch/index.ts
Normal file
@ -0,0 +1,63 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { MasterVO, MasterForm, MasterQuery } from '@/api/patch/master/types';
|
||||
|
||||
/**
|
||||
* 查询派单列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const listMaster = (query?: MasterQuery): AxiosPromise<MasterVO[]> => {
|
||||
return request({
|
||||
url: '/patch/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询派单详细
|
||||
* @param id
|
||||
*/
|
||||
export const getMaster = (id: string | number): AxiosPromise<MasterVO> => {
|
||||
return request({
|
||||
url: '/patch/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增派单
|
||||
* @param data
|
||||
*/
|
||||
export const addMaster = (data: MasterForm) => {
|
||||
return request({
|
||||
url: '/patch/',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 修改派单
|
||||
* @param data
|
||||
*/
|
||||
export const updateMaster = (data: MasterForm) => {
|
||||
return request({
|
||||
url: '/patch/',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除派单
|
||||
* @param id
|
||||
*/
|
||||
export const delMaster = (id: string | number | Array<string | number>) => {
|
||||
return request({
|
||||
url: '/patch/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
141
src/api/patch/types.ts
Normal file
141
src/api/patch/types.ts
Normal file
@ -0,0 +1,141 @@
|
||||
export interface MasterVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
projectId: string | number;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
taskName: string;
|
||||
|
||||
/**
|
||||
* 任务描述
|
||||
*/
|
||||
describe: string;
|
||||
|
||||
/**
|
||||
* 计划完成时间
|
||||
*/
|
||||
pcd: string;
|
||||
|
||||
/**
|
||||
* 实际完成时间
|
||||
*/
|
||||
act: string;
|
||||
|
||||
/**
|
||||
* 完成进度
|
||||
*/
|
||||
completionProgress: string;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
taskStatus: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
}
|
||||
|
||||
export interface MasterForm extends BaseEntity {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
projectId?: string | number;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
taskName?: string;
|
||||
|
||||
/**
|
||||
* 任务描述
|
||||
*/
|
||||
describe?: string;
|
||||
|
||||
/**
|
||||
* 计划完成时间
|
||||
*/
|
||||
pcd?: string;
|
||||
|
||||
/**
|
||||
* 实际完成时间
|
||||
*/
|
||||
act?: string;
|
||||
|
||||
/**
|
||||
* 完成进度
|
||||
*/
|
||||
completionProgress?: string;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
taskStatus?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface MasterQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
projectId?: string | number;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
taskName?: string;
|
||||
|
||||
/**
|
||||
* 任务描述
|
||||
*/
|
||||
describe?: string;
|
||||
|
||||
/**
|
||||
* 计划完成时间
|
||||
*/
|
||||
pcd?: string;
|
||||
|
||||
/**
|
||||
* 实际完成时间
|
||||
*/
|
||||
act?: string;
|
||||
|
||||
/**
|
||||
* 完成进度
|
||||
*/
|
||||
completionProgress?: string;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
taskStatus?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
63
src/api/plan/plan/index.ts
Normal file
63
src/api/plan/plan/index.ts
Normal file
@ -0,0 +1,63 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { PlanVO, PlanForm, PlanQuery } from '@/api/plan/plan/types';
|
||||
|
||||
/**
|
||||
* 查询招标计划列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const listPlan = (query?: PlanQuery): AxiosPromise<PlanVO[]> => {
|
||||
return request({
|
||||
url: '/plan/plan/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询招标计划详细
|
||||
* @param id
|
||||
*/
|
||||
export const getPlan = (id: string | number): AxiosPromise<PlanVO> => {
|
||||
return request({
|
||||
url: '/plan/plan/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增招标计划
|
||||
* @param data
|
||||
*/
|
||||
export const addPlan = (data: PlanForm) => {
|
||||
return request({
|
||||
url: '/plan/plan',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 修改招标计划
|
||||
* @param data
|
||||
*/
|
||||
export const updatePlan = (data: PlanForm) => {
|
||||
return request({
|
||||
url: '/plan/plan',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除招标计划
|
||||
* @param id
|
||||
*/
|
||||
export const delPlan = (id: string | number | Array<string | number>) => {
|
||||
return request({
|
||||
url: '/plan/plan/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
161
src/api/plan/plan/types.ts
Normal file
161
src/api/plan/plan/types.ts
Normal file
@ -0,0 +1,161 @@
|
||||
export interface PlanVO {
|
||||
/**
|
||||
* 招标计划ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 分包类型
|
||||
*/
|
||||
subpackageType: string;
|
||||
|
||||
/**
|
||||
* 分包名称
|
||||
*/
|
||||
subpackageName: string;
|
||||
|
||||
/**
|
||||
* 分包内容
|
||||
*/
|
||||
subpackageContext: string;
|
||||
|
||||
/**
|
||||
* 限价
|
||||
*/
|
||||
limitPrice: number;
|
||||
|
||||
/**
|
||||
* 计划招标时间
|
||||
*/
|
||||
planTenderTime: string;
|
||||
|
||||
/**
|
||||
* 招标方式
|
||||
*/
|
||||
tenderMethod: string;
|
||||
|
||||
/**
|
||||
* 招标文件(多个)
|
||||
*/
|
||||
tenderFile: string;
|
||||
|
||||
/**
|
||||
* 中标文件(单个)
|
||||
*/
|
||||
bidFile: string | number;
|
||||
|
||||
/**
|
||||
* 合同额
|
||||
*/
|
||||
contract: number;
|
||||
|
||||
}
|
||||
|
||||
export interface PlanForm extends BaseEntity {
|
||||
/**
|
||||
* 招标计划ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 分包类型
|
||||
*/
|
||||
subpackageType?: string;
|
||||
|
||||
/**
|
||||
* 分包名称
|
||||
*/
|
||||
subpackageName?: string;
|
||||
|
||||
/**
|
||||
* 分包内容
|
||||
*/
|
||||
subpackageContext?: string;
|
||||
|
||||
/**
|
||||
* 限价
|
||||
*/
|
||||
limitPrice?: number;
|
||||
|
||||
/**
|
||||
* 计划招标时间
|
||||
*/
|
||||
planTenderTime?: string;
|
||||
|
||||
/**
|
||||
* 招标方式
|
||||
*/
|
||||
tenderMethod?: string;
|
||||
|
||||
/**
|
||||
* 招标文件(多个)
|
||||
*/
|
||||
tenderFile?: string;
|
||||
|
||||
/**
|
||||
* 中标文件(单个)
|
||||
*/
|
||||
bidFile?: string | number;
|
||||
|
||||
/**
|
||||
* 合同额
|
||||
*/
|
||||
contract?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface PlanQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 分包类型
|
||||
*/
|
||||
subpackageType?: string;
|
||||
|
||||
/**
|
||||
* 分包名称
|
||||
*/
|
||||
subpackageName?: string;
|
||||
|
||||
/**
|
||||
* 分包内容
|
||||
*/
|
||||
subpackageContext?: string;
|
||||
|
||||
/**
|
||||
* 限价
|
||||
*/
|
||||
limitPrice?: number;
|
||||
|
||||
/**
|
||||
* 计划招标时间
|
||||
*/
|
||||
planTenderTime?: string;
|
||||
|
||||
/**
|
||||
* 招标方式
|
||||
*/
|
||||
tenderMethod?: string;
|
||||
|
||||
/**
|
||||
* 招标文件(多个)
|
||||
*/
|
||||
tenderFile?: string;
|
||||
|
||||
/**
|
||||
* 中标文件(单个)
|
||||
*/
|
||||
bidFile?: string | number;
|
||||
|
||||
/**
|
||||
* 合同额
|
||||
*/
|
||||
contract?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
};
|
||||
|
@ -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 {
|
||||
|
63
src/api/supplierInput/supplierInput/index.ts
Normal file
63
src/api/supplierInput/supplierInput/index.ts
Normal file
@ -0,0 +1,63 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { SupplierInputVO, SupplierInputForm, SupplierInputQuery } from '@/api/supplierInput/supplierInput/types';
|
||||
|
||||
/**
|
||||
* 查询供应商入库列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const listSupplierInput = (query?: SupplierInputQuery): AxiosPromise<SupplierInputVO[]> => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询供应商入库详细
|
||||
* @param id
|
||||
*/
|
||||
export const getSupplierInput = (id: string | number): AxiosPromise<SupplierInputVO> => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增供应商入库
|
||||
* @param data
|
||||
*/
|
||||
export const addSupplierInput = (data: SupplierInputForm) => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 修改供应商入库
|
||||
* @param data
|
||||
*/
|
||||
export const updateSupplierInput = (data: SupplierInputForm) => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除供应商入库
|
||||
* @param id
|
||||
*/
|
||||
export const delSupplierInput = (id: string | number | Array<string | number>) => {
|
||||
return request({
|
||||
url: '/supplierInput/supplierInput/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
55
src/api/supplierInput/supplierInput/types.ts
Normal file
55
src/api/supplierInput/supplierInput/types.ts
Normal file
@ -0,0 +1,55 @@
|
||||
export interface SupplierInputVO {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 供应商类型
|
||||
*/
|
||||
supplierType: string;
|
||||
|
||||
/**
|
||||
* 入库资料
|
||||
*/
|
||||
inputFile: string;
|
||||
|
||||
}
|
||||
|
||||
export interface SupplierInputForm extends BaseEntity {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 供应商类型
|
||||
*/
|
||||
supplierType?: string;
|
||||
|
||||
/**
|
||||
* 入库资料
|
||||
*/
|
||||
inputFile?: string;
|
||||
}
|
||||
|
||||
export interface SupplierInputQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 供应商类型
|
||||
*/
|
||||
supplierType?: string;
|
||||
|
||||
/**
|
||||
* 入库资料
|
||||
*/
|
||||
inputFile?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user