From 7d2af46845a0dbba3abe987449ad38d3dc7c74ae Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 15 Apr 2025 16:29:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=94=A8=E5=9F=B9=E8=AE=AD=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../attachment/components/SignatureTemplate/TemplateForm.vue | 2 ++ .../attachment/components/SignatureTemplate/attachmentForm.vue | 3 ++- src/views/trials/trials-workbench/index.vue | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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 @@ -
+