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 @@ --> - +