From bf493321cb01b3ab03d9e64203701d3bb68b32e9 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:23:56 +0800 Subject: [PATCH 01/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A3=80=E9=AA=8C=E7=B1=BB=E5=88=AB=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 12 + docs/迁移任务列表.md | 6 +- .../inspection-type-management.js | 39 +++ src/locales/en.json | 64 ++++ src/locales/zh-chs.json | 64 ++++ src/router/modules/quality-management.js | 6 + .../inspection-type-management/index.vue | 292 ++++++++++++++++++ 7 files changed, 480 insertions(+), 3 deletions(-) create mode 100644 docs/质量管理功能测试任务列表.md create mode 100644 src/api/quality-management/inspection-type-management.js create mode 100644 src/views/quality-management/process-control/inspection-type-management/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md new file mode 100644 index 00000000..e06a2f19 --- /dev/null +++ b/docs/质量管理功能测试任务列表.md @@ -0,0 +1,12 @@ +# 质量管理功能测试任务列表 + +## 检验类别管理 (Inspection Type Management) + +- [ ] 通过菜单或地址 /quality_control/first_inspection/category 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 5a285e2f..3bdd95ab 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:48 -- 未迁移:31 +- 已迁移:49 +- 未迁移:30 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -53,7 +53,7 @@ | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 托盘登录 (Tray Registration) | 托盘登记 | `src/views/planning-production/production-monitoring/tray-registration/` | | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 设备监控 (Equipment Monitoring) | 设备监控 | `src/views/planning-production/production-monitoring/equipment-monitoring/` | | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 电池工序管理 (Process Execution) | 工序管理 | `src/views/planning-production/production-monitoring/process-execution/` | -| ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 检验类别管理 (Inspection Type Management) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 检验类别管理 (Inspection Type Management) | | `src/views/quality-management/process-control/inspection-type-management/` | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检项目配置 (First Article Inspection Configuration) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | 待确认 | diff --git a/src/api/quality-management/inspection-type-management.js b/src/api/quality-management/inspection-type-management.js new file mode 100644 index 00000000..ac3f5c83 --- /dev/null +++ b/src/api/quality-management/inspection-type-management.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/first_inspection/first_inspection/' + +function apiParams (data = {}, method = 'get.quality.category.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchInspectionTypeManagementList (data = {}) { + return request({ + url: BASE + 'category/list', + method: 'post', + data: apiParams(data, 'get.quality.category.list', 'api') + }) +} + +export function createInspectionTypeManagement (data = {}) { + return request({ + url: BASE + 'category/add', + method: 'post', + data: apiParams(data, 'add.quality.category', 'api') + }) +} + +export function editInspectionTypeManagement (data = {}) { + return request({ + url: BASE + 'category/update', + method: 'post', + data: apiParams(data, 'set.quality.category', 'api') + }) +} + +export function deleteInspectionTypeManagement (data = {}) { + return request({ + url: BASE + 'category/delete', + method: 'post', + data: apiParams(data, 'del.quality.category', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index 1d8f0732..dd3d1542 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -2892,6 +2892,70 @@ "please_select_process": "Select process" } } + }, + "quality_management": { + "inspection_type_management": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Inspection Type Management", + "edit_title": "Edit Inspection Type Management", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" + } } }, "__MENU_TEMP_BEGIN__": "===== 以下为临时菜单翻译,后续统一删除 =====", diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index f2e3fe48..df3aeb27 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -2892,6 +2892,70 @@ "please_select_process": "请选择工序" } } + }, + "quality_management": { + "inspection_type_management": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增检验类别管理", + "edit_title": "编辑检验类别管理", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" + } } }, "__MENU_TEMP_BEGIN__": "===== 以下为临时菜单翻译,后续统一删除 =====", diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index b88a78d8..fe2d7ff5 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -13,6 +13,12 @@ export default { name: `${pre}index`, meta: { ...meta, title: '质量管理', root: '/quality_control' }, component: _import('system/function/module-index') + }, + { + path: 'first_inspection/category', + name: `${pre}process-control-inspection-type-management`, + meta: { ...meta, cache: true, title: '检验类别管理' }, + component: _import('quality-management/process-control/inspection-type-management') } ])('quality_control-') } diff --git a/src/views/quality-management/process-control/inspection-type-management/index.vue b/src/views/quality-management/process-control/inspection-type-management/index.vue new file mode 100644 index 00000000..07aa9331 --- /dev/null +++ b/src/views/quality-management/process-control/inspection-type-management/index.vue @@ -0,0 +1,292 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From 1e2945d4a3020bd77b1227637c496e1b7708d0de Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:24:18 +0800 Subject: [PATCH 02/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A6=96=E5=B7=A1=E6=A3=80=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../first-article-inspection-configuration.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../index.vue | 302 ++++++++++++++++++ 7 files changed, 484 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/first-article-inspection-configuration.js create mode 100644 src/views/quality-management/process-control/first-article-inspection-configuration/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index e06a2f19..3feb2c7a 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -10,3 +10,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 首巡检项目配置 (First Article Inspection Configuration) + +- [ ] 通过菜单或地址 /quality_control/first_inspection/setting 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 3bdd95ab..d033d3bb 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:49 -- 未迁移:30 +- 已迁移:50 +- 未迁移:29 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -54,7 +54,7 @@ | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 设备监控 (Equipment Monitoring) | 设备监控 | `src/views/planning-production/production-monitoring/equipment-monitoring/` | | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 电池工序管理 (Process Execution) | 工序管理 | `src/views/planning-production/production-monitoring/process-execution/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 检验类别管理 (Inspection Type Management) | | `src/views/quality-management/process-control/inspection-type-management/` | -| ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检项目配置 (First Article Inspection Configuration) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检项目配置 (First Article Inspection Configuration) | | `src/views/quality-management/process-control/first-article-inspection-configuration/` | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | 待确认 | diff --git a/src/api/quality-management/first-article-inspection-configuration.js b/src/api/quality-management/first-article-inspection-configuration.js new file mode 100644 index 00000000..d529aa79 --- /dev/null +++ b/src/api/quality-management/first-article-inspection-configuration.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/first_inspection/first_inspection/' + +function apiParams (data = {}, method = 'get.setting.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchFirstArticleInspectionConfigurationList (data = {}) { + return request({ + url: BASE + 'list', + method: 'post', + data: apiParams(data, 'get.setting.list', 'api') + }) +} + +export function createFirstArticleInspectionConfiguration (data = {}) { + return request({ + url: BASE + 'add', + method: 'post', + data: apiParams(data, 'add.setting', 'admin') + }) +} + +export function editFirstArticleInspectionConfiguration (data = {}) { + return request({ + url: BASE + 'update', + method: 'post', + data: apiParams(data, 'set.setting', 'admin') + }) +} + +export function deleteFirstArticleInspectionConfiguration (data = {}) { + return request({ + url: BASE + 'delete', + method: 'post', + data: apiParams(data, 'del.setting.list', 'admin') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index dd3d1542..e598dd69 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -2955,6 +2955,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "first_article_inspection_configuration": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add First Article Inspection Configuration", + "edit_title": "Edit First Article Inspection Configuration", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index df3aeb27..0c0e3013 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -2955,6 +2955,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "first_article_inspection_configuration": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增首巡检项目配置", + "edit_title": "编辑首巡检项目配置", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index fe2d7ff5..143783f5 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -19,6 +19,12 @@ export default { name: `${pre}process-control-inspection-type-management`, meta: { ...meta, cache: true, title: '检验类别管理' }, component: _import('quality-management/process-control/inspection-type-management') + }, + { + path: 'first_inspection/setting', + name: `${pre}process-control-first-article-inspection-configuration`, + meta: { ...meta, cache: true, title: '首巡检项目配置' }, + component: _import('quality-management/process-control/first-article-inspection-configuration') } ])('quality_control-') } diff --git a/src/views/quality-management/process-control/first-article-inspection-configuration/index.vue b/src/views/quality-management/process-control/first-article-inspection-configuration/index.vue new file mode 100644 index 00000000..f456d03c --- /dev/null +++ b/src/views/quality-management/process-control/first-article-inspection-configuration/index.vue @@ -0,0 +1,302 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From be119060f0a398c613df0774cb5b51260023854e Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:24:39 +0800 Subject: [PATCH 03/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A6=96=E5=B7=A1=E6=A3=80=E5=BD=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../first-article-inspection-records.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../index.vue | 313 ++++++++++++++++++ 7 files changed, 495 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/first-article-inspection-records.js create mode 100644 src/views/quality-management/process-control/first-article-inspection-records/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 3feb2c7a..d87064da 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -20,3 +20,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 首巡检录入 (First Article Inspection Records) + +- [ ] 通过菜单或地址 /quality_control/first_inspection/input 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index d033d3bb..240b2f9d 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:50 -- 未迁移:29 +- 已迁移:51 +- 未迁移:28 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -55,7 +55,7 @@ | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 电池工序管理 (Process Execution) | 工序管理 | `src/views/planning-production/production-monitoring/process-execution/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 检验类别管理 (Inspection Type Management) | | `src/views/quality-management/process-control/inspection-type-management/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检项目配置 (First Article Inspection Configuration) | | `src/views/quality-management/process-control/first-article-inspection-configuration/` | -| ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | `src/views/quality-management/process-control/first-article-inspection-records/` | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | 待确认 | diff --git a/src/api/quality-management/first-article-inspection-records.js b/src/api/quality-management/first-article-inspection-records.js new file mode 100644 index 00000000..d053108d --- /dev/null +++ b/src/api/quality-management/first-article-inspection-records.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/first_inspection/first_inspection/' + +function apiParams (data = {}, method = 'get.setting.item.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchFirstArticleInspectionRecordsList (data = {}) { + return request({ + url: BASE + 'item/list', + method: 'post', + data: apiParams(data, 'get.setting.item.list', 'api') + }) +} + +export function createFirstArticleInspectionRecords (data = {}) { + return request({ + url: BASE + 'item/add', + method: 'post', + data: apiParams(data, 'add.setting.item', 'admin') + }) +} + +export function editFirstArticleInspectionRecords (data = {}) { + return request({ + url: BASE + 'item/update', + method: 'post', + data: apiParams(data, 'set.setting.item', 'admin') + }) +} + +export function deleteFirstArticleInspectionRecords (data = {}) { + return request({ + url: BASE + 'item/delete', + method: 'post', + data: apiParams(data, 'del.setting.item', 'admin') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index e598dd69..c3301b85 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3017,6 +3017,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "first_article_inspection_records": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add First Article Inspection Records", + "edit_title": "Edit First Article Inspection Records", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 0c0e3013..401b98b2 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3017,6 +3017,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "first_article_inspection_records": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增首巡检录入", + "edit_title": "编辑首巡检录入", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index 143783f5..1b316988 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -25,6 +25,12 @@ export default { name: `${pre}process-control-first-article-inspection-configuration`, meta: { ...meta, cache: true, title: '首巡检项目配置' }, component: _import('quality-management/process-control/first-article-inspection-configuration') + }, + { + path: 'first_inspection/input', + name: `${pre}process-control-first-article-inspection-records`, + meta: { ...meta, cache: true, title: '首巡检录入' }, + component: _import('quality-management/process-control/first-article-inspection-records') } ])('quality_control-') } diff --git a/src/views/quality-management/process-control/first-article-inspection-records/index.vue b/src/views/quality-management/process-control/first-article-inspection-records/index.vue new file mode 100644 index 00000000..7f7ac4fa --- /dev/null +++ b/src/views/quality-management/process-control/first-article-inspection-records/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From e9faea739a43622cc32261c6cc4293db40552f12 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:25:01 +0800 Subject: [PATCH 04/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A6=96=E5=B7=A1=E6=A3=80=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 8 + docs/迁移任务列表.md | 6 +- .../first-article-inspection-reports.js | 15 ++ src/locales/en.json | 62 +++++++ src/locales/zh-chs.json | 62 +++++++ src/router/modules/quality-management.js | 6 + .../index.vue | 170 ++++++++++++++++++ 7 files changed, 326 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/first-article-inspection-reports.js create mode 100644 src/views/quality-management/process-control/first-article-inspection-reports/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index d87064da..b43745af 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -30,3 +30,11 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 首巡检报表 (First Article Inspection Reports) + +- [ ] 通过菜单或地址 /quality_control/first_inspection/report 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 240b2f9d..78fc5cff 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:51 -- 未迁移:28 +- 已迁移:52 +- 未迁移:27 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -56,7 +56,7 @@ | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 检验类别管理 (Inspection Type Management) | | `src/views/quality-management/process-control/inspection-type-management/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检项目配置 (First Article Inspection Configuration) | | `src/views/quality-management/process-control/first-article-inspection-configuration/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | `src/views/quality-management/process-control/first-article-inspection-records/` | -| ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | `src/views/quality-management/process-control/first-article-inspection-reports/` | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | 待确认 | diff --git a/src/api/quality-management/first-article-inspection-reports.js b/src/api/quality-management/first-article-inspection-reports.js new file mode 100644 index 00000000..894bc340 --- /dev/null +++ b/src/api/quality-management/first-article-inspection-reports.js @@ -0,0 +1,15 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/first_inspection/first_inspection/' + +function apiParams (data = {}, method = 'get.setting.item.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchFirstArticleInspectionReportsList (data = {}) { + return request({ + url: BASE + 'item/list', + method: 'post', + data: apiParams(data, 'get.setting.item.list', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index c3301b85..c4e2c48e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3079,6 +3079,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "first_article_inspection_reports": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add First Article Inspection Reports", + "edit_title": "Edit First Article Inspection Reports", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 401b98b2..88c445f3 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3079,6 +3079,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "first_article_inspection_reports": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增首巡检报表", + "edit_title": "编辑首巡检报表", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index 1b316988..db477615 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -31,6 +31,12 @@ export default { name: `${pre}process-control-first-article-inspection-records`, meta: { ...meta, cache: true, title: '首巡检录入' }, component: _import('quality-management/process-control/first-article-inspection-records') + }, + { + path: 'first_inspection/report', + name: `${pre}process-control-first-article-inspection-reports`, + meta: { ...meta, cache: true, title: '首巡检报表' }, + component: _import('quality-management/process-control/first-article-inspection-reports') } ])('quality_control-') } diff --git a/src/views/quality-management/process-control/first-article-inspection-reports/index.vue b/src/views/quality-management/process-control/first-article-inspection-reports/index.vue new file mode 100644 index 00000000..ef9dc893 --- /dev/null +++ b/src/views/quality-management/process-control/first-article-inspection-reports/index.vue @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + From e1111fe6dfe5215eed2769dd845dbb6ef3573ecd Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:25:23 +0800 Subject: [PATCH 05/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A3=80=E9=AA=8C=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../quality-management/inspection-orders.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../inspection-orders/index.vue | 303 ++++++++++++++++++ 7 files changed, 485 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/inspection-orders.js create mode 100644 src/views/quality-management/inspection-management/inspection-orders/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index b43745af..d7e7e17f 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -38,3 +38,13 @@ - [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +## 检验单管理 (Inspection Orders) + +- [ ] 通过菜单或地址 /quality_control/xqc/inspection_order_manage 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 78fc5cff..e04a1474 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:52 -- 未迁移:27 +- 已迁移:53 +- 未迁移:26 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -57,7 +57,7 @@ | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检项目配置 (First Article Inspection Configuration) | | `src/views/quality-management/process-control/first-article-inspection-configuration/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | `src/views/quality-management/process-control/first-article-inspection-records/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | `src/views/quality-management/process-control/first-article-inspection-reports/` | -| ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | `src/views/quality-management/inspection-management/inspection-orders/` | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | 待确认 | diff --git a/src/api/quality-management/inspection-orders.js b/src/api/quality-management/inspection-orders.js new file mode 100644 index 00000000..07c10004 --- /dev/null +++ b/src/api/quality-management/inspection-orders.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/xqc/inspection_order_manage/' + +function apiParams (data = {}, method = 'xqc.inspection_order_manage.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchInspectionOrdersList (data = {}) { + return request({ + url: BASE + 'list', + method: 'post', + data: apiParams(data, 'xqc.inspection_order_manage.list', 'api') + }) +} + +export function createInspectionOrders (data = {}) { + return request({ + url: BASE + 'save', + method: 'post', + data: apiParams(data, 'xqc.inspection_order_manage.save', 'api') + }) +} + +export function editInspectionOrders (data = {}) { + return request({ + url: BASE + 'save', + method: 'post', + data: apiParams(data, 'xqc.inspection_order_manage.save', 'api') + }) +} + +export function deleteInspectionOrders (data = {}) { + return request({ + url: BASE + 'revoke', + method: 'post', + data: apiParams(data, 'xqc.inspection_order_manage.revoke', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index c4e2c48e..2ab2c0d0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3141,6 +3141,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "inspection_orders": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Inspection Orders", + "edit_title": "Edit Inspection Orders", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 88c445f3..524eb860 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3141,6 +3141,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "inspection_orders": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增检验单管理", + "edit_title": "编辑检验单管理", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index db477615..2200706e 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -37,6 +37,12 @@ export default { name: `${pre}process-control-first-article-inspection-reports`, meta: { ...meta, cache: true, title: '首巡检报表' }, component: _import('quality-management/process-control/first-article-inspection-reports') + }, + { + path: 'xqc/inspection_order_manage', + name: `${pre}inspection-management-inspection-orders`, + meta: { ...meta, cache: true, title: '检验单管理' }, + component: _import('quality-management/inspection-management/inspection-orders') } ])('quality_control-') } diff --git a/src/views/quality-management/inspection-management/inspection-orders/index.vue b/src/views/quality-management/inspection-management/inspection-orders/index.vue new file mode 100644 index 00000000..665939d9 --- /dev/null +++ b/src/views/quality-management/inspection-management/inspection-orders/index.vue @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From 967522770236e6e13778b851d3a0a8cde43959ba Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:25:45 +0800 Subject: [PATCH 06/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A3=80=E9=AA=8C=E6=A0=87=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../inspection-standards.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../inspection-standards/index.vue | 313 ++++++++++++++++++ 7 files changed, 495 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/inspection-standards.js create mode 100644 src/views/quality-management/inspection-management/inspection-standards/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index d7e7e17f..e35bee04 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -48,3 +48,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 检验标准 (Inspection Standards) + +- [ ] 通过菜单或地址 /quality_control/xqc/inspection_standard 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index e04a1474..05b4ecd2 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:53 -- 未迁移:26 +- 已迁移:54 +- 未迁移:25 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -58,7 +58,7 @@ | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | `src/views/quality-management/process-control/first-article-inspection-records/` | | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | `src/views/quality-management/process-control/first-article-inspection-reports/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | `src/views/quality-management/inspection-management/inspection-orders/` | -| ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | `src/views/quality-management/inspection-management/inspection-standards/` | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | 待确认 | diff --git a/src/api/quality-management/inspection-standards.js b/src/api/quality-management/inspection-standards.js new file mode 100644 index 00000000..878fc489 --- /dev/null +++ b/src/api/quality-management/inspection-standards.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/xqc/inspection_standard/' + +function apiParams (data = {}, method = 'get.quality.inspection_standard.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchInspectionStandardsList (data = {}) { + return request({ + url: BASE + 'list', + method: 'post', + data: apiParams(data, 'get.quality.inspection_standard.list', 'api') + }) +} + +export function createInspectionStandards (data = {}) { + return request({ + url: BASE + 'add', + method: 'post', + data: apiParams(data, 'add.quality.inspection_standard.add', 'api') + }) +} + +export function editInspectionStandards (data = {}) { + return request({ + url: BASE + 'set', + method: 'post', + data: apiParams(data, 'set.quality.inspection_standard.set', 'api') + }) +} + +export function deleteInspectionStandards (data = {}) { + return request({ + url: BASE + 'del', + method: 'post', + data: apiParams(data, 'del.quality.inspection_standard.del', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index 2ab2c0d0..e4c51d9a 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3203,6 +3203,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "inspection_standards": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Inspection Standards", + "edit_title": "Edit Inspection Standards", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 524eb860..e2570ea4 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3203,6 +3203,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "inspection_standards": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增检验标准", + "edit_title": "编辑检验标准", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index 2200706e..cd15354f 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -43,6 +43,12 @@ export default { name: `${pre}inspection-management-inspection-orders`, meta: { ...meta, cache: true, title: '检验单管理' }, component: _import('quality-management/inspection-management/inspection-orders') + }, + { + path: 'xqc/inspection_standard', + name: `${pre}inspection-management-inspection-standards`, + meta: { ...meta, cache: true, title: '检验标准' }, + component: _import('quality-management/inspection-management/inspection-standards') } ])('quality_control-') } diff --git a/src/views/quality-management/inspection-management/inspection-standards/index.vue b/src/views/quality-management/inspection-management/inspection-standards/index.vue new file mode 100644 index 00000000..f1040926 --- /dev/null +++ b/src/views/quality-management/inspection-management/inspection-standards/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From 19f8f18f855929702c5a060eb419d5a112fa8834 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:26:07 +0800 Subject: [PATCH 07/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=8E=A5=E6=94=B6=E8=B4=A8=E9=87=8F=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- src/api/quality-management/aql-standards.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../aql-standards/index.vue | 313 ++++++++++++++++++ 7 files changed, 495 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/aql-standards.js create mode 100644 src/views/quality-management/inspection-management/aql-standards/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index e35bee04..e4478911 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -58,3 +58,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 接收质量限 (AQL Standards) + +- [ ] 通过菜单或地址 /quality_control/xqc/aql_config 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 05b4ecd2..fff9a65d 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:54 -- 未迁移:25 +- 已迁移:55 +- 未迁移:24 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -59,7 +59,7 @@ | ✅ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检报表 (First Article Inspection Reports) | | `src/views/quality-management/process-control/first-article-inspection-reports/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | `src/views/quality-management/inspection-management/inspection-orders/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | `src/views/quality-management/inspection-management/inspection-standards/` | -| ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | `src/views/quality-management/inspection-management/aql-standards/` | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | 待确认 | diff --git a/src/api/quality-management/aql-standards.js b/src/api/quality-management/aql-standards.js new file mode 100644 index 00000000..a656c201 --- /dev/null +++ b/src/api/quality-management/aql-standards.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/xqc/aql_config/' + +function apiParams (data = {}, method = 'quality_control_xqc_aql_config_list', platform = 'background') { + return { method, platform, ...data } +} +export function fetchAqlStandardsList (data = {}) { + return request({ + url: BASE + 'list', + method: 'get', + params: apiParams(data, 'quality_control_xqc_aql_config_list', 'background') + }) +} + +export function createAqlStandards (data = {}) { + return request({ + url: BASE + 'create', + method: 'post', + data: apiParams(data, 'quality_control_xqc_aql_config_create', 'api') + }) +} + +export function editAqlStandards (data = {}) { + return request({ + url: BASE + 'edit', + method: 'post', + data: apiParams(data, 'quality_control_xqc_aql_config_edit', 'api') + }) +} + +export function deleteAqlStandards (data = {}) { + return request({ + url: BASE + 'delete', + method: 'post', + data: apiParams(data, 'quality_control_xqc_aql_config_delete', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index e4c51d9a..6ef76414 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3265,6 +3265,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "aql_standards": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add AQL Standards", + "edit_title": "Edit AQL Standards", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index e2570ea4..d24b3846 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3265,6 +3265,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "aql_standards": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增接收质量限", + "edit_title": "编辑接收质量限", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index cd15354f..191410d2 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -49,6 +49,12 @@ export default { name: `${pre}inspection-management-inspection-standards`, meta: { ...meta, cache: true, title: '检验标准' }, component: _import('quality-management/inspection-management/inspection-standards') + }, + { + path: 'xqc/aql_config', + name: `${pre}inspection-management-aql-standards`, + meta: { ...meta, cache: true, title: '接收质量限' }, + component: _import('quality-management/inspection-management/aql-standards') } ])('quality_control-') } diff --git a/src/views/quality-management/inspection-management/aql-standards/index.vue b/src/views/quality-management/inspection-management/aql-standards/index.vue new file mode 100644 index 00000000..053661f9 --- /dev/null +++ b/src/views/quality-management/inspection-management/aql-standards/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From 7125bc4884e0653a14480b0e9d77b0becdabb73e Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:26:29 +0800 Subject: [PATCH 08/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A3=80=E6=B5=8B=E6=96=B9=E6=A1=88=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../quality-management/inspection-plans.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../inspection-plans/index.vue | 313 ++++++++++++++++++ 7 files changed, 495 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/inspection-plans.js create mode 100644 src/views/quality-management/inspection-management/inspection-plans/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index e4478911..5a71335a 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -68,3 +68,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 检测方案维护 (Inspection Plans) + +- [ ] 通过菜单或地址 /quality_control/xqc/inspection_plan 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index fff9a65d..17e37529 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:55 -- 未迁移:24 +- 已迁移:56 +- 未迁移:23 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -60,7 +60,7 @@ | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验单管理 (Inspection Orders) | | `src/views/quality-management/inspection-management/inspection-orders/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | `src/views/quality-management/inspection-management/inspection-standards/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | `src/views/quality-management/inspection-management/aql-standards/` | -| ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | `src/views/quality-management/inspection-management/inspection-plans/` | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | 待确认 | diff --git a/src/api/quality-management/inspection-plans.js b/src/api/quality-management/inspection-plans.js new file mode 100644 index 00000000..a0497821 --- /dev/null +++ b/src/api/quality-management/inspection-plans.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/xqc/inspection_plan/' + +function apiParams (data = {}, method = 'quality_control_xqc_inspection_plan_list', platform = 'background') { + return { method, platform, ...data } +} +export function fetchInspectionPlansList (data = {}) { + return request({ + url: BASE + 'list', + method: 'get', + params: apiParams(data, 'quality_control_xqc_inspection_plan_list', 'background') + }) +} + +export function createInspectionPlans (data = {}) { + return request({ + url: BASE + 'create', + method: 'post', + data: apiParams(data, 'quality_control_xqc_inspection_plan_create', 'background') + }) +} + +export function editInspectionPlans (data = {}) { + return request({ + url: BASE + 'edit', + method: 'post', + data: apiParams(data, 'quality_control_xqc_inspection_plan_edit', 'background') + }) +} + +export function deleteInspectionPlans (data = {}) { + return request({ + url: BASE + 'delete', + method: 'post', + data: apiParams(data, 'quality_control_xqc_inspection_plan_delete', 'background') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index 6ef76414..ea921ee0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3327,6 +3327,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "inspection_plans": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Inspection Plans", + "edit_title": "Edit Inspection Plans", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index d24b3846..b2f6e4c9 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3327,6 +3327,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "inspection_plans": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增检测方案维护", + "edit_title": "编辑检测方案维护", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index 191410d2..4bd4d919 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -55,6 +55,12 @@ export default { name: `${pre}inspection-management-aql-standards`, meta: { ...meta, cache: true, title: '接收质量限' }, component: _import('quality-management/inspection-management/aql-standards') + }, + { + path: 'xqc/inspection_plan', + name: `${pre}inspection-management-inspection-plans`, + meta: { ...meta, cache: true, title: '检测方案维护' }, + component: _import('quality-management/inspection-management/inspection-plans') } ])('quality_control-') } diff --git a/src/views/quality-management/inspection-management/inspection-plans/index.vue b/src/views/quality-management/inspection-management/inspection-plans/index.vue new file mode 100644 index 00000000..951deb9b --- /dev/null +++ b/src/views/quality-management/inspection-management/inspection-plans/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From a9c88eb264b90fa9351ab89a6e04f8c61460755b Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:26:52 +0800 Subject: [PATCH 09/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A3=80=E9=AA=8C=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../quality-management/inspection-items.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../inspection-items/index.vue | 313 ++++++++++++++++++ 7 files changed, 495 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/inspection-items.js create mode 100644 src/views/quality-management/inspection-management/inspection-items/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 5a71335a..a8f7ea29 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -78,3 +78,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 检验项目 (Inspection Items) + +- [ ] 通过菜单或地址 /quality_control/xqc/inspection_item 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 17e37529..cfae1603 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:56 -- 未迁移:23 +- 已迁移:57 +- 未迁移:22 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -61,7 +61,7 @@ | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验标准 (Inspection Standards) | | `src/views/quality-management/inspection-management/inspection-standards/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | `src/views/quality-management/inspection-management/aql-standards/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | `src/views/quality-management/inspection-management/inspection-plans/` | -| ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | `src/views/quality-management/inspection-management/inspection-items/` | | ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | 待确认 | diff --git a/src/api/quality-management/inspection-items.js b/src/api/quality-management/inspection-items.js new file mode 100644 index 00000000..c9c835be --- /dev/null +++ b/src/api/quality-management/inspection-items.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/xqc/inspection_item/' + +function apiParams (data = {}, method = 'get.quality.inspection_item.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchInspectionItemsList (data = {}) { + return request({ + url: BASE + 'list', + method: 'post', + data: apiParams(data, 'get.quality.inspection_item.list', 'api') + }) +} + +export function createInspectionItems (data = {}) { + return request({ + url: BASE + 'add', + method: 'post', + data: apiParams(data, 'add.quality.inspection_item.add', 'api') + }) +} + +export function editInspectionItems (data = {}) { + return request({ + url: BASE + 'set', + method: 'post', + data: apiParams(data, 'set.quality.inspection_item.set', 'api') + }) +} + +export function deleteInspectionItems (data = {}) { + return request({ + url: BASE + 'del', + method: 'post', + data: apiParams(data, 'del.quality.inspection_item.del', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index ea921ee0..dbea8a1d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3389,6 +3389,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "inspection_items": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Inspection Items", + "edit_title": "Edit Inspection Items", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index b2f6e4c9..5afe322d 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3389,6 +3389,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "inspection_items": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增检验项目", + "edit_title": "编辑检验项目", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index 4bd4d919..7918a43b 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -61,6 +61,12 @@ export default { name: `${pre}inspection-management-inspection-plans`, meta: { ...meta, cache: true, title: '检测方案维护' }, component: _import('quality-management/inspection-management/inspection-plans') + }, + { + path: 'xqc/inspection_item', + name: `${pre}inspection-management-inspection-items`, + meta: { ...meta, cache: true, title: '检验项目' }, + component: _import('quality-management/inspection-management/inspection-items') } ])('quality_control-') } diff --git a/src/views/quality-management/inspection-management/inspection-items/index.vue b/src/views/quality-management/inspection-management/inspection-items/index.vue new file mode 100644 index 00000000..1263ee91 --- /dev/null +++ b/src/views/quality-management/inspection-management/inspection-items/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From 15105bc5c7ca39d112d6e59a194dfd85f033c5f9 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:27:19 +0800 Subject: [PATCH 10/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=8A=BD=E6=A0=B7=E6=96=B9=E6=A1=88=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- src/api/quality-management/sampling-plans.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/quality-management.js | 6 + .../sampling-plans/index.vue | 313 ++++++++++++++++++ 7 files changed, 495 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/sampling-plans.js create mode 100644 src/views/quality-management/inspection-management/sampling-plans/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index a8f7ea29..578a0f1f 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -88,3 +88,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## 抽样方案配置 (Sampling Plans) + +- [ ] 通过菜单或地址 /quality_control/xqc/sampling_plan 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index cfae1603..9636fc9f 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:57 -- 未迁移:22 +- 已迁移:58 +- 未迁移:21 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -62,7 +62,7 @@ | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 接收质量限 (AQL Standards) | | `src/views/quality-management/inspection-management/aql-standards/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | `src/views/quality-management/inspection-management/inspection-plans/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | `src/views/quality-management/inspection-management/inspection-items/` | -| ⬜ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | `src/views/quality-management/inspection-management/sampling-plans/` | | ⬜ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | 待确认 | diff --git a/src/api/quality-management/sampling-plans.js b/src/api/quality-management/sampling-plans.js new file mode 100644 index 00000000..a6ff87d5 --- /dev/null +++ b/src/api/quality-management/sampling-plans.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'quality_control/xqc/sampling_plan/' + +function apiParams (data = {}, method = 'xqc.sampling_plan_config.list', platform = 'api') { + return { method, platform, ...data } +} +export function fetchSamplingPlansList (data = {}) { + return request({ + url: BASE + 'list', + method: 'post', + data: apiParams(data, 'xqc.sampling_plan_config.list', 'api') + }) +} + +export function createSamplingPlans (data = {}) { + return request({ + url: BASE + 'save', + method: 'post', + data: apiParams(data, 'xqc.sampling_plan_config.save', 'api') + }) +} + +export function editSamplingPlans (data = {}) { + return request({ + url: BASE + 'save', + method: 'post', + data: apiParams(data, 'xqc.sampling_plan_config.save', 'api') + }) +} + +export function deleteSamplingPlans (data = {}) { + return request({ + url: BASE + 'delete', + method: 'post', + data: apiParams(data, 'xqc.sampling_plan_config.delete', 'api') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index dbea8a1d..6aeb3518 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3451,6 +3451,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "sampling_plans": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Sampling Plans", + "edit_title": "Edit Sampling Plans", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 5afe322d..415af926 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3451,6 +3451,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "sampling_plans": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增抽样方案配置", + "edit_title": "编辑抽样方案配置", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/quality-management.js b/src/router/modules/quality-management.js index 7918a43b..c755ca33 100644 --- a/src/router/modules/quality-management.js +++ b/src/router/modules/quality-management.js @@ -67,6 +67,12 @@ export default { name: `${pre}inspection-management-inspection-items`, meta: { ...meta, cache: true, title: '检验项目' }, component: _import('quality-management/inspection-management/inspection-items') + }, + { + path: 'xqc/sampling_plan', + name: `${pre}inspection-management-sampling-plans`, + meta: { ...meta, cache: true, title: '抽样方案配置' }, + component: _import('quality-management/inspection-management/sampling-plans') } ])('quality_control-') } diff --git a/src/views/quality-management/inspection-management/sampling-plans/index.vue b/src/views/quality-management/inspection-management/sampling-plans/index.vue new file mode 100644 index 00000000..4ed1ad25 --- /dev/null +++ b/src/views/quality-management/inspection-management/sampling-plans/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From cc7e06fdb11989c1b36c4331f2db2af02313a557 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:27:43 +0800 Subject: [PATCH 11/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86SPC=E6=B8=B2=E6=9F=93=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 10 + docs/迁移任务列表.md | 6 +- .../quality-management/spc-configuration.js | 39 +++ src/locales/en.json | 62 ++++ src/locales/zh-chs.json | 62 ++++ src/router/modules/spc-quality-management.js | 24 ++ src/router/routes.js | 4 +- .../spc-control/spc-configuration/index.vue | 313 ++++++++++++++++++ 8 files changed, 516 insertions(+), 4 deletions(-) create mode 100644 src/api/quality-management/spc-configuration.js create mode 100644 src/router/modules/spc-quality-management.js create mode 100644 src/views/quality-management/spc-control/spc-configuration/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 578a0f1f..3d2f8485 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -98,3 +98,13 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## SPC渲染条件配置 (SPC Configuration) + +- [ ] 通过菜单或地址 /spc/management 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 新增一条测试数据,确认必填校验、提交成功提示和列表刷新正常。 +- [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 +- [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 9636fc9f..0d148858 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:58 -- 未迁移:21 +- 已迁移:59 +- 未迁移:20 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -63,7 +63,7 @@ | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检测方案维护 (Inspection Plans) | | `src/views/quality-management/inspection-management/inspection-plans/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | `src/views/quality-management/inspection-management/inspection-items/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | `src/views/quality-management/inspection-management/sampling-plans/` | -| ⬜ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | `src/views/quality-management/spc-control/spc-configuration/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | 待确认 | diff --git a/src/api/quality-management/spc-configuration.js b/src/api/quality-management/spc-configuration.js new file mode 100644 index 00000000..ea6b08cf --- /dev/null +++ b/src/api/quality-management/spc-configuration.js @@ -0,0 +1,39 @@ +import { request } from '@/api/_service' + +const BASE = 'spc/manager/' + +function apiParams (data = {}, method = 'get.spc.create', platform = 'admin') { + return { method, platform, ...data } +} +export function fetchSpcConfigurationList (data = {}) { + return request({ + url: BASE + 'list', + method: 'get', + params: apiParams(data, 'get.spc.create', 'admin') + }) +} + +export function createSpcConfiguration (data = {}) { + return request({ + url: BASE + 'create', + method: 'post', + data: apiParams(data, 'set.spc.create', 'admin') + }) +} + +export function editSpcConfiguration (data = {}) { + return request({ + url: BASE + 'edit', + method: 'put', + data: apiParams(data, 'set.spc.edit', 'admin') + }) +} + +export function deleteSpcConfiguration (data = {}) { + return request({ + url: BASE + 'delete', + method: 'post', + data: apiParams(data, 'set.spc.delete', 'admin') + }) +} + diff --git a/src/locales/en.json b/src/locales/en.json index 6aeb3518..ec608749 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3513,6 +3513,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "spc_configuration": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add SPC Configuration", + "edit_title": "Edit SPC Configuration", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 415af926..86de532b 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3513,6 +3513,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "spc_configuration": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增SPC渲染条件配置", + "edit_title": "编辑SPC渲染条件配置", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js new file mode 100644 index 00000000..8b66bec5 --- /dev/null +++ b/src/router/modules/spc-quality-management.js @@ -0,0 +1,24 @@ +import layoutHeaderAside from '@/layout/header-aside' + +const meta = { auth: true } + +const _import = require('@/libs/util.import.' + process.env.NODE_ENV) + +export default { + path: '/spc', + component: layoutHeaderAside, + children: (pre => [ + { + path: 'index', + name: `${pre}index`, + meta: { ...meta, title: 'SPC统计过程控制', root: '/spc' }, + component: _import('system/function/module-index') + }, + { + path: 'management', + name: `${pre}spc-control-spc-configuration`, + meta: { ...meta, cache: true, title: 'SPC渲染条件配置' }, + component: _import('quality-management/spc-control/spc-configuration') + } + ])('spc-') +} diff --git a/src/router/routes.js b/src/router/routes.js index 2b97cb9b..82a29268 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -5,6 +5,7 @@ import planningProduction from './modules/planning-production' import dataPlatform from './modules/data-platform' import systemAdministration from './modules/system-administration' import equipmentManagement from './modules/equipment-management' +import spcQualityManagement from './modules/spc-quality-management' // 由于懒加载页面太多的话会造成webpack热更新太慢,所以开发环境不使用懒加载,只有生产环境使用懒加载 const _import = require('@/libs/util.import.' + process.env.NODE_ENV) @@ -59,7 +60,8 @@ const frameIn = [ planningProduction, dataPlatform, systemAdministration, - equipmentManagement + equipmentManagement, + spcQualityManagement ] /** diff --git a/src/views/quality-management/spc-control/spc-configuration/index.vue b/src/views/quality-management/spc-control/spc-configuration/index.vue new file mode 100644 index 00000000..7a03f8eb --- /dev/null +++ b/src/views/quality-management/spc-control/spc-configuration/index.vue @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + From 9f349d325ab241a8a512801b4be323793d4e538a Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:28:05 +0800 Subject: [PATCH 12/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86XBar-R=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- .../quality-management/spc-sample-report.js | 24 +++ src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/xbar-r/index.vue | 199 ++++++++++++++++++ 7 files changed, 365 insertions(+), 3 deletions(-) create mode 100644 src/api/quality-management/spc-sample-report.js create mode 100644 src/views/quality-management/spc-variable-charts/xbar-r/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 3d2f8485..ea6c06de 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -108,3 +108,12 @@ - [ ] 编辑刚新增的数据,确认回显、保存和刷新后的字段值正确。 - [ ] 删除测试数据,确认二次确认弹窗、删除请求和列表刷新正常。 +## XBar-R (XBar-R Chart) + +- [ ] 通过菜单或地址 /spc/chart/XBar-R 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 0d148858..1504d1c6 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:59 -- 未迁移:20 +- 已迁移:60 +- 未迁移:19 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -64,7 +64,7 @@ | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 检验项目 (Inspection Items) | | `src/views/quality-management/inspection-management/inspection-items/` | | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | `src/views/quality-management/inspection-management/sampling-plans/` | | ✅ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | `src/views/quality-management/spc-control/spc-configuration/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | `src/views/quality-management/spc-variable-charts/xbar-r/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | 待确认 | diff --git a/src/api/quality-management/spc-sample-report.js b/src/api/quality-management/spc-sample-report.js new file mode 100644 index 00000000..cc7f06d5 --- /dev/null +++ b/src/api/quality-management/spc-sample-report.js @@ -0,0 +1,24 @@ +import { request } from '@/api/_service' + +const BASE = 'spc/manager/' + +function apiParams (data = {}, method = 'get.spc.all') { + return { method, platform: 'admin', ...data } +} + +export function getSpcConfigAll (data = {}) { + return request({ + url: BASE + 'all', + method: 'get', + params: apiParams(data, 'get.spc.all') + }) +} + +export function getNodeSubgroupSamplesData (data = {}) { + return request({ + baseURL: process.env.VUE_APP_HSLSERVER_API, + url: '', + method: 'post', + data + }) +} diff --git a/src/locales/en.json b/src/locales/en.json index ec608749..cbd03be6 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3575,6 +3575,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "xbar_r": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add XBar-R Chart", + "edit_title": "Edit XBar-R Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 86de532b..4597214d 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3575,6 +3575,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "xbar_r": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增XBar-R", + "edit_title": "编辑XBar-R", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 8b66bec5..e0f5c6af 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -19,6 +19,12 @@ export default { name: `${pre}spc-control-spc-configuration`, meta: { ...meta, cache: true, title: 'SPC渲染条件配置' }, component: _import('quality-management/spc-control/spc-configuration') + }, + { + path: 'chart/XBar-R', + name: `${pre}spc-variable-charts-xbar-r`, + meta: { ...meta, cache: true, title: 'XBar-R' }, + component: _import('quality-management/spc-variable-charts/xbar-r') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/xbar-r/index.vue b/src/views/quality-management/spc-variable-charts/xbar-r/index.vue new file mode 100644 index 00000000..af99b9c8 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/xbar-r/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 54ba033db66c110e6d67d90932dfe8955fb549c8 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:28:28 +0800 Subject: [PATCH 13/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86XBar-S=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/xbar-s/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/xbar-s/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index ea6c06de..2101cf4f 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -117,3 +117,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## XBar-S (XBar-S Chart) + +- [ ] 通过菜单或地址 /spc/chart/XBar-S 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 1504d1c6..b7be27c6 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:60 -- 未迁移:19 +- 已迁移:61 +- 未迁移:18 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -65,7 +65,7 @@ | ✅ | 质量管理 (Quality Management) | 检验控制 (Inspection Management) | 抽样方案配置 (Sampling Plans) | | `src/views/quality-management/inspection-management/sampling-plans/` | | ✅ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | `src/views/quality-management/spc-control/spc-configuration/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | `src/views/quality-management/spc-variable-charts/xbar-r/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | `src/views/quality-management/spc-variable-charts/xbar-s/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index cbd03be6..1684835e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3637,6 +3637,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "xbar_s": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add XBar-S Chart", + "edit_title": "Edit XBar-S Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 4597214d..1c9a9f31 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3637,6 +3637,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "xbar_s": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增XBar-S", + "edit_title": "编辑XBar-S", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index e0f5c6af..75c09fc1 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -25,6 +25,12 @@ export default { name: `${pre}spc-variable-charts-xbar-r`, meta: { ...meta, cache: true, title: 'XBar-R' }, component: _import('quality-management/spc-variable-charts/xbar-r') + }, + { + path: 'chart/XBar-S', + name: `${pre}spc-variable-charts-xbar-s`, + meta: { ...meta, cache: true, title: 'XBar-S' }, + component: _import('quality-management/spc-variable-charts/xbar-s') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/xbar-s/index.vue b/src/views/quality-management/spc-variable-charts/xbar-s/index.vue new file mode 100644 index 00000000..73194ce1 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/xbar-s/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 2739415e35e4a2946d62a067291a9ace77c37c90 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:28:49 +0800 Subject: [PATCH 14/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86I-MR=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/i-mr/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/i-mr/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 2101cf4f..c6c73131 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -126,3 +126,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## I-MR (I-MR Chart) + +- [ ] 通过菜单或地址 /spc/chart/I-MR 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index b7be27c6..9261f21e 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:61 -- 未迁移:18 +- 已迁移:62 +- 未迁移:17 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -66,7 +66,7 @@ | ✅ | 质量管理 (Quality Management) | SPC统计过程控制 (SPC Control) | SPC渲染条件配置 (SPC Configuration) | | `src/views/quality-management/spc-control/spc-configuration/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | `src/views/quality-management/spc-variable-charts/xbar-r/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | `src/views/quality-management/spc-variable-charts/xbar-s/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | `src/views/quality-management/spc-variable-charts/i-mr/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 1684835e..7e75bca4 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3699,6 +3699,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "i_mr": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add I-MR Chart", + "edit_title": "Edit I-MR Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 1c9a9f31..db5848aa 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3699,6 +3699,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "i_mr": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增I-MR", + "edit_title": "编辑I-MR", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 75c09fc1..dff1eacd 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -31,6 +31,12 @@ export default { name: `${pre}spc-variable-charts-xbar-s`, meta: { ...meta, cache: true, title: 'XBar-S' }, component: _import('quality-management/spc-variable-charts/xbar-s') + }, + { + path: 'chart/I-MR', + name: `${pre}spc-variable-charts-i-mr`, + meta: { ...meta, cache: true, title: 'I-MR' }, + component: _import('quality-management/spc-variable-charts/i-mr') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/i-mr/index.vue b/src/views/quality-management/spc-variable-charts/i-mr/index.vue new file mode 100644 index 00000000..40a90626 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/i-mr/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From ffead080ad7f1286a720a629343f921752156b22 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:29:10 +0800 Subject: [PATCH 15/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86Levey-Jennings=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../levey-jennings/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/levey-jennings/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index c6c73131..e35c6979 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -135,3 +135,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## Levey-Jennings (Levey-Jennings Chart) + +- [ ] 通过菜单或地址 /spc/chart/Levey-Jennings 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 9261f21e..bd33db04 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:62 -- 未迁移:17 +- 已迁移:63 +- 未迁移:16 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -67,7 +67,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-R (XBar-R Chart) | | `src/views/quality-management/spc-variable-charts/xbar-r/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | `src/views/quality-management/spc-variable-charts/xbar-s/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | `src/views/quality-management/spc-variable-charts/i-mr/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | `src/views/quality-management/spc-variable-charts/levey-jennings/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 7e75bca4..9c20ab95 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3761,6 +3761,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "levey_jennings": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Levey-Jennings Chart", + "edit_title": "Edit Levey-Jennings Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index db5848aa..cfd4ea4b 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3761,6 +3761,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "levey_jennings": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增Levey-Jennings", + "edit_title": "编辑Levey-Jennings", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index dff1eacd..52910fe9 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -37,6 +37,12 @@ export default { name: `${pre}spc-variable-charts-i-mr`, meta: { ...meta, cache: true, title: 'I-MR' }, component: _import('quality-management/spc-variable-charts/i-mr') + }, + { + path: 'chart/Levey-Jennings', + name: `${pre}spc-variable-charts-levey-jennings`, + meta: { ...meta, cache: true, title: 'Levey-Jennings' }, + component: _import('quality-management/spc-variable-charts/levey-jennings') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/levey-jennings/index.vue b/src/views/quality-management/spc-variable-charts/levey-jennings/index.vue new file mode 100644 index 00000000..dc8e86c5 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/levey-jennings/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 7c48d0b7c77d798c519ce25c3f7c6200fd2deb04 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:29:32 +0800 Subject: [PATCH 16/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86EWMA=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/ewma/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/ewma/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index e35c6979..74061425 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -144,3 +144,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## EWMA (EWMA Chart) + +- [ ] 通过菜单或地址 /spc/chart/EWMA 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index bd33db04..85c2931a 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:63 -- 未迁移:16 +- 已迁移:64 +- 未迁移:15 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -68,7 +68,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | XBar-S (XBar-S Chart) | | `src/views/quality-management/spc-variable-charts/xbar-s/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | `src/views/quality-management/spc-variable-charts/i-mr/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | `src/views/quality-management/spc-variable-charts/levey-jennings/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | `src/views/quality-management/spc-variable-charts/ewma/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 9c20ab95..e88b0124 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3823,6 +3823,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "ewma": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add EWMA Chart", + "edit_title": "Edit EWMA Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index cfd4ea4b..30bd0615 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3823,6 +3823,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "ewma": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增EWMA", + "edit_title": "编辑EWMA", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 52910fe9..a84518f9 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -43,6 +43,12 @@ export default { name: `${pre}spc-variable-charts-levey-jennings`, meta: { ...meta, cache: true, title: 'Levey-Jennings' }, component: _import('quality-management/spc-variable-charts/levey-jennings') + }, + { + path: 'chart/EWMA', + name: `${pre}spc-variable-charts-ewma`, + meta: { ...meta, cache: true, title: 'EWMA' }, + component: _import('quality-management/spc-variable-charts/ewma') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/ewma/index.vue b/src/views/quality-management/spc-variable-charts/ewma/index.vue new file mode 100644 index 00000000..97421bdd --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/ewma/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 9c54df96006a29f9dbea03a52eec10d7e0a80642 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:29:53 +0800 Subject: [PATCH 17/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86CUSUM=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/cusum/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/cusum/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 74061425..90a915b2 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -153,3 +153,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## CUSUM (CUSUM Chart) + +- [ ] 通过菜单或地址 /spc/chart/CUSUM 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 85c2931a..9868d211 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:64 -- 未迁移:15 +- 已迁移:65 +- 未迁移:14 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -69,7 +69,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | I-MR (I-MR Chart) | | `src/views/quality-management/spc-variable-charts/i-mr/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | `src/views/quality-management/spc-variable-charts/levey-jennings/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | `src/views/quality-management/spc-variable-charts/ewma/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | `src/views/quality-management/spc-variable-charts/cusum/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index e88b0124..78efb022 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3885,6 +3885,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "cusum": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add CUSUM Chart", + "edit_title": "Edit CUSUM Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 30bd0615..caae40da 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3885,6 +3885,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "cusum": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增CUSUM", + "edit_title": "编辑CUSUM", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index a84518f9..7b315477 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -49,6 +49,12 @@ export default { name: `${pre}spc-variable-charts-ewma`, meta: { ...meta, cache: true, title: 'EWMA' }, component: _import('quality-management/spc-variable-charts/ewma') + }, + { + path: 'chart/CUSUM', + name: `${pre}spc-variable-charts-cusum`, + meta: { ...meta, cache: true, title: 'CUSUM' }, + component: _import('quality-management/spc-variable-charts/cusum') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/cusum/index.vue b/src/views/quality-management/spc-variable-charts/cusum/index.vue new file mode 100644 index 00000000..bd93cfba --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/cusum/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From f625f3063dd1a97dcc0c6f6bbb422da4df1efb5d Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:30:15 +0800 Subject: [PATCH 18/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86MA=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/ma/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/ma/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 90a915b2..b1b672f0 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -162,3 +162,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## MA (Moving Average Chart) + +- [ ] 通过菜单或地址 /spc/chart/MA 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 9868d211..51ffaf5e 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:65 -- 未迁移:14 +- 已迁移:66 +- 未迁移:13 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -70,7 +70,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | Levey-Jennings (Levey-Jennings Chart) | | `src/views/quality-management/spc-variable-charts/levey-jennings/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | `src/views/quality-management/spc-variable-charts/ewma/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | `src/views/quality-management/spc-variable-charts/cusum/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | `src/views/quality-management/spc-variable-charts/ma/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 78efb022..18af2d20 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -3947,6 +3947,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "ma": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Moving Average Chart", + "edit_title": "Edit Moving Average Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index caae40da..7f7ebd89 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -3947,6 +3947,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "ma": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增MA", + "edit_title": "编辑MA", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 7b315477..1f953b06 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -55,6 +55,12 @@ export default { name: `${pre}spc-variable-charts-cusum`, meta: { ...meta, cache: true, title: 'CUSUM' }, component: _import('quality-management/spc-variable-charts/cusum') + }, + { + path: 'chart/MA', + name: `${pre}spc-variable-charts-ma`, + meta: { ...meta, cache: true, title: 'MA' }, + component: _import('quality-management/spc-variable-charts/ma') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/ma/index.vue b/src/views/quality-management/spc-variable-charts/ma/index.vue new file mode 100644 index 00000000..066139e6 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/ma/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From f817714c562574f5af4d3eb18370ac8fecdeec1c Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:30:36 +0800 Subject: [PATCH 19/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86MAMR=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/mamr/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/mamr/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index b1b672f0..14974594 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -171,3 +171,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## MAMR (Moving Average MR Chart) + +- [ ] 通过菜单或地址 /spc/chart/MAMR 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 51ffaf5e..f1204f26 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:66 -- 未迁移:13 +- 已迁移:67 +- 未迁移:12 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -71,7 +71,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | EWMA (EWMA Chart) | | `src/views/quality-management/spc-variable-charts/ewma/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | `src/views/quality-management/spc-variable-charts/cusum/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | `src/views/quality-management/spc-variable-charts/ma/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | `src/views/quality-management/spc-variable-charts/mamr/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 18af2d20..2fcdac9a 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4009,6 +4009,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "mamr": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Moving Average MR Chart", + "edit_title": "Edit Moving Average MR Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 7f7ebd89..5d11eb2d 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4009,6 +4009,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "mamr": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增MAMR", + "edit_title": "编辑MAMR", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 1f953b06..2fd73ec3 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -61,6 +61,12 @@ export default { name: `${pre}spc-variable-charts-ma`, meta: { ...meta, cache: true, title: 'MA' }, component: _import('quality-management/spc-variable-charts/ma') + }, + { + path: 'chart/MAMR', + name: `${pre}spc-variable-charts-mamr`, + meta: { ...meta, cache: true, title: 'MAMR' }, + component: _import('quality-management/spc-variable-charts/mamr') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/mamr/index.vue b/src/views/quality-management/spc-variable-charts/mamr/index.vue new file mode 100644 index 00000000..c2eb04c9 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/mamr/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From d984ea610739e1769c7afa525a41e1871ef382e0 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:30:58 +0800 Subject: [PATCH 20/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86MAMS=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/mams/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/mams/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 14974594..79dbbfe8 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -180,3 +180,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## MAMS (Moving Average S Chart) + +- [ ] 通过菜单或地址 /spc/chart/MAMS 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index f1204f26..69ca1e0d 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:67 -- 未迁移:12 +- 已迁移:68 +- 未迁移:11 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -72,7 +72,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CUSUM (CUSUM Chart) | | `src/views/quality-management/spc-variable-charts/cusum/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | `src/views/quality-management/spc-variable-charts/ma/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | `src/views/quality-management/spc-variable-charts/mamr/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | `src/views/quality-management/spc-variable-charts/mams/` | | ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 2fcdac9a..0d869fc0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4071,6 +4071,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "mams": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Moving Average S Chart", + "edit_title": "Edit Moving Average S Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 5d11eb2d..c5f63d1b 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4071,6 +4071,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "mams": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增MAMS", + "edit_title": "编辑MAMS", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 2fd73ec3..a52eb30e 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -67,6 +67,12 @@ export default { name: `${pre}spc-variable-charts-mamr`, meta: { ...meta, cache: true, title: 'MAMR' }, component: _import('quality-management/spc-variable-charts/mamr') + }, + { + path: 'chart/MAMS', + name: `${pre}spc-variable-charts-mams`, + meta: { ...meta, cache: true, title: 'MAMS' }, + component: _import('quality-management/spc-variable-charts/mams') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/mams/index.vue b/src/views/quality-management/spc-variable-charts/mams/index.vue new file mode 100644 index 00000000..2f76a799 --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/mams/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 9af7dbf668505cef0d8a2c1d0e55f0d2658a4c36 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:31:20 +0800 Subject: [PATCH 21/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86CPK=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-variable-charts/cpk/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-variable-charts/cpk/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 79dbbfe8..1bcd0678 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -189,3 +189,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## CPK (Process Capability Index) + +- [ ] 通过菜单或地址 /spc/chart/Cpk 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 69ca1e0d..a8f13272 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:68 -- 未迁移:11 +- 已迁移:69 +- 未迁移:10 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -73,7 +73,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MA (Moving Average Chart) | | `src/views/quality-management/spc-variable-charts/ma/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | `src/views/quality-management/spc-variable-charts/mamr/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | `src/views/quality-management/spc-variable-charts/mams/` | -| ⬜ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | `src/views/quality-management/spc-variable-charts/cpk/` | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 0d869fc0..37183cfb 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4133,6 +4133,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "cpk": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add Process Capability Index", + "edit_title": "Edit Process Capability Index", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index c5f63d1b..83b161c2 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4133,6 +4133,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "cpk": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增CPK", + "edit_title": "编辑CPK", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index a52eb30e..65354c9e 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -73,6 +73,12 @@ export default { name: `${pre}spc-variable-charts-mams`, meta: { ...meta, cache: true, title: 'MAMS' }, component: _import('quality-management/spc-variable-charts/mams') + }, + { + path: 'chart/Cpk', + name: `${pre}spc-variable-charts-cpk`, + meta: { ...meta, cache: true, title: 'CPK' }, + component: _import('quality-management/spc-variable-charts/cpk') } ])('spc-') } diff --git a/src/views/quality-management/spc-variable-charts/cpk/index.vue b/src/views/quality-management/spc-variable-charts/cpk/index.vue new file mode 100644 index 00000000..86d5ca5a --- /dev/null +++ b/src/views/quality-management/spc-variable-charts/cpk/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 5a4001ddf7fe277c7b83121b004e778045621ba1 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:31:42 +0800 Subject: [PATCH 22/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86DPMO=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-attribute-charts/dpmo/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-attribute-charts/dpmo/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 1bcd0678..a7b69f48 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -198,3 +198,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## DPMO (DPMO) + +- [ ] 通过菜单或地址 /spc/chart/DPMO 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index a8f13272..596c2a2f 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:69 -- 未迁移:10 +- 已迁移:70 +- 未迁移:9 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -74,7 +74,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMR (Moving Average MR Chart) | | `src/views/quality-management/spc-variable-charts/mamr/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | `src/views/quality-management/spc-variable-charts/mams/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | `src/views/quality-management/spc-variable-charts/cpk/` | -| ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | `src/views/quality-management/spc-attribute-charts/dpmo/` | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | CChart (C Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index 37183cfb..efccc683 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4195,6 +4195,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "dpmo": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add DPMO", + "edit_title": "Edit DPMO", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 83b161c2..cb788120 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4195,6 +4195,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "dpmo": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增DPMO", + "edit_title": "编辑DPMO", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 65354c9e..e578d071 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -79,6 +79,12 @@ export default { name: `${pre}spc-variable-charts-cpk`, meta: { ...meta, cache: true, title: 'CPK' }, component: _import('quality-management/spc-variable-charts/cpk') + }, + { + path: 'chart/DPMO', + name: `${pre}spc-attribute-charts-dpmo`, + meta: { ...meta, cache: true, title: 'DPMO' }, + component: _import('quality-management/spc-attribute-charts/dpmo') } ])('spc-') } diff --git a/src/views/quality-management/spc-attribute-charts/dpmo/index.vue b/src/views/quality-management/spc-attribute-charts/dpmo/index.vue new file mode 100644 index 00000000..192cd456 --- /dev/null +++ b/src/views/quality-management/spc-attribute-charts/dpmo/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From 5d1fbcc508e454ab9709f5cacc4ea0f650cb09e1 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:32:03 +0800 Subject: [PATCH 23/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86PChart=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-attribute-charts/pchart/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-attribute-charts/pchart/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index a7b69f48..1fc73d8c 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -207,3 +207,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## PChart (P Chart) + +- [ ] 通过菜单或地址 /spc/chart/PChart 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 596c2a2f..65a10edb 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:70 -- 未迁移:9 +- 已迁移:71 +- 未迁移:8 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -75,7 +75,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | MAMS (Moving Average S Chart) | | `src/views/quality-management/spc-variable-charts/mams/` | | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | `src/views/quality-management/spc-variable-charts/cpk/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | `src/views/quality-management/spc-attribute-charts/dpmo/` | -| ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | `src/views/quality-management/spc-attribute-charts/pchart/` | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | CChart (C Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | UChart (U Chart) | | 待确认 | diff --git a/src/locales/en.json b/src/locales/en.json index efccc683..62254ebc 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4257,6 +4257,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "pchart": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add P Chart", + "edit_title": "Edit P Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index cb788120..82be9ece 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4257,6 +4257,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "pchart": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增PChart", + "edit_title": "编辑PChart", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index e578d071..f1e3db2d 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -85,6 +85,12 @@ export default { name: `${pre}spc-attribute-charts-dpmo`, meta: { ...meta, cache: true, title: 'DPMO' }, component: _import('quality-management/spc-attribute-charts/dpmo') + }, + { + path: 'chart/PChart', + name: `${pre}spc-attribute-charts-pchart`, + meta: { ...meta, cache: true, title: 'PChart' }, + component: _import('quality-management/spc-attribute-charts/pchart') } ])('spc-') } diff --git a/src/views/quality-management/spc-attribute-charts/pchart/index.vue b/src/views/quality-management/spc-attribute-charts/pchart/index.vue new file mode 100644 index 00000000..b0467691 --- /dev/null +++ b/src/views/quality-management/spc-attribute-charts/pchart/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From f40ff30943aca7a8aa8ed6181e923fefdd9671f6 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:32:25 +0800 Subject: [PATCH 24/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86NPChart=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-attribute-charts/npchart/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-attribute-charts/npchart/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 1fc73d8c..de680775 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -216,3 +216,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## NPChart (NP Chart) + +- [ ] 通过菜单或地址 /spc/chart/NPChart 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 65a10edb..fc55f0f1 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:71 -- 未迁移:8 +- 已迁移:72 +- 未迁移:7 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -76,7 +76,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计量型报表 (SPC Variable Charts) | CPK (Process Capability Index) | | `src/views/quality-management/spc-variable-charts/cpk/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | `src/views/quality-management/spc-attribute-charts/dpmo/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | `src/views/quality-management/spc-attribute-charts/pchart/` | -| ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | `src/views/quality-management/spc-attribute-charts/npchart/` | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | CChart (C Chart) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | UChart (U Chart) | | 待确认 | | ✅ | 数据中台 (Data Platform) | 基础追溯 (Traceability) | 反向追溯 (Backward Traceability) | 反向追溯 | `src/views/data-platform/traceability/backward/` | diff --git a/src/locales/en.json b/src/locales/en.json index 62254ebc..1b2b5c68 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4319,6 +4319,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "npchart": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add NP Chart", + "edit_title": "Edit NP Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 82be9ece..538523cd 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4319,6 +4319,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "npchart": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增NPChart", + "edit_title": "编辑NPChart", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index f1e3db2d..c874bf83 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -91,6 +91,12 @@ export default { name: `${pre}spc-attribute-charts-pchart`, meta: { ...meta, cache: true, title: 'PChart' }, component: _import('quality-management/spc-attribute-charts/pchart') + }, + { + path: 'chart/NPChart', + name: `${pre}spc-attribute-charts-npchart`, + meta: { ...meta, cache: true, title: 'NPChart' }, + component: _import('quality-management/spc-attribute-charts/npchart') } ])('spc-') } diff --git a/src/views/quality-management/spc-attribute-charts/npchart/index.vue b/src/views/quality-management/spc-attribute-charts/npchart/index.vue new file mode 100644 index 00000000..e1422bea --- /dev/null +++ b/src/views/quality-management/spc-attribute-charts/npchart/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From dcc706308b7906c7900892b145859e2f59fc6bbd Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:32:47 +0800 Subject: [PATCH 25/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86CChart=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-attribute-charts/cchart/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-attribute-charts/cchart/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index de680775..4e612037 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -225,3 +225,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## CChart (C Chart) + +- [ ] 通过菜单或地址 /spc/chart/CChart 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index fc55f0f1..584841cc 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:72 -- 未迁移:7 +- 已迁移:73 +- 未迁移:6 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -77,7 +77,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | DPMO (DPMO) | | `src/views/quality-management/spc-attribute-charts/dpmo/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | `src/views/quality-management/spc-attribute-charts/pchart/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | `src/views/quality-management/spc-attribute-charts/npchart/` | -| ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | CChart (C Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | CChart (C Chart) | | `src/views/quality-management/spc-attribute-charts/cchart/` | | ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | UChart (U Chart) | | 待确认 | | ✅ | 数据中台 (Data Platform) | 基础追溯 (Traceability) | 反向追溯 (Backward Traceability) | 反向追溯 | `src/views/data-platform/traceability/backward/` | | ✅ | 数据中台 (Data Platform) | 基础追溯 (Traceability) | 正向追溯 (Forward Traceability) | 正向追溯 | `src/views/data-platform/traceability/forward/` | diff --git a/src/locales/en.json b/src/locales/en.json index 1b2b5c68..ea571cb2 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4381,6 +4381,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "cchart": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add C Chart", + "edit_title": "Edit C Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 538523cd..e4463dfd 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4381,6 +4381,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "cchart": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增CChart", + "edit_title": "编辑CChart", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index c874bf83..49cc4da4 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -97,6 +97,12 @@ export default { name: `${pre}spc-attribute-charts-npchart`, meta: { ...meta, cache: true, title: 'NPChart' }, component: _import('quality-management/spc-attribute-charts/npchart') + }, + { + path: 'chart/CChart', + name: `${pre}spc-attribute-charts-cchart`, + meta: { ...meta, cache: true, title: 'CChart' }, + component: _import('quality-management/spc-attribute-charts/cchart') } ])('spc-') } diff --git a/src/views/quality-management/spc-attribute-charts/cchart/index.vue b/src/views/quality-management/spc-attribute-charts/cchart/index.vue new file mode 100644 index 00000000..1b30a2be --- /dev/null +++ b/src/views/quality-management/spc-attribute-charts/cchart/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + + From c1e862628945bdac4bb4158e65f67908ae20c537 Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Mon, 22 Jun 2026 19:33:09 +0800 Subject: [PATCH 26/26] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86UChart=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/质量管理功能测试任务列表.md | 9 + docs/迁移任务列表.md | 6 +- src/locales/en.json | 62 ++++++ src/locales/zh-chs.json | 62 ++++++ src/router/modules/spc-quality-management.js | 6 + .../spc-attribute-charts/uchart/index.vue | 199 ++++++++++++++++++ 6 files changed, 341 insertions(+), 3 deletions(-) create mode 100644 src/views/quality-management/spc-attribute-charts/uchart/index.vue diff --git a/docs/质量管理功能测试任务列表.md b/docs/质量管理功能测试任务列表.md index 4e612037..54f22e0d 100644 --- a/docs/质量管理功能测试任务列表.md +++ b/docs/质量管理功能测试任务列表.md @@ -234,3 +234,12 @@ - [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 - [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 +## UChart (U Chart) + +- [ ] 通过菜单或地址 /spc/chart/UChart 打开页面,确认页面标题、查询区和列表区域正常显示。 +- [ ] 输入主要查询条件后点击查询,确认请求参数和列表刷新符合旧系统字段。 +- [ ] 点击重置,确认查询条件清空并回到第一页。 +- [ ] 切换分页大小和页码,确认列表数据、总数和加载状态正常。 +- [ ] 对照旧系统同一查询条件,确认报表/只读列表的关键字段展示一致。 +- [ ] 查询有样本数据的 SPC 项目,确认折线图区域和明细表同步展示,并且无样本时页面不报错。 + diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index 584841cc..ae74b2a3 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:73 -- 未迁移:6 +- 已迁移:74 +- 未迁移:5 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -78,7 +78,7 @@ | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | PChart (P Chart) | | `src/views/quality-management/spc-attribute-charts/pchart/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | NPChart (NP Chart) | | `src/views/quality-management/spc-attribute-charts/npchart/` | | ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | CChart (C Chart) | | `src/views/quality-management/spc-attribute-charts/cchart/` | -| ⬜ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | UChart (U Chart) | | 待确认 | +| ✅ | 质量管理 (Quality Management) | SPC计数型报表 (SPC Attribute Charts) | UChart (U Chart) | | `src/views/quality-management/spc-attribute-charts/uchart/` | | ✅ | 数据中台 (Data Platform) | 基础追溯 (Traceability) | 反向追溯 (Backward Traceability) | 反向追溯 | `src/views/data-platform/traceability/backward/` | | ✅ | 数据中台 (Data Platform) | 基础追溯 (Traceability) | 正向追溯 (Forward Traceability) | 正向追溯 | `src/views/data-platform/traceability/forward/` | | ✅ | 数据中台 (Data Platform) | 基础追溯 (Traceability) | 电池曲线 (Battery Curve) | 电池曲线 | `src/views/data-platform/traceability/battery-curve/` | diff --git a/src/locales/en.json b/src/locales/en.json index ea571cb2..460e58d6 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -4443,6 +4443,68 @@ "subgroup_id": "Subgroup", "sampling_time": "Sampling Time", "sample_value": "Sample Value" + }, + "uchart": { + "search": "Search", + "reset": "Reset", + "operation_success": "Operation succeeded", + "code": "Code", + "name": "Name", + "remark": "Remark", + "note": "Remark", + "operation": "Actions", + "add": "Add", + "edit": "Edit", + "delete": "Delete", + "add_title": "Add U Chart", + "edit_title": "Edit U Chart", + "cancel": "Cancel", + "confirm": "Confirm", + "tip": "Tip", + "confirm_delete": "Are you sure to delete?", + "required": "Required", + "please_enter": "Please enter", + "create_time": "Created At", + "created_at": "Created At", + "updated_at": "Updated At", + "nickname": "Creator", + "batch_no": "Batch No.", + "product_no": "Product Code", + "inspection_item": "Inspection Item", + "inspection_result": "Inspection Result", + "inspector": "Inspector", + "category_name": "Inspection Type", + "category": "Category", + "category_id": "Inspection Type", + "inspection_order_no": "Inspection Order No.", + "material_code": "Material Code", + "material_name": "Material Name", + "inspection_status": "Inspection Status", + "result": "Result", + "inspection_type": "Inspection Type", + "standard_value": "Standard Value", + "aql_value": "AQL Value", + "sampling_plan_name": "Sampling Plan", + "sampling_plan": "Sampling Plan", + "sampling_plan_id": "Sampling Plan", + "supplier": "Supplier", + "inspection_category_name": "Inspection Type", + "inspection_category": "Inspection Type", + "inspection_category_id": "Inspection Type", + "inspection_attribute": "Inspection Attribute", + "inspection_unit": "Inspection Unit", + "scheme_code": "Scheme Code", + "scheme_name": "Scheme Name", + "sample_size": "Sample Size", + "acceptance_number": "Acceptance No.", + "rejection_number": "Rejection No.", + "node_data_name": "Node Data Name", + "node_data_code": "Node Data Code", + "working_subclass": "Shift", + "project_name": "Project Name", + "subgroup_id": "Subgroup", + "sampling_time": "Sampling Time", + "sample_value": "Sample Value" } } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index e4463dfd..4bf4966c 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -4443,6 +4443,68 @@ "subgroup_id": "子组", "sampling_time": "采样时间", "sample_value": "样本值" + }, + "uchart": { + "search": "查询", + "reset": "重置", + "operation_success": "操作成功", + "code": "编码", + "name": "名称", + "remark": "备注", + "note": "备注", + "operation": "操作", + "add": "新增", + "edit": "编辑", + "delete": "删除", + "add_title": "新增UChart", + "edit_title": "编辑UChart", + "cancel": "取消", + "confirm": "确定", + "tip": "提示", + "confirm_delete": "确定要执行该操作吗?", + "required": "必填项", + "please_enter": "请输入", + "create_time": "创建时间", + "created_at": "创建时间", + "updated_at": "更新时间", + "nickname": "创建人", + "batch_no": "批次号", + "product_no": "产品编码", + "inspection_item": "检验项目", + "inspection_result": "检验结果", + "inspector": "检验员", + "category_name": "检验类别", + "category": "类别", + "category_id": "检验类别", + "inspection_order_no": "检验单号", + "material_code": "物料编码", + "material_name": "物料名称", + "inspection_status": "检验状态", + "result": "结果", + "inspection_type": "检验类型", + "standard_value": "标准值", + "aql_value": "AQL值", + "sampling_plan_name": "抽样方案", + "sampling_plan": "抽样方案", + "sampling_plan_id": "抽样方案", + "supplier": "供应商", + "inspection_category_name": "检验类别", + "inspection_category": "检验类别", + "inspection_category_id": "检验类别", + "inspection_attribute": "检验属性", + "inspection_unit": "检验单位", + "scheme_code": "方案编码", + "scheme_name": "方案名称", + "sample_size": "样本数", + "acceptance_number": "接收数", + "rejection_number": "拒收数", + "node_data_name": "节点数据名称", + "node_data_code": "节点数据编码", + "working_subclass": "班次", + "project_name": "项目名称", + "subgroup_id": "子组", + "sampling_time": "采样时间", + "sample_value": "样本值" } } }, diff --git a/src/router/modules/spc-quality-management.js b/src/router/modules/spc-quality-management.js index 49cc4da4..f8291393 100644 --- a/src/router/modules/spc-quality-management.js +++ b/src/router/modules/spc-quality-management.js @@ -103,6 +103,12 @@ export default { name: `${pre}spc-attribute-charts-cchart`, meta: { ...meta, cache: true, title: 'CChart' }, component: _import('quality-management/spc-attribute-charts/cchart') + }, + { + path: 'chart/UChart', + name: `${pre}spc-attribute-charts-uchart`, + meta: { ...meta, cache: true, title: 'UChart' }, + component: _import('quality-management/spc-attribute-charts/uchart') } ])('spc-') } diff --git a/src/views/quality-management/spc-attribute-charts/uchart/index.vue b/src/views/quality-management/spc-attribute-charts/uchart/index.vue new file mode 100644 index 00000000..65f44b7e --- /dev/null +++ b/src/views/quality-management/spc-attribute-charts/uchart/index.vue @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + {{ $t(key('search')) }} + + + {{ $t(key('reset')) }} + + + + + + + + + + + + + + + +