From b396c374268f70fbaab956801df4fc759df4af9c Mon Sep 17 00:00:00 2001 From: fks-xuxinyue <2822784518@qq.com> Date: Tue, 23 Jul 2024 17:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../carbonEmissionFactorLibrary/config.ts | 15 ++++++------ .../carbonEmissionFactorLibrary/index.vue | 28 +++++++++++++++------- .../energyConsumption/index.vue | 9 +++++-- 3 files changed, 34 insertions(+), 18 deletions(-) diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts index 6c3642a..aa2df7e 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts @@ -52,27 +52,27 @@ export const formConfig = (disabled) => { options: [ { label: 'CO2', - value: 'CO2', + value: 1, }, { label: 'CO2e', - value: 'CO2e', + value: 2, }, { label: 'SF6', - value:'SF6', + value: 3, }, { label: 'CH4', - value: 'CH4', + value: 4, }, { label: 'PFCs', - value: 'PFCs', + value: 5, }, { label: 'HFCs', - value: 'HFCs', + value: 6, }, ], }, @@ -195,7 +195,8 @@ export const formConfig = (disabled) => { component: 'NsTextarea', componentProps: { placeholder: '请输入参考文献', - maxLength: 20, + maxLength: 300, + showCount:true }, }, ], diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue index d52c081..bd5c776 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue @@ -50,7 +50,7 @@ --> - +