From 0db8c9b94a9ac655549d5eba5c2a6c92ac386c06 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 08 十月 2026 11:20:56 +0800
Subject: [PATCH] 提交最新代码
---
culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue b/culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue
index 6d0a6df..fa9ac06 100644
--- a/culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue
+++ b/culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue
@@ -76,9 +76,9 @@
<el-button type="text" style="margin-right: 10px;" v-if="row.status == 2 && [1, 2].includes(roleType)"
@click="handleEvaluate(row)">评定</el-button>
<el-button type="text" style="margin-right: 10px;" v-if="row.status != 1 || roleType == 3" @click="viewDetail(row)">详情</el-button>
- <el-button type="text" style="margin-right: 10px;" v-if="roleType == 3 && row.status == 4 || isDraft"
+ <el-button type="text" style="margin-right: 10px;" v-if="roleType == 1 || (roleType == 3 && (row.status == 4 || isDraft))"
@click="handleDetail(row)">编辑</el-button>
- <el-button type="text" style="margin-right: 10px;" v-if="roleType == 3 && isDraft" @click="handleDelete(row)">删除</el-button>
+ <el-button type="text" style="margin-right: 10px;" v-if="roleType == 1 || (roleType == 3 && isDraft)" @click="handleDelete(row)">删除</el-button>
<el-button type="text" v-if="row.status == 1 && roleType == 3&&!isDraft"
@click="handleRevoke(row)">撤销审批</el-button>
</template>
--
Gitblit v1.7.1