feat(production-master-data): 新增产线、工艺流程类别、产品管理模块
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

1. 新增工厂区域全量查询API
2. 新增产线管理API、页面、路由与多语言配置
3. 新增工艺流程类别管理API、页面、路由与多语言配置
4. 新增产品管理API、页面、路由与多语言配置
5. 修复MenuTree组件slot-scope语法兼容问题
6. 追加对应功能的测试文档与版本记录
This commit is contained in:
sheng
2026-06-01 17:35:20 +08:00
parent c9498c444b
commit 99b9bc8a5b
14 changed files with 3253 additions and 859 deletions

View File

@@ -0,0 +1,43 @@
import { request } from '@/api/_service'
const BASE = 'production_configuration/technology_model/technology_flow_category/'
function apiParams (method, data = {}) {
return {
method: `production_master_data_process_model_process_category_${method}`,
platform: 'background',
...data
}
}
export function getProcessCategoryList (data) {
return request({
url: BASE + 'list',
method: 'get',
params: apiParams('list', data)
})
}
export function createProcessCategory (data) {
return request({
url: BASE + 'create',
method: 'post',
data: apiParams('create', data)
})
}
export function editProcessCategory (data) {
return request({
url: BASE + 'edit',
method: 'put',
data: apiParams('edit', data)
})
}
export function deleteProcessCategory (data) {
return request({
url: BASE + 'delete',
method: 'delete',
data: apiParams('delete', data)
})
}