From c1a9bd81744474027abc73abcc778fd2798ec7ec Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 18 九月 2026 14:39:43 +0800
Subject: [PATCH] feat(mes): 增加质检指标详情查看功能并调整接口配置
---
src/views/mes/qc/indicatorresult/components/list.vue | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/views/mes/qc/indicatorresult/components/list.vue b/src/views/mes/qc/indicatorresult/components/list.vue
index 48e11bb..d4611a8 100644
--- a/src/views/mes/qc/indicatorresult/components/list.vue
+++ b/src/views/mes/qc/indicatorresult/components/list.vue
@@ -43,6 +43,18 @@
.open();
}
+/** 鏌ョ湅妫�娴嬬粨鏋滆鎯咃紙鍙锛� */
+function handleDetail(row: MesQcIndicatorResultApi.IndicatorResult) {
+ formModalApi
+ .setData({
+ formType: 'detail',
+ id: row.id,
+ qcId: props.qcId,
+ qcType: props.qcType,
+ })
+ .open();
+}
+
/** 缂栬緫妫�娴嬬粨鏋� */
function handleEdit(row: MesQcIndicatorResultApi.IndicatorResult) {
formModalApi
@@ -127,6 +139,13 @@
onClick: handleEdit.bind(null, row),
},
{
+ label: $t('common.detail'),
+ type: 'link',
+ icon: ACTION_ICON.VIEW,
+ ifShow: readonly,
+ onClick: handleDetail.bind(null, row),
+ },
+ {
label: $t('common.delete'),
type: 'link',
danger: true,
--
Gitblit v1.9.3