From 16e3213f210328076cdba29a54362ce5cadbff3f Mon Sep 17 00:00:00 2001
From: fks-xuxinyue <2822784518@qq.com>
Date: Mon, 22 Jul 2024 15:25:41 +0800
Subject: [PATCH 1/4] tackid:099 remark:'commit'
---
.../carbonEmissionFactorLibrary/index.vue | 12 +-
.../carbonEmissions/index copy.vue | 4 +-
.../carbonEmissions/index.vue | 20 +-
.../energyConsumption/index.vue | 4 +-
.../quickCalculation/index.vue | 4 +-
.../carbonInventoryCheck/config.ts | 374 ++------
.../carbonInventoryCheck/fillInPage/index.vue | 996 ++++++++++++++++++---
.../carbonInventoryCheck/index.vue | 4 +-
8 files changed, 1005 insertions(+), 413 deletions(-)
diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue
index 8925bca..874ac97 100644
--- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue
+++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue
@@ -739,27 +739,27 @@
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',
},
],
},
diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index copy.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index copy.vue
index 62c8b54..8283309 100644
--- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index copy.vue
+++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index copy.vue
@@ -291,10 +291,10 @@
// };
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 d792f11..412aae7 100644
--- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue
+++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/carbonEmissions/index.vue
@@ -10,14 +10,14 @@
-
+
diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/energyConsumption/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/energyConsumption/index.vue
index 4978f78..256c5cb 100644
--- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/energyConsumption/index.vue
+++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/energyConsumption/index.vue
@@ -576,10 +576,10 @@
};
\ No newline at end of file
diff --git a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/index.vue b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/index.vue
index 807cb39..468051b 100644
--- a/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/index.vue
+++ b/hx-ai-intelligent/src/view/carbonEmissionManage/carbonInventoryCheck/index.vue
@@ -61,8 +61,8 @@
return http.post(api, params);
};
// 判断展示哪个页面
- const isMainPage = ref(true);
- const fillInPage = ref(false);
+ const isMainPage = ref(false);
+ const fillInPage = ref(true);
// 新增相关数据
const visible = ref(false);
const formState = ref({})
From 7c679f7fa5ee60ee3f4d66b5df7a1208012fabcf Mon Sep 17 00:00:00 2001
From: xuziqiang <1344691446@qq.com>
Date: Mon, 22 Jul 2024 15:51:50 +0800
Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E8=8F=9C=E5=8D=95icon=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hx-ai-intelligent/src/App.vue | 59 ++++++++++++++++++++++++++++++++-----------
1 file changed, 44 insertions(+), 15 deletions(-)
diff --git a/hx-ai-intelligent/src/App.vue b/hx-ai-intelligent/src/App.vue
index af9b91f..3333c55 100644
--- a/hx-ai-intelligent/src/App.vue
+++ b/hx-ai-intelligent/src/App.vue
@@ -79,24 +79,53 @@
// 区域阴影
// .ns-list-table {
- // :deep(.ant-tabs) {
- // // overflow: visible;
- // box-shadow: @ns-content-box-shadow;
- // border-radius: @ns-border-radius;
- // .ns-table-search {
- // box-shadow: none;
- // border-top-left-radius: 0px !important;
- // border-top-right-radius: 0px !important;
- // }
- // .ns-table-main {
- // }
- // .ant-tabs-tabpane-active > div {
- // height: 100%;
- // }
- // }
+ :deep(.ant-tabs) {
+ // // overflow: visible;
+ // box-shadow: @ns-content-box-shadow;
+ // border-radius: @ns-border-radius;
+ .ns-table-search {
+ border-top-left-radius: 0px !important;
+ border-top-right-radius: 0px !important;
+ }
+ .ns-table-main {
+ border-bottom-left-radius: 0px !important;
+ border-bottom-right-radius: 0px !important;
+ }
+ // .ant-tabs-tabpane-active > div {
+ // height: 100%;
+ // }
+ }
// .ant-tabs .ns-table-main {
// border-bottom-left-radius: 0px !important;
// border-bottom-right-radius: 0px !important;
// }
// }
+
+ // 菜单icon(仅仅处理特殊需求:未选中时icon与文字不同色)
+ :deep(.anticon) {
+ color: #8d96a3 !important;
+ }
+
+ :deep(.ant-menu-item-selected .ant-menu-item-only-child),
+ :deep(.ant-menu-submenu-selected .ant-menu-item-only-child),
+ :deep(.firstMenuItem-selected) {
+ .router-link-active > .anticon {
+ color: @white !important;
+ }
+ }
+
+ :deep(.ant-menu-item-active) {
+ .anticon {
+ color: @primary-color !important;
+ }
+ }
+ :deep(.ant-menu-submenu-active),
+ :deep(.ant-menu-submenu-open),
+ :deep(.ant-menu-item-selected) {
+ .ant-menu-submenu-title {
+ .anticon {
+ color: @primary-color !important;
+ }
+ }
+ }
From 159698ffbe378f85a012f83209d63b946d609e28 Mon Sep 17 00:00:00 2001
From: xuziqiang <1344691446@qq.com>
Date: Mon, 22 Jul 2024 18:02:12 +0800
Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hx-ai-intelligent/src/App.vue | 50 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/hx-ai-intelligent/src/App.vue b/hx-ai-intelligent/src/App.vue
index 3333c55..72c7ea0 100644
--- a/hx-ai-intelligent/src/App.vue
+++ b/hx-ai-intelligent/src/App.vue
@@ -128,4 +128,54 @@
}
}
}
+
+ @min-padding: 5px;
+ :deep(.ns-left-menu-space):not(.ns-left-menu-space-collapsed) {
+ .firstMenuItem-selected {
+ background-color: transparent !important;
+ }
+ .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
+ background-color: transparent;
+ &::before {
+ background-color: @primary-color;
+ opacity: 1;
+ height: calc(100% - @min-padding*2);
+ top: @min-padding;
+ border-radius: @ns-border-radius;
+ }
+ }
+ .ant-menu-item-active:not(.ant-menu-item-selected) {
+ background-color: transparent !important;
+ position: relative;
+ &::before {
+ content: '';
+ position: absolute;
+ width: 100%;
+ background-color: rgb(@primary-color, 0.1);
+ height: calc(100% - @min-padding*2);
+ top: @min-padding;
+ left: 0;
+ border-radius: @ns-border-radius;
+ z-index: 0;
+ }
+ }
+
+ // .ant-menu-inline .ant-menu-item-selected::after {
+ // content: '';
+ // position: absolute;
+ // top: 50%;
+ // right: -20px;
+ // transform: translateY(-50%);
+ // width: 3px !important;
+ // border-radius: 2px;
+ // background-color: red;
+ // height: 30px;
+ // z-index: 2;
+ // border: none;
+ // }
+
+ .ant-menu-title-content {
+ z-index: 1;
+ }
+ }
From 975d5fe4f03e9eab78da3d85f88093c5d360e41e Mon Sep 17 00:00:00 2001
From: xuziqiang <1344691446@qq.com>
Date: Mon, 22 Jul 2024 18:11:03 +0800
Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hx-ai-intelligent/src/App.vue | 10 ++++++++++
lib/component/tree/tree-api.vue | 10 +++++-----
lib/saas/view/system/layout/header.vue | 8 ++++----
3 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/hx-ai-intelligent/src/App.vue b/hx-ai-intelligent/src/App.vue
index 72c7ea0..d862cbb 100644
--- a/hx-ai-intelligent/src/App.vue
+++ b/hx-ai-intelligent/src/App.vue
@@ -178,4 +178,14 @@
z-index: 1;
}
}
+
+ :deep(.nsHeader_action) {
+ .action {
+ font-size: 18px;
+ font-weight: bold;
+ letter-spacing: 0px;
+ line-height: 24px;
+ color: rgba(51, 51, 51, 1);
+ }
+ }
diff --git a/lib/component/tree/tree-api.vue b/lib/component/tree/tree-api.vue
index 3bb3574..510a152 100644
--- a/lib/component/tree/tree-api.vue
+++ b/lib/component/tree/tree-api.vue
@@ -3,8 +3,8 @@