diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue index 8189de54..5f30ba3f 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue @@ -139,6 +139,8 @@ export default { this.form.IsDeleted = this.data.IsDeleted this.form.SignViewMinimumMinutes = this.data.SignViewMinimumMinutes this.form.DocUserSignType = this.data.DocUserSignType + this.form.CurrentStaffTrainDays = this.data.CurrentStaffTrainDays + this.form.NewStaffTrainDays = this.data.NewStaffTrainDays } this.loading = false }, diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/attachmentForm.vue b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentForm.vue index 579ba515..b0498eeb 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/attachmentForm.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/attachmentForm.vue @@ -16,7 +16,7 @@ :http-request="handleUploadFile" :on-preview="handlePreview" :on-remove="handleRemoveFile" :show-file-list="true" :file-list="fileList" :limit="1" :on-exceed="handleExceed"> {{ $t('common:button:check') - }} + }} ({{ $t('trials:signature:label:type').replace("xxx", this.accept.join(", ")) }}) @@ -128,6 +128,7 @@ export default { path: this.$getObjectName(res.url), url: this.$getObjectName(res.url), }) + this.form.Name = param.file.name this.form.FileName = param.file.name this.form.FilePath = this.$getObjectName(res.url) this.form.FileSize = param.file.size diff --git a/src/views/trials/trials-workbench/index.vue b/src/views/trials/trials-workbench/index.vue index e0ce0fd6..2361da74 100644 --- a/src/views/trials/trials-workbench/index.vue +++ b/src/views/trials/trials-workbench/index.vue @@ -370,7 +370,7 @@ -
+