From f6f66196f3ca377eda0afd320e64005c28204c76 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 15:44:37 +0800
Subject: [PATCH] fix(crm): 客户分析页表格与图表数据展示问题
---
src/views/mes/qc/indicatorresult/components/list.vue | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/src/views/mes/qc/indicatorresult/components/list.vue b/src/views/mes/qc/indicatorresult/components/list.vue
index 8f49c25..2b4433d 100644
--- a/src/views/mes/qc/indicatorresult/components/list.vue
+++ b/src/views/mes/qc/indicatorresult/components/list.vue
@@ -2,7 +2,7 @@
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { MesQcIndicatorResultApi } from '#/api/mes/qc/indicatorresult';
-import { useVbenModal } from '../../../../../packages/effects/common-ui/src';
+import { useVbenModal } from '@vben/common-ui';
import { message } from 'ant-design-vue';
@@ -48,6 +48,18 @@
formModalApi
.setData({
formType: 'update',
+ id: row.id,
+ qcId: props.qcId,
+ qcType: props.qcType,
+ })
+ .open();
+}
+
+/** 鏌ョ湅妫�娴嬬粨鏋滐紝璐ㄦ瀹屾垚鍚庝粛鍙墦寮�鍙璇︽儏銆� */
+function handleDetail(row: MesQcIndicatorResultApi.IndicatorResult) {
+ formModalApi
+ .setData({
+ formType: 'detail',
id: row.id,
qcId: props.qcId,
qcType: props.qcType,
@@ -120,6 +132,12 @@
<TableAction
:actions="[
{
+ label: '鏌ョ湅璇︽儏',
+ type: 'link',
+ icon: ACTION_ICON.VIEW,
+ onClick: handleDetail.bind(null, row),
+ },
+ {
label: $t('common.edit'),
type: 'link',
icon: ACTION_ICON.EDIT,
--
Gitblit v1.9.3