diff --git a/docs/迁移任务列表.md b/docs/迁移任务列表.md index f4987375..adfe489a 100644 --- a/docs/迁移任务列表.md +++ b/docs/迁移任务列表.md @@ -3,8 +3,8 @@ > 根据 `后台Webman界面截图对照表.md` 生成。状态以当前 V2 项目中已落地的页面目录为准。 - 总功能数:79 -- 已迁移:21 -- 未迁移:58 +- 已迁移:22 +- 未迁移:57 | 状态 | 一级模块 | 二级模块 | 三级模块 | 功能说明 | V2 目标路径 | |:---:|---|---|---|---|---| @@ -52,7 +52,7 @@ | ✅ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 托盘管理 (Tray Management) | 托盘管理 | `src/views/planning-production/production-monitoring/tray-management/` | | ⬜ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 托盘登录 (Tray Registration) | 托盘登记 | 待确认 | | ⬜ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 设备监控 (Equipment Monitoring) | 设备监控 | 待确认 | -| ⬜ | 计划与生产 (Planning & Production) | 生产监控 (Production Monitoring) | 电池工序管理 (Process Execution) | 工序管理 | 待确认 | +| ✅ | 计划与生产 (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) | 首巡检项目配置 (First Article Inspection Configuration) | | 待确认 | | ⬜ | 质量管理 (Quality Management) | 过程控制 (Process Control) | 首巡检录入 (First Article Inspection Records) | | 待确认 | diff --git a/src/api/planning-production/process-execution.js b/src/api/planning-production/process-execution.js new file mode 100644 index 00000000..8d6ef391 --- /dev/null +++ b/src/api/planning-production/process-execution.js @@ -0,0 +1,27 @@ +import { request } from '@/api/_service' + +const BASE = 'planning_production/produce/change_battery_process/' + +function apiParams (method, data = {}) { + return { + method, + platform: 'background', + ...data + } +} + +export function verifyBatteryProcessInfo (data) { + return request({ + url: BASE + 'verify', + method: 'get', + params: apiParams('planning_production_produce_change_battery_process_verify', data) + }) +} + +export function changeBatteryProcess (data) { + return request({ + url: BASE + 'change', + method: 'get', + params: apiParams('planning_production_produce_change_battery_process_change', data) + }) +} diff --git a/src/locales/en.json b/src/locales/en.json index 78eba72c..764df858 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1031,6 +1031,36 @@ "grade": "Grade", "activation_status": "Activation Status", "channel_battery_info": "Channel {index} Battery Info" + }, + "process_execution": { + "query": "Search", + "reset": "Reset", + "add": "Add", + "delete": "Delete", + "edit": "Edit", + "confirm": "Confirm", + "cancel": "Cancel", + "prompt": "Notice", + "battery_id": "Battery Barcode", + "enter_battery_id": "Enter battery barcode", + "select_process_to_change": "Select target process", + "please_select_process": "Please select a process", + "clear_class_sign": "Clear grade marker?", + "yes": "Yes", + "no": "No", + "verify_data": "Verify Data", + "change_process": "Change Process", + "multi_battery_input": "Multi-Battery Input", + "input_rule": "Rule: One barcode per line", + "please_enter_battery_id_data": "Enter battery barcode data", + "sort": "No.", + "batch": "Batch", + "tray": "Tray", + "lot": "No.", + "class_type": "Grade Type", + "class": "Grade", + "previous_process": "Previous Process", + "current_process": "Current Process" } } } diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index bdbede93..b6cc8bd4 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -1031,6 +1031,36 @@ "grade": "等级", "activation_status": "激活状态", "channel_battery_info": "通道 {index} 电池信息" + }, + "process_execution": { + "query": "查询", + "reset": "重置", + "add": "新增", + "delete": "删除", + "edit": "编辑", + "confirm": "确定", + "cancel": "取消", + "prompt": "提示", + "battery_id": "电池条码", + "enter_battery_id": "请输入电池条码", + "select_process_to_change": "选择更改的工序", + "please_select_process": "请选择更改的工序", + "clear_class_sign": "是否清除档位标记", + "yes": "是", + "no": "否", + "verify_data": "验证数据", + "change_process": "更改工序", + "multi_battery_input": "多电池条码输入", + "input_rule": "输入规则:每个电池条码占一行输入", + "please_enter_battery_id_data": "请输入电池条码数据", + "sort": "序号", + "batch": "批次", + "tray": "托盘", + "lot": "流水号", + "class_type": "档位类型", + "class": "档位", + "previous_process": "上一工序", + "current_process": "当前工序" } } } diff --git a/src/router/modules/planning-production.js b/src/router/modules/planning-production.js index 44cf05c0..834e1a92 100644 --- a/src/router/modules/planning-production.js +++ b/src/router/modules/planning-production.js @@ -37,6 +37,12 @@ export default { name: `${pre}monitor-tray_manage`, meta: { ...meta, cache: true, title: '托盘管理' }, component: _import('planning-production/production-monitoring/tray-management') + }, + { + path: 'produce/monitor/change_battery_process', + name: `${pre}monitor-change_battery_process`, + meta: { ...meta, cache: true, title: '电池工序管理' }, + component: _import('planning-production/production-monitoring/process-execution') } ])('planning_production-') } diff --git a/src/views/planning-production/production-monitoring/process-execution/index.vue b/src/views/planning-production/production-monitoring/process-execution/index.vue new file mode 100644 index 00000000..6b275f59 --- /dev/null +++ b/src/views/planning-production/production-monitoring/process-execution/index.vue @@ -0,0 +1,222 @@ + + + + +