From a27f80b043bb9651fd0032dcd28b2fee6cf820b9 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 03 八月 2026 13:42:34 +0800
Subject: [PATCH] feat(ai): 集成AI智能分析功能到MPS表单和仪表板
---
src/views/mes/pd/project/detail/index.vue | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/views/mes/pd/project/detail/index.vue b/src/views/mes/pd/project/detail/index.vue
index be5f1f1..36da5ce 100644
--- a/src/views/mes/pd/project/detail/index.vue
+++ b/src/views/mes/pd/project/detail/index.vue
@@ -59,7 +59,7 @@
);
const materialFormType = computed<FormType>(() =>
- isPendingPublish.value || isPendingUpload.value || isPendingAudit.value ? 'update' : 'detail',
+ isPendingPublish.value || isPendingUpload.value ? 'update' : 'detail',
);
const [Descriptions] = useDescription({
@@ -169,35 +169,30 @@
label: $t('common.edit'),
type: 'primary',
icon: ACTION_ICON.EDIT,
- auth: ['mes:pd-project:update'],
ifShow: isFormEditable,
onClick: handleEdit,
},
{
label: '鍙戝竷',
type: 'primary',
- auth: ['mes:pd-project:update'],
ifShow: isPendingPublish,
onClick: handlePublish,
},
{
label: '纭涓婁紶',
type: 'primary',
- auth: ['mes:pd-project:update'],
ifShow: isPendingUpload,
onClick: handleUpload,
},
{
label: '瀹℃牳閫氳繃',
type: 'primary',
- auth: ['mes:pd-project:audit'],
ifShow: isPendingAudit,
onClick: handleAudit,
},
{
label: '褰掓。',
type: 'default',
- auth: ['mes:pd-project:archive'],
ifShow: isPendingArchive,
onClick: handleArchive,
},
@@ -223,7 +218,7 @@
<Tabs.TabPane key="workflow" tab="娴佺▼杩涘害" :force-render="true">
<WorkflowTimeline :status="project.status ?? 0" />
</Tabs.TabPane>
- <Tabs.TabPane v-if="!isPendingAudit" key="material" tab="璁捐璧勬枡" :force-render="true">
+ <Tabs.TabPane v-if="!isPendingAudit" key="material" tab="璁捐璧勬枡">
<p v-if="isPendingPublish" class="mb-3 text-sm text-amber-600">
璇峰厛鍙戝竷浠诲姟鍚庡啀涓婁紶璁捐璧勬枡
</p>
@@ -233,7 +228,7 @@
:project-status="project.status"
/>
</Tabs.TabPane>
- <Tabs.TabPane v-if="isPendingAudit" key="audit" tab="璧勬枡瀹℃牳" :force-render="true">
+ <Tabs.TabPane v-if="isPendingAudit" key="audit" tab="璧勬枡瀹℃牳">
<DocumentAuditList :project-id="projectId" @success="loadProjectDetail" />
</Tabs.TabPane>
</Tabs>
--
Gitblit v1.9.3