diff --git a/src/api/lab/lab.js b/src/api/lab/lab.js new file mode 100644 index 0000000..5606989 --- /dev/null +++ b/src/api/lab/lab.js @@ -0,0 +1,31 @@ +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 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) diff --git a/src/views/modules/lab/labRecord.vue b/src/views/modules/lab/labRecord.vue new file mode 100644 index 0000000..e2fa42e --- /dev/null +++ b/src/views/modules/lab/labRecord.vue @@ -0,0 +1,1247 @@ + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 新增 + + + 导出 + + 搜索 + + + + + + + + + + + + + {{ normalizeDateOnly(scope.row.applicationDate) }} + + + + + + {{ normalizeDateOnly(scope.row.requestedDate) }} + + + + + + + + + + + + + + + {{ displayYesNo(scope.row.returnSample) }} + + + + + + {{ normalizeDateOnly(scope.row.testStartDate) }} + + + + + {{ normalizeDateOnly(scope.row.completedDate) }} + + + + + + + 编辑 + 详情 + 下达 + + + + + + + + + + + + + + + + + + 申请人/Applicant + 申请人/Applicant + + + + + + + + + + + + + + + + + + + + + + + + + 客户/Customer + 客户/Customer + + + + + 项目/Project + 项目/Project + + + + + + + + + + + + + + + + + + + + + + + + + + + 内部验证 + 客户要求 + + + + + + + + 内部报告 + 客户报告 + + + + + 是 + 否 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 保存 + 关闭 + 同意 + 驳回 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/processManagement/processBindingInfo.vue b/src/views/modules/processManagement/processBindingInfo.vue index 534d4be..f8b79aa 100644 --- a/src/views/modules/processManagement/processBindingInfo.vue +++ b/src/views/modules/processManagement/processBindingInfo.vue @@ -1331,6 +1331,12 @@ passTable: [], addTable: [] } + } else if (row.menuId === '113001') { // Lab + this.queryTableParam = { + tableType: 'plm_lab', + passTable: [], + addTable: [] + } } else { return }