From 236a565250dac71083d8c0d4a6095cbe5b7f8710 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 9 Apr 2025 10:05:30 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E7=A8=BD=E6=9F=A5?=
=?UTF-8?q?=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/trials.js | 8 ++
.../components/auditDocument/detail.vue | 18 ++--
.../components/auditDocument/index.vue | 90 +++++++++++++++++--
src/views/trials/trials-workbench/index.vue | 10 ++-
4 files changed, 110 insertions(+), 16 deletions(-)
diff --git a/src/api/trials.js b/src/api/trials.js
index 1f89d4b8..3a3086b8 100644
--- a/src/api/trials.js
+++ b/src/api/trials.js
@@ -4066,4 +4066,12 @@ export function copyFileOrFolder(data) {
method: 'post',
data
})
+}
+// 工作台-稽查文档授权
+export function setIsAuthorization(data) {
+ return request({
+ url: `/AuditDocument/setIsAuthorization`,
+ method: 'post',
+ data
+ })
}
\ No newline at end of file
diff --git a/src/views/trials/trials-workbench/components/auditDocument/detail.vue b/src/views/trials/trials-workbench/components/auditDocument/detail.vue
index a2616395..419cd4c2 100644
--- a/src/views/trials/trials-workbench/components/auditDocument/detail.vue
+++ b/src/views/trials/trials-workbench/components/auditDocument/detail.vue
@@ -6,7 +6,7 @@
@@ -33,7 +33,7 @@
@click.stop="getHistoricalVersion" />
{{
$t('trials:trials-workbench:auditDocument:detail:title:uploadNewVersion')
- }}
+ }}
@@ -42,7 +42,7 @@
{{
$t('trials:trials-workbench:auditDocument:detail:title:currentVersion')
- }}
+ }}
v{{ item.Version }}
@@ -203,7 +203,7 @@ export default {
width: 50px;
height: 50px;
display: flex;
- align-items: center;
+ align-items: center;
i {
display: inline-block;
@@ -218,11 +218,13 @@ export default {
font-style: normal;
pointer-events: none;
}
-.name_image{
- max-width:90%;
- max-height:100%;
-}
+ .name_image {
+ max-width: 90%;
+ max-height: 100%;
+
+ }
+
.name_pdf {
background-image: url(@/assets/file_icon/pdf.png);
}
diff --git a/src/views/trials/trials-workbench/components/auditDocument/index.vue b/src/views/trials/trials-workbench/components/auditDocument/index.vue
index e01d7915..bc7cca2d 100644
--- a/src/views/trials/trials-workbench/components/auditDocument/index.vue
+++ b/src/views/trials/trials-workbench/components/auditDocument/index.vue
@@ -26,7 +26,7 @@
{{ $t('common:button:reset') }}
-
+
{{ $t('trials:trials-workbench:auditDocument:button:addFolder') }}
@@ -36,6 +36,9 @@
{{ $t('trials:trials-workbench:auditDocument:button:uploadFolder') }}
+
+ {{ $t('trials:trials-workbench:auditDocument:button:auth') }}
+
{{ $t('trials:trials-workbench:auditDocument:button:download') }}
@@ -71,13 +74,13 @@
:src="OSSclientConfig.basePath + scope.row.FilePath" alt="" class="icon_image">
{{ scope.row.Name }}
-
+ v-if="(hoverId === scope.row.Id || checkList.includes(scope.row.Id)) && isManage" />
@@ -94,9 +97,21 @@
{{ formatFileSize(scope.row) }}
-
+
+
+ auth(false, scope.row, val)"
+ :active-value="true" :inactive-value="false" :active-text="$fd('YesOrNo', true)"
+ :inactive-text="$fd('YesOrNo', false)">
+
+
-
+
+
+
@@ -114,7 +129,7 @@