From 69a99136c8726026929ebb46f3ac76c69f86f275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BD=A6=E6=B3=BD?= Date: Fri, 31 Mar 2023 18:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E8=AE=A4=E8=AF=81=E6=B8=85?= =?UTF-8?q?=E5=8D=95-=E7=BB=B4=E6=8A=A4=E6=B8=85=E5=8D=95-=E4=BA=A4?= =?UTF-8?q?=E4=BB=98=E7=89=A9=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/addModel.vue | 73 ++++++++++++++++++- .../components/editModel.vue | 72 +++++++++++++++++- .../certificationListMaintenance.vue | 29 +++++++- 3 files changed, 167 insertions(+), 7 deletions(-) diff --git a/jero-web/src/views/virtualAuthenticationList/components/addModel.vue b/jero-web/src/views/virtualAuthenticationList/components/addModel.vue index fe909f061..c6e0407ae 100644 --- a/jero-web/src/views/virtualAuthenticationList/components/addModel.vue +++ b/jero-web/src/views/virtualAuthenticationList/components/addModel.vue @@ -145,6 +145,25 @@ + + +
+
+ {{$t('deliverableTemplate')}} +
+ + + {{ (item.deliverableTemplate === 'null' || item.deliverableTemplate === '' + || + item.deliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + +
+
+
@@ -154,12 +173,14 @@ + @@ -366,4 +426,13 @@ export default { font-size: 16px; margin-right: 4px; } + +.button-text { + height: 38px; + width: calc(100% - 100px); + line-height: 38px; + background: #fff; + border: 1px #00B3BE solid; + color: #00B3BE; +} \ No newline at end of file diff --git a/jero-web/src/views/virtualAuthenticationList/components/editModel.vue b/jero-web/src/views/virtualAuthenticationList/components/editModel.vue index 907e6582d..fb2cdaa5a 100644 --- a/jero-web/src/views/virtualAuthenticationList/components/editModel.vue +++ b/jero-web/src/views/virtualAuthenticationList/components/editModel.vue @@ -127,6 +127,25 @@ + + +
+
+ {{$t('deliverableTemplate')}} +
+ + + {{ (formInline.deliverableTemplate === 'null' || formInline.deliverableTemplate === '' + || + formInline.deliverableTemplate == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + +
+
+
@@ -135,18 +154,21 @@
+ @@ -333,4 +392,13 @@ export default { background: #fff; border-radius: 0 0 2px 2px; } + +.button-text { + height: 38px; + width: calc(100% - 100px); + line-height: 38px; + background: #fff; + border: 1px #00B3BE solid; + color: #00B3BE; +} \ No newline at end of file diff --git a/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue b/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue index d6f76858b..d20b3415a 100644 --- a/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue +++ b/jero-web/src/views/virtualAuthenticationList/virtualAuthenticationListDesign/certificationListMaintenance.vue @@ -206,9 +206,17 @@ @change="tableOnChange" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns"> - - {{text}} + + + {{$t('viewFile')}} + + -- + + + + @@ -250,6 +259,7 @@ import addModel from '../components/addModel' import editModel from '../components/editModel' import batSetting from '../components/batSetting' + import viewFileModel from '@/components/viewFileModel/index' import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header' export default { @@ -261,7 +271,8 @@ transferList, addModel, editModel, - batSetting + batSetting, + viewFileModel }, mixins: [ResizeHeader, ResizeColumnProvide], data() { @@ -340,6 +351,14 @@ width: 330, ellipsis: true }, + { + title: this.$t('deliverableTemplate'), + align: 'left', + dataIndex: 'deliverableTemplate', + width: 330, + ellipsis: true, + scopedSlots: { customRender: 'deliverableTemplate' } + }, { title: this.$t('operation'), align: 'left', @@ -536,6 +555,10 @@ }) } }) + }, + // 交付物模板 + viewFileClick(item) { + this.$refs.viewFileModelRef.clickButtonToUpload(item) } } }