diff --git a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts index dcbbfa9..2d5f06f 100644 --- a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts +++ b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts @@ -55,4 +55,6 @@ export enum carbonInventoryCheck { findUnitById = '/carbon-smartapi/carbon/inventory/findById', getDetailsList = '/carbon-smart/api/carbon/inventory/details/getDetailsList', updateTable = '/carbon-smart/api/carbon/inventory/details/update', -} \ No newline at end of file + // 排放统计接口 + emissionStatistic = '/carbon-smart/api/carbon/inventory/emissionStatistic', +} diff --git a/hx-ai-intelligent/src/router/carbonEmissionManage.ts b/hx-ai-intelligent/src/router/carbonEmissionManage.ts index 1ce91af..2d0e6d4 100644 --- a/hx-ai-intelligent/src/router/carbonEmissionManage.ts +++ b/hx-ai-intelligent/src/router/carbonEmissionManage.ts @@ -65,6 +65,26 @@ const equipment = { }, ], }, + { + path: 'carbonInventoryCheck', + name: 'CarbonInventoryCheck', + meta: { title: '碳资产', hideChildren: true, icon: 'tanpaiguanli' }, + component: Base, + redirect: { name: 'CarbonInventoryCheckIndex' }, + children: [ + { + path: 'index', + name: 'CarbonInventoryCheckIndex', + // component: () => import('/nerv-lib/saas/view/menuManage/index.vue'), + component: () => import('/@/view/carbonEmissionManage/carbonInventoryCheck/index.vue'), + meta: { + title: '碳资产', + keepAlive: false, + // backApi: [], + }, + }, + ], + }, ], }; export default equipment; diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts index aa2df7e..7eaf1ae 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/config.ts @@ -196,7 +196,7 @@ export const formConfig = (disabled) => { componentProps: { placeholder: '请输入参考文献', maxLength: 300, - showCount:true + 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 bd5c776..a110e3f 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue @@ -4,16 +4,15 @@
- +
排放分类
-
+
- + + @search="onSearchTreeData" />
@@ -21,7 +20,7 @@
- - {{ data.emissionName.substring(0, data.emissionName.indexOf(selectTreeDataValue)) }} - {{ selectTreeDataValue }} - {{ data.emissionName.substring(data.emissionName.indexOf(selectTreeDataValue) + selectTreeDataValue.length) }} + + {{ + data.emissionName.substring(0, data.emissionName.indexOf(selectTreeDataValue)) + }} + {{ selectTreeDataValue }} + {{ + data.emissionName.substring( + data.emissionName.indexOf(selectTreeDataValue) + selectTreeDataValue.length, + ) + }} {{ data.emissionName }}
@@ -62,12 +72,12 @@
- 新增 + 新增
- + - - + + - - + + - + {{ item.cnValue }} @@ -193,12 +210,17 @@
@@ -189,4 +193,4 @@ td.column-money { text-align: right !important; } - \ No newline at end of file + diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue index 831f1b2..f39242a 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue @@ -31,4 +31,3 @@ // } }; - diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/quickCalculation/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/quickCalculation/index.vue index 08059aa..200e900 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/quickCalculation/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/quickCalculation/index.vue @@ -2,16 +2,15 @@
- +
因子分类
-
+
- + + @search="onSearchTreeData" />
@@ -25,13 +24,15 @@ show-line @expand="onExpand" @select="onSelect" - style="padding: 0 16px !important;" - > + style="padding: 0 16px !important"> @@ -61,33 +62,35 @@ --> - - - - + + + - + @@ -103,20 +106,24 @@ - - - - - + + + + +
@@ -124,10 +131,13 @@ @@ -474,9 +483,9 @@ display: flex; flex-direction: column; - .top{ + .top { position: relative; - .addTreeNode{ + .addTreeNode { width: 100%; padding: 16px; position: absolute; @@ -499,7 +508,7 @@ .top { overflow: auto; } - .ns-form-title{ + .ns-form-title { font-weight: bold; user-select: text; padding: 16px; @@ -507,7 +516,7 @@ padding-bottom: 10px; border-bottom: 1px solid #e9e9e9; } - .title{ + .title { text-align: left; height: 32px; line-height: 32px; @@ -525,17 +534,17 @@ height: 13px; width: 3px; border-radius: 1px; - background-color: #2778FF; + background-color: #2778ff; } :deep(.ant-table-title) { display: flex; height: 100%; align-items: center; } - .ns-table-title{ + .ns-table-title { font-weight: bold; } - .buttonGroup{ + .buttonGroup { margin-left: 1vw; width: 5vw; display: flex; @@ -547,4 +556,4 @@ td.column-money { text-align: right !important; } - \ No newline at end of file + diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/fillInPage/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/fillInPage/index.vue index 9fb4af0..ba6809f 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/fillInPage/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/fillInPage/index.vue @@ -2,18 +2,23 @@
- -
-
{{props.year}}年济阳站碳盘查报告
-
- 适用标准:ISO 14064-1 - 类别配置 -
+ +
+
{{ props.year }}年济阳站碳盘查报告
+
+ 适用标准:ISO 14064-1 + 类别配置
-
+
+
- - + +
@@ -26,13 +31,12 @@ v-if="gData && gData.length > 0" :height="233" show-line - style="padding: 0 16px !important;" + style="padding: 0 16px !important" @expand="onExpandL" @select="onSelectL" - block-node - > + block-node>
-
- +
+
报告相关
-
-
排放统计
-
碳排流向
+
+
排放统计
+
碳排流向
-
+
排放源
- 返回 + 返回
-
+
+ block-node>
- 新增 + 新增
@@ -89,8 +92,7 @@ :pagination="false" bordered size="middle" - :scroll="{ y: 480 }" - > + :scroll="{ y: 480 }"> @@ -111,12 +113,15 @@
- +
@@ -138,8 +143,7 @@ v-model:value="searchcategoryConfig" placeholder="请输入类别名称" style="width: 250px" - @search="onSearch" - /> + @search="onSearch" />
+ :wrapper-col="wrapperCol"> @@ -188,10 +191,7 @@ - + {{ item.cnValue }} @@ -220,8 +220,7 @@ :body-style="{ paddingBottom: '80px' }" :footer-style="{ textAlign: 'right' }" destroyOnClose - @close="onCloseVoucher" - > + @close="onCloseVoucher"> + @close="onCloseEditData"> - - - - - 自行推估 - 定期量测 - 自动测量 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + :wrapper-col="wrapperCol"> + + + + + 自行推估 + 定期量测 + 自动测量 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - @@ -321,8 +322,7 @@ name="file" action="https://www.mocky.io/v2/5cc8019d300000980a055e76" :headers="headers" - @change="handleChange" - > + @change="handleChange"> 点击上传凭证 @@ -333,20 +333,29 @@ 确定 -
@@ -1353,11 +1436,11 @@ display: flex; flex-direction: column; - .top{ + .top { position: relative; height: 80%; margin-bottom: 20px; - .ns-form-title{ + .ns-form-title { font-weight: bold; user-select: text; padding: 16px; @@ -1365,7 +1448,7 @@ padding-bottom: 10px; border-bottom: 1px solid #e9e9e9; } - .title{ + .title { text-align: left; height: 32px; line-height: 32px; @@ -1383,13 +1466,13 @@ height: 13px; width: 3px; border-radius: 1px; - background-color: #2778FF; + background-color: #2778ff; } } - .bottom{ + .bottom { position: relative; height: 20%; - .ns-form-title{ + .ns-form-title { font-weight: bold; user-select: text; padding: 16px; @@ -1397,7 +1480,7 @@ padding-bottom: 10px; border-bottom: 1px solid #e9e9e9; } - .title{ + .title { text-align: left; height: 32px; line-height: 32px; @@ -1415,17 +1498,17 @@ height: 13px; width: 3px; border-radius: 1px; - background-color: #2778FF; + background-color: #2778ff; } - .button>div{ + .button > div { height: 3vh; display: flex; align-items: center; } - .pftj{ + .pftj { background: #c9e4ff; } - .tplx{ + .tplx { background: #c9e4ff; } } @@ -1446,7 +1529,7 @@ width: 92%; margin-bottom: @ns-gap; } - .mainLeft{ + .mainLeft { width: 19%; margin-right: 1%; border-right: 1px solid #f2f2f2; @@ -1466,26 +1549,26 @@ } } } - .addTreeNode{ + .addTreeNode { width: 100%; padding: 16px; position: absolute; bottom: 0; } } - .mainRight{ + .mainRight { width: 80%; } } - - .search{ + + .search { width: 70%; height: 5vh; display: flex; align-items: center; margin-left: 10%; } - .treePart{ + .treePart { width: 70%; height: 100%; display: flex; @@ -1493,4 +1576,4 @@ margin-left: 10%; flex-direction: column; } - \ No newline at end of file +