From c26f5df102cb4830ae5acbb15af6d335dbe932af Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 12 May 2026 14:52:44 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=A4=9A=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E7=9A=84=E9=A1=B9=E7=9B=AE=EF=BC=8C=E7=94=A8=E6=88=B7?= =?UTF-8?q?UI=E7=9A=84=E8=AF=AD=E8=A8=80=E5=8C=B9=E9=85=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SignatureTemplate/TemplateForm.vue | 16 + .../components/SignatureTemplate/index.vue | 14 +- .../institutions/components/SiteForm.vue | 56 +-- src/views/system/user/components/UserInfo.vue | 177 ++----- src/views/system/user/list/index.vue | 88 ++-- .../personnel-manage/components/site.vue | 453 +++++------------- 6 files changed, 251 insertions(+), 553 deletions(-) diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue b/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue index a0c70eab..b0b3746d 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/TemplateForm.vue @@ -22,6 +22,11 @@ + + + + + @@ -83,6 +88,7 @@ export default { DocUserSignType: 0, CurrentStaffTrainDays: 1, NewStaffTrainDays: 14, + DocLanguageType: null }, rules: { FileTypeId: [ @@ -92,6 +98,13 @@ export default { trigger: ['blur'], }, ], + DocLanguageType: [ + { + required: true, + message: this.$t('common:ruleMessage:select'), + trigger: ['blur'], + }, + ], SignViewMinimumMinutes: [ { required: true, @@ -143,6 +156,9 @@ export default { this.form.DocUserSignType = this.data.DocUserSignType this.form.CurrentStaffTrainDays = this.data.CurrentStaffTrainDays this.form.NewStaffTrainDays = this.data.NewStaffTrainDays + this.form.DocLanguageType = this.data.DocLanguageType + } else { + this.form.DocLanguageType = this.$i18n.locale !== 'zh' ? 1 : 0 } this.loading = false }, diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue index 5b474e0d..ae86b049 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue @@ -26,6 +26,11 @@ + + + + + + + + - + { IsDeleted: null, DocUserSignType: null, UserTypeId: null, + DocLanguageType: null, Name: '', PageIndex: 1, PageSize: 20, diff --git a/src/views/dictionary/institutions/components/SiteForm.vue b/src/views/dictionary/institutions/components/SiteForm.vue index 17e07d21..5b52188c 100644 --- a/src/views/dictionary/institutions/components/SiteForm.vue +++ b/src/views/dictionary/institutions/components/SiteForm.vue @@ -1,13 +1,6 @@