From eda15ef0ccc80b1d8765724d8ca9e01f4c07f35a Mon Sep 17 00:00:00 2001 From: sheng <905537351@qq.com> Date: Wed, 24 Jun 2026 18:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DSPC=E9=87=87=E9=9B=86?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=88=97=E8=A1=A8=E5=92=8C=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-collection-configuration.js | 2 +- src/locales/en.json | 22 + src/locales/zh-chs.json | 22 + .../data-collection-configuration/index.vue | 503 ++++++++++-------- 4 files changed, 318 insertions(+), 231 deletions(-) diff --git a/src/api/production-master-data/data-collection-configuration.js b/src/api/production-master-data/data-collection-configuration.js index 0ca20723..febac081 100644 --- a/src/api/production-master-data/data-collection-configuration.js +++ b/src/api/production-master-data/data-collection-configuration.js @@ -4,7 +4,7 @@ const BASE = 'production_configuration/spc_configuration/binding_scada_node/' function apiParams (method, data = {}) { return { - method: `production_master_data_spc_configuration_data_collection_configuration_${method}`, + method: `production_configuration_spc_configuration_binding_scada_node_${method}`, platform: 'background', ...data } diff --git a/src/locales/en.json b/src/locales/en.json index b937e47c..898e2e9a 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -681,6 +681,28 @@ "confirm_delete": "Are you sure to delete this SPC collection configuration?", "validation_fail": "Validation failed", "please_enter": "Please enter {name}", + "result_param": "Result Parameter", + "result_param_code": "Result Parameter Code", + "result_param_name": "Result Parameter Name", + "enter_result_param_code": "Please enter result parameter code", + "enter_result_param_name": "Please enter result parameter name", + "scada_node_code": "SCADA Node Code", + "scada_node_name": "SCADA Node Name", + "enter_scada_node_code": "Please enter SCADA node code", + "enter_scada_node_name": "Please enter SCADA node name", + "working_subclass": "Process Step", + "select_working_subclass": "Please select process step", + "category": "Category", + "select_data_type": "Please select data type", + "select_result_param": "Please select result parameter", + "select_scada_node": "Please select SCADA node", + "result_param_type": "Result Parameter Type", + "process_inspection": "Process Inspection", + "result_data": "Result Data", + "measurement_type": "Measurement Type", + "count_type": "Count Type", + "create_time": "Created Time", + "update_data": "Updated Time", "help": "Configure SPC data collection parameters and bind SCADA nodes" } }, diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 3b9d9959..620cc109 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -681,6 +681,28 @@ "confirm_delete": "确定要删除该SPC采集配置吗?", "validation_fail": "校验失败", "please_enter": "请输入{name}", + "result_param": "结果参数", + "result_param_code": "结果参数编码", + "result_param_name": "结果参数名称", + "enter_result_param_code": "请输入结果参数编码", + "enter_result_param_name": "请输入结果参数名称", + "scada_node_code": "SCADA节点编码", + "scada_node_name": "SCADA节点名称", + "enter_scada_node_code": "请输入SCADA节点编码", + "enter_scada_node_name": "请输入SCADA节点名称", + "working_subclass": "工序", + "select_working_subclass": "请选择工序", + "category": "类别", + "select_data_type": "请选择数据类型", + "select_result_param": "请选择结果参数", + "select_scada_node": "请选择SCADA节点", + "result_param_type": "结果参数类型", + "process_inspection": "过程检验", + "result_data": "结果数据", + "measurement_type": "计量型", + "count_type": "计数型", + "create_time": "创建时间", + "update_data": "更新时间", "help": "配置SPC数据采集参数,绑定SCADA节点" } }, diff --git a/src/views/production-master-data/spc-configuration/data-collection-configuration/index.vue b/src/views/production-master-data/spc-configuration/data-collection-configuration/index.vue index 491e3282..9c9516e8 100644 --- a/src/views/production-master-data/spc-configuration/data-collection-configuration/index.vue +++ b/src/views/production-master-data/spc-configuration/data-collection-configuration/index.vue @@ -3,43 +3,41 @@