From 842f7f094192e84b63918325653b5775d42bc7d0 Mon Sep 17 00:00:00 2001 From: bestlee Date: Tue, 13 Oct 2026 10:00:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5-=E9=A3=8E=E9=99=A9?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E6=96=B9=E6=B3=95=E6=98=BE=E7=A4=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/details/approval/index.vue | 1256 +++++++++++++------------- src/views/details/disposal/index.vue | 1185 ++++++++++++------------ src/views/details/index/index.vue | 827 ++++++++--------- src/views/home/modules/template7.vue | 840 ++++++++--------- 4 files changed, 2089 insertions(+), 2019 deletions(-) diff --git a/src/views/details/approval/index.vue b/src/views/details/approval/index.vue index 5cedb7b..963cee8 100644 --- a/src/views/details/approval/index.vue +++ b/src/views/details/approval/index.vue @@ -80,7 +80,7 @@ const previewModal = ref(false); const questions = ref([ { question_id: 1, - name: "1. 设备影响", + name: "1. 设备影响", note: "不合适的材质将会导致", score: 0, options: [ @@ -92,7 +92,7 @@ const questions = ref([ }, { question_id: 2, - name: "2. 财务影响", + name: "2. 财务影响", note: "工艺设计错误将会导致", score: 0, options: [ @@ -104,7 +104,7 @@ const questions = ref([ }, { question_id: 3, - name: "3. 质量影响", + name: "3. 质量影响", note: "", score: 0, options: [ @@ -116,7 +116,7 @@ const questions = ref([ }, { question_id: 4, - name: "4. 设计的复杂程度", + name: "4. 设计的复杂程度", note: "工艺设计包含了", score: 0, options: [ @@ -128,7 +128,7 @@ const questions = ref([ }, { question_id: 5, - name: "5. 工艺设计的成熟度", + name: "5. 工艺设计的成熟度", note: "", score: 0, options: [ @@ -140,7 +140,7 @@ const questions = ref([ }, { question_id: 6, - name: "6. 工艺危害", + name: "6. 工艺危害", note: "物料性质和工艺条件", score: 0, options: [ @@ -162,7 +162,7 @@ const levelDrawer = ref(false); const aiDrawer = ref(false); const mandClosed = ref(false); const confirmClose = () => { - mandClosed.value = true; + mandClosed.value = true; window.$message?.success('强制合规项已确认闭环,操作已留痕'); } const conflictHide = ref(false); @@ -185,17 +185,17 @@ const opinion = ref(""); // 已阅 AI 建议 const readSuggest = () => { aiRead.value = true; - window.$message?.success(`${roleName} 已阅 AI 建议,时间与操作已写入审批留痕`); + window.$message?.success(`${roleName.value} 已阅 AI 建议,时间与操作已写入审批留痕`); } // 采纳为行动项 const acceptSuggest = (s: any) => { - suggs.value = suggs.value.map((x:any) => (x.id === s.id ? { ...x, st: '已采纳' } : x)); - opinion.value = (opinion.value ? `${opinion.value}\n` : '') + `采纳 AI 建议:${s.text}`; + suggs.value = suggs.value.map((x:any) => (x.id === s.id ? { ...x, st: '已采纳' } : x)); + opinion.value = (opinion.value ? `${opinion.value}\n` : '') + `采纳 AI 建议:${s.text}`; window.$message?.success('已采纳,自动生成 PSSR 行动项(来源:AI 建议),并纳入审批意见'); } // 不采纳 AI 建议 const rejectSuggest = (s: any) => { - suggs.value = suggs.value.map((x:any) => (x.id === s.id ? { ...x, st: '不采纳' } : x)); + suggs.value = suggs.value.map((x:any) => (x.id === s.id ? { ...x, st: '不采纳' } : x)); window.$message?.info('不采纳理由「现有分析频次已覆盖风险」已记录留痕'); } // 查看归档包 @@ -426,623 +426,645 @@ onMounted(() => {