From 18063129485e3aeb998ce3688d0c363931d5b745 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 31 Mar 2022 11:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/uploadFile/file.vue | 10 +- .../library/docDetail/index.vue | 259 +++++++++--------- .../components/DocumentLibrary.vue | 26 +- 3 files changed, 154 insertions(+), 141 deletions(-) diff --git a/jero-web/src/components/uploadFile/file.vue b/jero-web/src/components/uploadFile/file.vue index b6391cf2c..a080fe493 100644 --- a/jero-web/src/components/uploadFile/file.vue +++ b/jero-web/src/components/uploadFile/file.vue @@ -5,6 +5,7 @@ accept='*.*' :disabled="disabled" class="ant-upload-list" + :class="{'uploadFile':isUploadFile}" name="file" :file-list="myfileList" :multiple="true" @@ -14,10 +15,10 @@ :before-upload="beforeUpload" :remove='remove' @change="handleChange"> -

+

-

{{this.$t('clickUpload')}}

+

{{this.$t('clickUpload')}}

@@ -31,7 +32,7 @@ export default { name: 'file', - props: ['disableds', 'disabled', 'thisFileUploadUrl', 'readonly', 'thisFileType'], + props: ['disableds', 'disabled', 'thisFileUploadUrl', 'readonly', 'thisFileType','isUploadFile'], data() { return { visible: false, @@ -210,4 +211,7 @@ font-size: 67px; color: #c0c4cc; } + .uploadFile{ + + } \ No newline at end of file diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index b224225d4..e1e442237 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -52,67 +52,109 @@ {{ol.db_field_txt}} {{ol.value ? ol.value : '--'}} + + + {{ (ol.value === 'null' || ol.value === '' || + ol.value == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + -- + + + {{ol.value ? ol.value : '--'}} + {{ol.value ? ol.value : '--'}} -
- - - - - - - - - - - - - - - - - - - - - - - - - +
- - + +
+ v-if=" index1 == 0 || (index1 > 0 && ol.db_field_txt != item[val][index1 - 1].db_field_txt)"> {{ol.db_field_txt}} - + {{ol.value ? ol.value.fileName : '--'}} {{$t('StandardBreakdown')}} - - + {{$t('download')}} + {{ol.value}} + -- + + {{ol.value ? ol.value : '--'}} + {{ol.value ? ol.value:'--'}} +
-
- - {{ol.db_field_txt}} - - - {{ol.value ? ol.value : '--'}} + + + + + + + +
+ {{ol.db_field_txt}} + + + {{ol.value ? ol.value.fileName : '--'}} + + {{$t('StandardBreakdown')}} + + + {{$t('download')}} + + + {{ol.value}} + -- + + {{ol.value ? ol.value : '--'}} + {{ol.value ? ol.value:'--'}} +
+
+
+
+ {{ol.db_field_txt}} + {{ol.value ? ol.value : '--'}} + + + {{ (ol.value === 'null' || ol.value === '' || + ol.value == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + -- + + {{ol.value ? ol.value : '--'}} + + {{ol.value ? ol.value : '--'}}
@@ -182,14 +224,19 @@ +