From 9862248787934f4242ac9636e0c4d5b8ee0870b8 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期二, 20 十月 2026 16:45:58 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/views/CNAS/process/method/methodVerification/component/formDIa.vue | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/src/views/CNAS/process/method/methodVerification/component/formDIa.vue b/src/views/CNAS/process/method/methodVerification/component/formDIa.vue
index aaffbc6..d66a02c 100644
--- a/src/views/CNAS/process/method/methodVerification/component/formDIa.vue
+++ b/src/views/CNAS/process/method/methodVerification/component/formDIa.vue
@@ -1,11 +1,11 @@
<template>
<div>
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false"
- :title="operationType === 'edit' ? '缂栬緫' : operationType === 'view' ? '璇︽儏' : '鏂板'"
+ :title="dialogTitle"
v-model="formDia"
width="90%" @close="closeDia">
<div v-if="operationType === 'edit'" style="text-align: right">
- <el-button :disabled="form.confirmDate" size="small" type="primary" @click="validation">楠岃瘉纭</el-button>
+ <el-button :disabled="form.confirmDate" size="small" type="primary" @click="validation">{{ verifyType === 0 ? '鍙樻洿纭' : '楠岃瘉纭' }}</el-button>
</div>
<fieldset :disabled="operationType === 'view'" class="view-fieldset">
<table border="1" cellspacing="10" class="tables">
@@ -14,7 +14,7 @@
<p>鏍囧噯鏂规硶</p>
</td>
<td>
- <p>楠岃瘉鍘熷洜</p>
+ <p>{{ verifyType === 0 ? '鍙樻洿鍘熷洜' : '楠岃瘉鍘熷洜' }}</p>
</td>
<td>
<p>涓昏鎶�鏈彉鍖�</p>
@@ -221,7 +221,7 @@
</td>
</tr>
<tr>
- <td>楠岃瘉缁撹</td>
+ <td>{{ verifyType === 0 ? '鍙樻洿缁撹' : '楠岃瘉缁撹' }}</td>
<td colspan="7">
<el-input v-model="form.verificationConclusion" :rows="2" placeholder="璇疯緭鍏ュ唴瀹�" size="small" type="textarea"></el-input>
</td>
@@ -323,6 +323,20 @@
operationType: {
type: String,
default: () => ''
+ },
+ // 0 鏍囧噯鏂规硶鍙樻洿锛�1 鏂规硶楠岃瘉
+ verifyType: {
+ type: Number,
+ default: 1
+ }
+ },
+ computed: {
+ typeLabel() {
+ return this.verifyType === 0 ? '鏍囧噯鏂规硶鍙樻洿' : '鏂规硶楠岃瘉'
+ },
+ dialogTitle() {
+ if (this.operationType === 'view') return `鏌ョ湅${this.typeLabel}`
+ return this.operationType === 'edit' ? `缂栬緫${this.typeLabel}` : `鏂板${this.typeLabel}`
}
},
data() {
@@ -414,7 +428,7 @@
this.editLoad = true
const processMethodSearchNews = this.HaveJson(this.form)
processMethodSearchNews.confirmUser = processMethodSearchNews.confirmUser && processMethodSearchNews.confirmUser.join(',')
- processMethodSearchNews.operationType = 1
+ processMethodSearchNews.operationType = this.verifyType
if (this.operationType === 'edit') {
this.editInfo(processMethodSearchNews)
} else {
--
Gitblit v1.9.3