From 7f4ffe2c19004403bb3190f25879b2074f4d3932 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 16 十月 2026 17:16:43 +0800
Subject: [PATCH] fix:1. 过程要求 - 样品接收:列表样式优化。 2. 过程要求 - 方法验证:点击详情还能修改,导出格式优化,按客户给的文档来。 3. 业务管理 - 检验任务:删除不合格相关的检测。 4. 业务管理 - 报告结果:按照发送日期倒序排列。 5. 基础配置 - 行业管理:删除印章管理。 6. 体系管理要求 - 客户满意度:附件上传报错,精简上传逻辑。
---
src/views/CNAS/process/method/methodVerification/component/formDIa.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/views/CNAS/process/method/methodVerification/component/formDIa.vue b/src/views/CNAS/process/method/methodVerification/component/formDIa.vue
index 5b8d568..aaffbc6 100644
--- a/src/views/CNAS/process/method/methodVerification/component/formDIa.vue
+++ b/src/views/CNAS/process/method/methodVerification/component/formDIa.vue
@@ -291,12 +291,12 @@
</table>
</fieldset>
<template #footer><span class="dialog-footer">
- <el-button @click="closeDia">鍙� 娑�</el-button>
+ <el-button @click="closeDia">{{ operationType === 'view' ? '鍏抽棴' : '鍙� 娑�' }}</el-button>
<el-button v-if="operationType !== 'view'" :loading="editLoad" type="primary" @click="handleEdit">鎻� 浜�</el-button>
</span></template>
</el-dialog>
- <ViewDeviceDialog v-if="viewDeviceDialog" ref="viewDeviceDialog" @closDeviceDia="closDeviceDia" @handleDeviceInfo="handleDeviceInfo"></ViewDeviceDialog>
- <ViewTestRecord v-if="viewTestRecordDialog" ref="viewTestRecordDialog"></ViewTestRecord>
+ <ViewDeviceDialog v-if="viewDeviceDialog" ref="viewDeviceDialog" :read-only="operationType === 'view'" @closDeviceDia="closDeviceDia" @handleDeviceInfo="handleDeviceInfo"></ViewDeviceDialog>
+ <ViewTestRecord v-if="viewTestRecordDialog" ref="viewTestRecordDialog" :read-only="operationType === 'view'"></ViewTestRecord>
<ViewWorkPermitDia v-if="viewWorkPermitDia" ref="viewWorkPermitDia"></ViewWorkPermitDia>
<calibrations-file-dia v-if="calibrationsFileDia" ref="calibrationsFileDia"></calibrations-file-dia>
</div>
@@ -410,6 +410,7 @@
},
// 鎻愪氦
handleEdit() {
+ if (this.operationType === 'view') return
this.editLoad = true
const processMethodSearchNews = this.HaveJson(this.form)
processMethodSearchNews.confirmUser = processMethodSearchNews.confirmUser && processMethodSearchNews.confirmUser.join(',')
@@ -422,10 +423,12 @@
},
// 璇勫鎰忚鍕鹃�夛紙涓夐�変竴锛屽啀鐐逛竴娆″彇娑堬級
toggleReview (value, checked) {
+ if (this.operationType === 'view') return
this.form.reviewResult = checked ? value : ''
},
// 瀹℃壒鎰忚鍕鹃�夛紙涓夐�変竴锛屽啀鐐逛竴娆″彇娑堬級
toggleApproval (value, checked) {
+ if (this.operationType === 'view') return
this.form.approvalResult = checked ? value : ''
},
// 鏌ョ湅涓婂矖璇�
@@ -455,6 +458,7 @@
},
// 鎻愪氦璁惧淇℃伅
handleDeviceInfo (machineAttachmentList) {
+ if (this.operationType === 'view') return
this.viewDeviceDialog = false
this.form.machineAttachmentList = machineAttachmentList
},
--
Gitblit v1.9.3