From 0421697c9ba884aaa8099177227c600a8e94a55b Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Wed, 14 Aug 2024 09:11:46 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=96=B0=E6=B3=95=E8=A7=84=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E6=B5=81=E7=A8=8B=E5=A2=9E=E5=8A=A0=E4=B8=BB=E7=AE=A1?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E5=92=8C=E4=B8=BB=E6=8E=A7=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/workCenter/en.js | 2 + src/common/lang/workCenter/zh.js | 2 + .../modules/BaseInfoForm.vue | 52 ++++++++++++++++++- 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index 56a8566..ce184c8 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -18,6 +18,8 @@ module.exports = { stageWeAreIn: 'Regulation Status', materialDate: 'Implementation Date', applicableMarket: 'Applicable Market', + competentDepartment: 'Competent department', + mainControlDepartment: 'Main control department', ccPerson: 'CC Person', briefDescription: 'The statute requires a brief description' }, diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index 0d56097..5a02826 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -18,6 +18,8 @@ module.exports = { stageWeAreIn: '所处阶段', materialDate: '实施日期', applicableMarket: '适用市场', + competentDepartment: '主管部门', + mainControlDepartment: '主控部门', ccPerson: '抄送人员', briefDescription: '法规要求简要描述' }, diff --git a/src/views/workCenter/newRegulationIntroductionProcess/modules/BaseInfoForm.vue b/src/views/workCenter/newRegulationIntroductionProcess/modules/BaseInfoForm.vue index c3dd1eb..95531f0 100644 --- a/src/views/workCenter/newRegulationIntroductionProcess/modules/BaseInfoForm.vue +++ b/src/views/workCenter/newRegulationIntroductionProcess/modules/BaseInfoForm.vue @@ -128,6 +128,36 @@ :placeholder="disabled ? '' : $t('pleaseSelect')+$t('workCenter.newRegulationImportProcess.applicableMarket')" /> + +
+
+ * + + {{ $t('workCenter.newRegulationImportProcess.competentDepartment') }} + +
+ + + +
+ +
+
+ * + + {{ $t('workCenter.newRegulationImportProcess.mainControlDepartment') }} + +
+ + + +
@@ -147,7 +177,7 @@
-
+
{{ $t('workCenter.newRegulationImportProcess.briefDescription') }} @@ -227,6 +257,22 @@ export default { trigger: 'change' } ], + // 主管部门 + competentDepartment: [ + { + required: true, + message: this.$t('workCenter.newRegulationImportProcess.competentDepartment') + this.$t('cannotEmpty'), + trigger: 'change' + } + ], + // 主控部门 + mainControlDepartment: [ + { + required: true, + message: this.$t('workCenter.newRegulationImportProcess.mainControlDepartment') + this.$t('cannotEmpty'), + trigger: 'change' + } + ], // 抄送人员 copyUser: [ { @@ -329,4 +375,8 @@ export default { /deep/ .ant-form-item-children > * { width: 100%; } + +.form-flex-item-full { + width: 100%; +}