plm前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

40 lines
1.5 KiB

import { createAPI } from '@/utils/httpRequest.js'
// 获取列表
export const getLabList = params => createAPI(`/lab/list`, 'get', params)
// 获取详情
export const getLabDetail = (site, referenceNo) => createAPI(`/lab/info`, 'get', { site, referenceNo })
// 新增
export const saveLab = data => createAPI(`/lab/save`, 'post', data)
// 修改
export const updateLab = data => createAPI(`/lab/update`, 'post', data)
// 删除(仅草稿)
export const deleteLab = data => createAPI(`/lab/delete`, 'post', data)
// 下达
export const issueLab = data => createAPI(`/lab/issue`, 'post', data)
// 审批提交(同意/驳回)
export const submitLab = data => createAPI(`/lab/submit`, 'post', data)
// 查询审批信息
export const getLabApprovalList = data => createAPI(`/lab/approvalList`, 'post', data)
// 查询按钮控制信息
export const getLabButtonCondition = data => createAPI(`/lab/buttonCondition`, 'post', data)
// 获取节点字段权限(复用工程变更接口)
export const getLabNodeAuthority = data => createAPI(`/plm/changeManagement/getNodeAuthority`, 'post', data)
// 查询流程节点列表(复用技术参数卡接口)
export const getNodeList = data => createAPI(`/technicalSpecification/node/list`, 'post', data)
// 查询Lab属性模板
export const getLabPropertyModelList = params => createAPI(`/properties/propertiesList`, 'get', params)
// 查询模板属性清单
export const getLabPropertyItemList = data => createAPI(`/plm/changeManagement/getItemList`, 'post', data)