From f05c8423a6c502c4e2d00f8b0a04d2e60003f4ff Mon Sep 17 00:00:00 2001
From: xuhuajiao <13476289682@163.com>
Date: Wed, 10 Jan 2024 09:51:29 +0800
Subject: [PATCH] =?UTF-8?q?=E9=99=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/styles/yxk-admin.scss | 39 +++++++++++++++++++
.../managementLibrary/file/index.vue | 24 ++++++++++--
.../module/uploadFile/index.vue | 36 ++++++++++++++---
.../collectReorganizi/batchPaper/index.vue | 4 +-
.../collectionLibrary/file/index.vue | 38 ------------------
.../module/archivesInfo/index.vue | 4 ++
.../module/uploadFile/index.vue | 35 ++++++++++++++---
7 files changed, 125 insertions(+), 55 deletions(-)
diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss
index a7771ee..426d1de 100644
--- a/src/assets/styles/yxk-admin.scss
+++ b/src/assets/styles/yxk-admin.scss
@@ -2006,4 +2006,43 @@ input[type ='number'] {
}
.vue-treeselect--disabled .vue-treeselect__single-value{
color: #c0c4cc !important;
+}
+
+.fileIcon{
+ display: block;
+ width: 32px;
+ height: 32px;
+ margin: 0 auto;
+ &.icon-image{
+ background: url("~@/assets/images/fileIcon/image.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-excel{
+ background: url("~@/assets/images/fileIcon/excel.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-pdf{
+ background: url("~@/assets/images/fileIcon/pdf.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-ppt{
+ background: url("~@/assets/images/fileIcon/ppt.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-word{
+ background: url("~@/assets/images/fileIcon/word.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-zip{
+ background: url("~@/assets/images/fileIcon/zip.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-txt{
+ background: url("~@/assets/images/fileIcon/txt.png") no-repeat;
+ background-size: 100% 100%;
+ }
+ &.icon-other{
+ background: url("~@/assets/images/fileIcon/attachment.png") no-repeat;
+ background-size: 100% 100%;
+ }
}
\ No newline at end of file
diff --git a/src/views/archivesManage/managementLibrary/file/index.vue b/src/views/archivesManage/managementLibrary/file/index.vue
index 253798f..fdb6cd9 100644
--- a/src/views/archivesManage/managementLibrary/file/index.vue
+++ b/src/views/archivesManage/managementLibrary/file/index.vue
@@ -31,7 +31,7 @@
>
-
+
@@ -47,10 +47,28 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue b/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue
index 8ef9671..2be5c8d 100644
--- a/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue
+++ b/src/views/archivesManage/managementLibrary/module/uploadFile/index.vue
@@ -21,26 +21,50 @@
>
-
+
{{ (scope.row.file_size / 1024).toFixed(2) + 'kB' }}
-
+
+
+ -
+ {{ scope.row.file_dpi }}
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
下载
@@ -101,7 +125,7 @@ export default {
mixins: [
form({})
],
- inject: ['recycleMain'],
+ // inject: ['recycleMain'],
props: {
isUploadDetail: {
type: Boolean,
diff --git a/src/views/collectReorganizi/batchPaper/index.vue b/src/views/collectReorganizi/batchPaper/index.vue
index 730c7af..5176ef2 100644
--- a/src/views/collectReorganizi/batchPaper/index.vue
+++ b/src/views/collectReorganizi/batchPaper/index.vue
@@ -272,7 +272,7 @@ export default {
})
},
normalizer(node) {
- if (node.children && !node.children.length) {
+ if (node.children === null) {
delete node.children
}
return {
@@ -283,7 +283,7 @@ export default {
}
},
classifyNormalizer(node) {
- if (node.childArchivesClass && !node.childArchivesClass.length) {
+ if (node.childArchivesClass === null) {
delete node.childArchivesClass
}
return {
diff --git a/src/views/collectReorganizi/collectionLibrary/file/index.vue b/src/views/collectReorganizi/collectionLibrary/file/index.vue
index 096812e..ceef064 100644
--- a/src/views/collectReorganizi/collectionLibrary/file/index.vue
+++ b/src/views/collectReorganizi/collectionLibrary/file/index.vue
@@ -239,42 +239,4 @@ export default {
width: 60px;
height: 32px;
}
-.fileIcon{
- display: block;
- width: 32px;
- height: 32px;
- margin: 0 auto;
- &.icon-image{
- background: url("~@/assets/images/fileIcon/image.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-excel{
- background: url("~@/assets/images/fileIcon/excel.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-pdf{
- background: url("~@/assets/images/fileIcon/pdf.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-ppt{
- background: url("~@/assets/images/fileIcon/ppt.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-word{
- background: url("~@/assets/images/fileIcon/word.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-zip{
- background: url("~@/assets/images/fileIcon/zip.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-txt{
- background: url("~@/assets/images/fileIcon/txt.png") no-repeat;
- background-size: 100% 100%;
- }
- &.icon-other{
- background: url("~@/assets/images/fileIcon/attachment.png") no-repeat;
- background-size: 100% 100%;
- }
-}
diff --git a/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue b/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue
index 2b95c22..d0ce7af 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/archivesInfo/index.vue
@@ -256,4 +256,8 @@ code.hljs {
width: auto;
color: #fff;
}
+
+.detail-tab .tab-nav{
+ margin: 10px 0 18px 0;
+}
diff --git a/src/views/collectReorganizi/collectionLibrary/module/uploadFile/index.vue b/src/views/collectReorganizi/collectionLibrary/module/uploadFile/index.vue
index 28f8056..1d4e0a7 100644
--- a/src/views/collectReorganizi/collectionLibrary/module/uploadFile/index.vue
+++ b/src/views/collectReorganizi/collectionLibrary/module/uploadFile/index.vue
@@ -21,27 +21,50 @@
>
-
+
{{ (scope.row.file_size / 1024).toFixed(2) + 'kB' }}
-
+
+
+ -
+ {{ scope.row.file_dpi }}
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
下载