diff --git a/hx-ai-intelligent/src/api/IlluminationInfo.ts b/hx-ai-intelligent/src/api/IlluminationInfo.ts index 3b1d32c..0a8015e 100644 --- a/hx-ai-intelligent/src/api/IlluminationInfo.ts +++ b/hx-ai-intelligent/src/api/IlluminationInfo.ts @@ -9,6 +9,13 @@ export enum lightingManage { // 修改线路的可用/禁用状态 setDisable = '/carbon-smart/IlluminationInfo/revisePanel', + // 控制面板tab页 ================================================ + + // 获取当前修改的内容对比数据 + getChangeList = '/carbon-smart/IlluminationInfo/getLightSceneChangeInfo', + // 提交当前修改 + submitChangeList = '/carbon-smart/IlluminationInfo/changeLightScene', + // 计划列表tab页 ================================================ // 获得计划列表tab页的表格数据 diff --git a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts index 57e28ca..dcbbfa9 100644 --- a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts +++ b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts @@ -51,4 +51,8 @@ export enum carbonInventoryCheck { create = '/carbon-smart/api/carbon/inventory/create', update = '/carbon-smart/api/carbon/inventory/update', del = '/carbon-smart/api/carbon/inventory/del', + // 获取排放源表格数据 + 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 diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue index 52ac5ea..652f433 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue @@ -66,7 +66,7 @@ }; } const rowSpan = getRowSpan('cnValue', record, data.value); - if (rowIndex != 0 && data.value[rowIndex - 1].name == record.name) { + if (rowIndex != 0 && data.value[rowIndex - 1].cnValue == record.cnValue) { return { rowSpan: 0, colSpan: 0, diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/config.ts b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/config.ts index 94ed611..f396774 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/config.ts +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/config.ts @@ -1,59 +1,3 @@ -// 填报页表头 -export const columns = [ - { - title: '日期', - dataIndex: 'name', - key: 'name', - width: 100, - fixed: 'left', - }, - { - title: '消耗量', - children: [ - { - title: '数据来源', - dataIndex: 'companyAddress', - key: 'companyAddress', - width: 200, - }, - { - title: '数值', - dataIndex: 'companyName', - key: 'companyName', - }, - ], - }, - { - title: '碳排因子', - children: [ - { - title: '数据来源', - dataIndex: 'companyAddress', - key: 'companyAddress', - width: 200, - }, - { - title: '数值', - dataIndex: 'companyName', - key: 'companyName', - }, - ], - }, - { - title: '排放量', - dataIndex: 'gender', - key: 'gender', - width: 80, - fixed: 'right', - }, - { - title: '操作', - dataIndex: 'action', - key: 'action', - width: 80, - fixed: 'right', - }, -]; // 凭证弹窗表头 export const voucherColumns = [ { 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 fcf8e50..9fb4af0 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/fillInPage/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/fillInPage/index.vue @@ -4,7 +4,7 @@
-
2024年济阳站碳盘查报告
+
{{props.year}}年济阳站碳盘查报告
适用标准:ISO 14064-1 类别配置 @@ -54,7 +54,7 @@
排放源
- 返回 + 返回
@@ -95,6 +95,12 @@ 凭证