Browse Source

2026-06-09

Lab系统
master
fengyuan_yang 5 days ago
parent
commit
959eebeffc
  1. 31
      src/api/lab/lab.js
  2. 1247
      src/views/modules/lab/labRecord.vue
  3. 6
      src/views/modules/processManagement/processBindingInfo.vue

31
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)

1247
src/views/modules/lab/labRecord.vue
File diff suppressed because it is too large
View File

6
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
}

Loading…
Cancel
Save