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) } } }