diff --git a/hx-ai-intelligent/src/api/IlluminationInfo.ts b/hx-ai-intelligent/src/api/IlluminationInfo.ts index 113f7fa..29fc6df 100644 --- a/hx-ai-intelligent/src/api/IlluminationInfo.ts +++ b/hx-ai-intelligent/src/api/IlluminationInfo.ts @@ -3,29 +3,29 @@ export enum lightingManage { // 主页 ======================================================== // 获得分区与线路 - getArea = '/carbon-smart/IlluminationInfo/region', + getTree = '/carbon-smart/api/illuminationCtrl/getCtrlPanelTree', // 修改线路的可用/禁用状态 - setDisable = '/carbon-smart/IlluminationInfo/changePanelStatus', + setDisable = '/carbon-smart/api/illuminationCtrl/changePanelStatus', // 获得设备 - 小灯泡 - getBulbs = '/carbon-smart/IlluminationInfo/getLightState', + getBulbs = '/carbon-smart/api/illuminationCtrl/getLightState', // 控制面板tab页 ================================================ // 获取当前修改的内容对比数据 - getChangeList = '/carbon-smart/IlluminationInfo/getLightSceneChangeInfo', + getChangeList = '/carbon-smart/api/illuminationCtrl/getLightSceneChangeInfo', // 提交当前修改 - submitChangeList = '/carbon-smart/IlluminationInfo/changeLightScene', + submitChangeList = '/carbon-smart/api/illuminationCtrl/changeLightScene', // 计划列表tab页 ================================================ // 获得计划列表tab页的表格数据 - getPlanTable = '/carbon-smart/IlluminationPlan/selectPanelPlan', + getPlanTable = '/carbon-smart/api/illuminationInfo/selectPanelPlan', // 获得计划列表tab页的穿梭框左侧数据 - getLeftPlan = '/carbon-smart/IlluminationPlan/getPlan', + getLeftPlan = '/carbon-smart/api/illuminationInfo/getPlan', // 提交穿梭框被选择的数据 - submitLeftPlan = '/carbon-smart/IlluminationPlan/joinPlan', + submitLeftPlan = '/carbon-smart/api/illuminationInfo/joinPlan', // 删除表格中的计划 - deletePlan = '/carbon-smart/IlluminationPlan/deletePlan', + deletePlan = '/carbon-smart/api/illuminationInfo/deletePlan', // 重启表格计划 - restartPlan = '/carbon-smart/IlluminationPlan/enable', + restartPlan = '/carbon-smart/api/illuminationInfo/enable', } diff --git a/hx-ai-intelligent/src/api/airConditionControlSystem.ts b/hx-ai-intelligent/src/api/airConditionControlSystem.ts new file mode 100644 index 0000000..ae3ea58 --- /dev/null +++ b/hx-ai-intelligent/src/api/airConditionControlSystem.ts @@ -0,0 +1,28 @@ +const prefix = '/carbon-smart'; +// 空调系统及相关接口 +export enum airConditionControl { + // 主页 ====================================================== + + // 主页分区结构 + getTree = prefix + '/airConditioningCtrl/getCtrlPanelTree', + // 主页小灯泡 + getDeviceList = prefix + '/airConditioningCtrl/getDeviceState', + + // 主页 > 抽屉 > 控制面板 ======================================= + + // 获得修改的比对列表 + getChangeList = prefix + '/airConditioningCtrl/getSceneChangeInfo', + // 提交修改结果 + submitChangeList = prefix + '/airConditioningCtrl/changeToSceneMode', + + // 主页 > 抽屉 > 计划列表 ======================================= + + // 穿梭框来源数据 + getTransData = prefix + '/airConditioningInfo/getDeActivatedPlanList', + // 右侧表格数据 + getTableData = prefix + '/airConditioningInfo/getActivatedPlanList', + // 穿梭框结果数据提交 + submitTransData = prefix + '/airConditioningInfo/activePlanByIdList', + // 右侧表格修改数据提交 + submitTableData = prefix + '/airConditioningCtrl/refreshPlanStatus', +} diff --git a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts index 8358746..fe5380d 100644 --- a/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts +++ b/hx-ai-intelligent/src/api/carbonEmissionFactorLibrary.ts @@ -79,7 +79,11 @@ export enum uploadPic { // 碳规划 export enum carbonPlanning { // 全部 + whole = '/carbon-smart/api/carbon/planning/whole', // 详情 searchListByYear = '/carbon-smart/api/carbon/planning/searchListByYear', searchListByMonth = '/carbon-smart/api/carbon/planning/searchListByMonth', + yearAndMonthAchievement = '/carbon-smart/api/carbon/planning/yearAndMonthAchievement', + annualElectricityConsumption = '/carbon-smart/api/carbon/planning/annualElectricityConsumption', + electricityUsageBackThen = '/carbon-smart/api/carbon/planning/electricityUsageBackThen', } diff --git a/hx-ai-intelligent/src/router/equipmentControl.ts b/hx-ai-intelligent/src/router/equipmentControl.ts index 32b7c71..bd6ccb5 100644 --- a/hx-ai-intelligent/src/router/equipmentControl.ts +++ b/hx-ai-intelligent/src/router/equipmentControl.ts @@ -100,6 +100,25 @@ const equipmentControl = { // }, // ], // }, + { + path: 'airConditionControlSystem', + name: 'airConditionControlSystem', + meta: { title: '空调系统群控', hideChildren: true, icon: 'shebeiqunkong' }, + component: Base, + redirect: { name: 'airConditionControlSystemIndex' }, + children: [ + { + path: 'index', + name: 'airConditionControlSystemIndex', + component: () => import('/@/view/equipmentControl/airConditionControlSystem/index.vue'), + meta: { + title: '空调系统群控', + keepAlive: false, + // backApi: [], + }, + }, + ], + }, ], }; export default equipmentControl; 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 3872240..a5b9204 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue @@ -54,7 +54,6 @@ // 年份选择改变触发 const changeYearData = () => { - debugger queryParams.value.year = selectYear.value; getTableList(); }; diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue index 76f48a0..94da7c9 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue @@ -37,6 +37,7 @@ energyConsumptionRef.value.mainRef.nsTableRef.reload(); } } else if (key === '2') { + debugger if (carbonEmissionsRef.value) { carbonEmissionsRef.value.getTableList(); // 调用子组件的方法 } diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/all/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/all/index.vue index 73250c2..14f7fd2 100644 --- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/all/index.vue +++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonPlanning/all/index.vue @@ -3,8 +3,18 @@
序号 | +执行时间 | +计划名称 | +状态 | +操作 | +
---|---|---|---|---|
{{ index + 1 }} | +{{ row.startTime }} | +{{ row.planName }} | ++ + | +
+ 启用
+ 删除
+ |
+
序号 | +执行时间 | +操作内容 | +操作人 | +
---|---|---|---|
{{ row.key }} | +{{ row.data }} | +{{ row.planName }} | +{{ row.status }} | +