From caaace44a0f0049b6a645d6e0a511af6adf7c1e0 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期六, 21 六月 2025 15:37:04 +0800 Subject: [PATCH] 专业报告审批修改bug --- laboratory/src/views/reportLibrary/verificationRelease/components/approval/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/laboratory/src/views/reportLibrary/verificationRelease/components/approval/index.vue b/laboratory/src/views/reportLibrary/verificationRelease/components/approval/index.vue index 7458017..1043b12 100644 --- a/laboratory/src/views/reportLibrary/verificationRelease/components/approval/index.vue +++ b/laboratory/src/views/reportLibrary/verificationRelease/components/approval/index.vue @@ -1,7 +1,7 @@ <template> <el-dialog :title="dialogTitle" :visible.sync="visible" width="80%" @open="open" po :close-on-click-modal="false" @close="handleClose"> - <div class="approval-dialog" :style="{height: obj.isDetail ? '50vh' : '40vh'}"> + <div class="approval-dialog" :style="{ height: obj.isDetail ? '50vh' : '40vh' }"> <!-- 左侧审批内容 --> <div class="approval-content"> <Card class="approval-content-card"> @@ -78,7 +78,7 @@ <div class="resolve" :class="status == '2' && 'activeStatus'" @click.stop="status = 2"> 通过 </div> - <div class="reject" :class="status == '3' && 'activeStatus'" @click.stop="status = 3"> + <div class="reject" :class="status == '4' && 'activeStatus'" @click.stop="status = 4"> 驳回 </div> </div> @@ -95,8 +95,8 @@ </div> <div slot="footer" class="dialog-footer"> - <el-button @click="handleClose">{{obj.isDetail ? '关闭' : '取 消'}}</el-button> - <el-button type="primary" @click="handleApprove" v-if="!obj.isDetail">通过</el-button> + <el-button @click="handleClose">{{ obj.isDetail ? '关闭' : '取 消' }}</el-button> + <el-button type="primary" @click="handleApprove" v-if="!obj.isDetail">确定</el-button> </div> </el-dialog> </template> @@ -189,9 +189,10 @@ if (data.status == 2 || data.status == 3) { processData.push({ - type: data.status === 2 ? "primary" : "danger", + type: "primary", mode: "list", fields: [ + { label: "审核结果:", value: data.status == 4 ? '驳回' : "通过" || "" }, { label: "审批意见:", value: data.auditRemark || "" }, { label: "审核人:", value: data.auditPersonName || "" }, { label: "审核时间:", value: data.auditTime || "" }, @@ -220,7 +221,7 @@ type: "success", mode: "list", fields: [ - { label: "已评定" }, + { label: "评定状态:已评定" }, { label: "评定人:", value: data.evaluatePersonName || "" }, { label: "评定时间:", value: data.evaluateTime || "" } ], -- Gitblit v1.7.1