parent
fdf2707d53
commit
0c1b34f472
@ -0,0 +1,23 @@
|
|||||||
|
package com.chanko.yunxi.mes.module.heli.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工艺设计类型枚举
|
||||||
|
* @author chenxi
|
||||||
|
* @date 2024-02-21 01:09
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
public enum ProcessDesignTypeEnum {
|
||||||
|
|
||||||
|
BLUEPRINT_FOUNDRY_TECHNOLOGY("铸造工艺"),
|
||||||
|
BLUEPRINT_3D("3D图纸"),
|
||||||
|
BLUEPRINT_2D("2D图纸"),
|
||||||
|
BLUEPRINT_WORKBLANK("毛坯图纸");
|
||||||
|
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
ProcessDesignTypeEnum(String description) {
|
||||||
|
this.description = description;
|
||||||
|
}
|
||||||
|
}
|
@ -1,48 +1,49 @@
|
|||||||
import request from '@/config/axios'
|
import request from '@/config/axios'
|
||||||
|
|
||||||
export interface ProcessDesignVO {
|
export interface ProcessDesignVO {
|
||||||
id: number
|
id: number
|
||||||
planId: number
|
planId: number
|
||||||
saleOrderId: number
|
processDesignType: string
|
||||||
saleOrderSubId: number
|
remark: string
|
||||||
processDesignType: string
|
status: number
|
||||||
remark: string
|
projectId: number
|
||||||
status: number
|
projectSubId: number
|
||||||
}
|
processDesignProgressList: any
|
||||||
|
}
|
||||||
// 查询工艺设计分页
|
|
||||||
export const getProcessDesignPage = async (params) => {
|
// 查询工艺设计分页
|
||||||
return await request.get({ url: `/heli/process-design/page`, params })
|
export const getProcessDesignPage = async (params) => {
|
||||||
}
|
return await request.get({ url: `/heli/process-design/page`, params })
|
||||||
|
}
|
||||||
// 查询工艺设计详情
|
|
||||||
export const getProcessDesign = async (id: number) => {
|
// 查询工艺设计详情
|
||||||
return await request.get({ url: `/heli/process-design/get?id=` + id })
|
export const getProcessDesign = async (id: number) => {
|
||||||
}
|
return await request.get({ url: `/heli/process-design/get?id=` + id })
|
||||||
|
}
|
||||||
// 新增工艺设计
|
|
||||||
export const createProcessDesign = async (data: ProcessDesignVO) => {
|
// 新增工艺设计
|
||||||
return await request.post({ url: `/heli/process-design/create`, data })
|
export const createProcessDesign = async (data: ProcessDesignVO) => {
|
||||||
}
|
return await request.post({ url: `/heli/process-design/create`, data })
|
||||||
|
}
|
||||||
// 修改工艺设计
|
|
||||||
export const updateProcessDesign = async (data: ProcessDesignVO) => {
|
// 修改工艺设计
|
||||||
return await request.put({ url: `/heli/process-design/update`, data })
|
export const updateProcessDesign = async (data: ProcessDesignVO) => {
|
||||||
}
|
return await request.put({ url: `/heli/process-design/update`, data })
|
||||||
|
}
|
||||||
// 删除工艺设计
|
|
||||||
export const deleteProcessDesign = async (id: number) => {
|
// 删除工艺设计
|
||||||
return await request.delete({ url: `/heli/process-design/delete?id=` + id })
|
export const deleteProcessDesign = async (id: number) => {
|
||||||
}
|
return await request.delete({ url: `/heli/process-design/delete?id=` + id })
|
||||||
|
}
|
||||||
// 导出工艺设计 Excel
|
|
||||||
export const exportProcessDesign = async (params) => {
|
// 导出工艺设计 Excel
|
||||||
return await request.download({ url: `/heli/process-design/export-excel`, params })
|
export const exportProcessDesign = async (params) => {
|
||||||
}
|
return await request.download({ url: `/heli/process-design/export-excel`, params })
|
||||||
|
}
|
||||||
// ==================== 子表(工艺设计进度) ====================
|
|
||||||
|
// ==================== 子表(工艺设计进度) ====================
|
||||||
// 获得工艺设计进度列表
|
|
||||||
export const getProcessDesignProgressListByProcessDesignId = async (processDesignId) => {
|
// 获得工艺设计进度列表
|
||||||
return await request.get({ url: `/heli/process-design/process-design-progress/list-by-process-design-id?processDesignId=` + processDesignId })
|
export const getProcessDesignProgressListByProcessDesignId = async (processDesignId) => {
|
||||||
}
|
return await request.get({ url: `/heli/process-design/process-design-progress/list-by-process-design-id?processDesignId=` + processDesignId })
|
||||||
|
}
|
||||||
|
Loading…
Reference in new issue