From 2743ad133b132816126e847fc701f2785b198bd7 Mon Sep 17 00:00:00 2001 From: unknown <1535852499@qq.com> Date: Fri, 15 Dec 2023 14:18:05 +0800 Subject: [PATCH] zyh --- .history/src/api/fhgl_20231215112551.js | 44 + .history/src/api/kdfh_20231215133539.js | 44 + .history/src/api/kdfh_20231215133547.js | 44 + .history/src/api/kdfh_20231215133548.js | 44 + .history/src/api/kdfh_20231215134414.js | 44 + .history/src/api/kdfh_20231215134426.js | 44 + .history/src/api/kdfh_20231215134431.js | 44 + .history/src/api/kdfh_20231215134436.js | 44 + .history/src/api/nxglnh_20231215112923.js | 44 + .history/src/api/nxglnh_20231215113013.js | 44 + .history/src/api/nxglnh_20231215130949.js | 44 + .history/src/api/tzcgl_20231215093946.js | 0 .history/src/api/tzcgl_20231215131028.js | 1 + .history/src/api/tzcgl_20231215131425.js | 44 + .history/src/api/tzcgl_20231215131457.js | 44 + .history/src/api/tzcgl_20231215131505.js | 44 + .history/src/api/tzcgl_20231215131522.js | 44 + .history/src/api/tzcgl_20231215131529.js | 44 + .history/src/api/tzcgl_20231215131552.js | 44 + .history/src/utils/request_20231215131845.js | 54 + .history/src/utils/request_20231215133038.js | 54 + .history/src/utils/request_20231215133448.js | 54 + .../src/views/Zhou/KDFH_20231215132634.vue | 1951 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215132651.vue | 1952 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215132727.vue | 1952 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135147.vue | 1952 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135204.vue | 1952 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135457.vue | 1953 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135512.vue | 1953 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135527.vue | 1954 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135537.vue | 1954 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135707.vue | 1957 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135914.vue | 1957 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215135938.vue | 1957 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140010.vue | 1957 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140123.vue | 1958 +++++++++++++++++ .../src/views/Zhou/KDFH_20231215140218.vue | 1958 +++++++++++++++++ .../src/views/Zhou/KDFH_20231215140425.vue | 1942 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140455.vue | 1945 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140510.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140614.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140643.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140734.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140747.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140813.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215140943.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141139.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141207.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141210.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141233.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141345.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141404.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141428.vue | 1946 ++++++++++++++++ .../src/views/Zhou/KDFH_20231215141446.vue | 1947 ++++++++++++++++ .history/vue.config_20231215133252.js | 17 + .history/vue.config_20231215133339.js | 17 + .history/vue.config_20231215133437.js | 17 + .history/vue.config_20231215133819.js | 17 + .history/vue.config_20231215133828.js | 17 + .history/vue.config_20231215133907.js | 17 + .history/vue.config_20231215134010.js | 17 + .history/vue.config_20231215134237.js | 16 + .history/vue.config_20231215134330.js | 16 + .history/vue.config_20231215134646.js | 16 + .history/vue.config_20231215134843.js | 16 + src/api/fhgl.js | 7 - src/api/kdfh.js | 12 +- src/api/nxglnh.js | 12 +- src/api/tzcgl.js | 44 + src/utils/request.js | 2 +- src/views/Zhou/KDFH.vue | 78 +- vue.config.js | 13 +- 72 files changed, 63594 insertions(+), 63 deletions(-) create mode 100644 .history/src/api/fhgl_20231215112551.js create mode 100644 .history/src/api/kdfh_20231215133539.js create mode 100644 .history/src/api/kdfh_20231215133547.js create mode 100644 .history/src/api/kdfh_20231215133548.js create mode 100644 .history/src/api/kdfh_20231215134414.js create mode 100644 .history/src/api/kdfh_20231215134426.js create mode 100644 .history/src/api/kdfh_20231215134431.js create mode 100644 .history/src/api/kdfh_20231215134436.js create mode 100644 .history/src/api/nxglnh_20231215112923.js create mode 100644 .history/src/api/nxglnh_20231215113013.js create mode 100644 .history/src/api/nxglnh_20231215130949.js create mode 100644 .history/src/api/tzcgl_20231215093946.js create mode 100644 .history/src/api/tzcgl_20231215131028.js create mode 100644 .history/src/api/tzcgl_20231215131425.js create mode 100644 .history/src/api/tzcgl_20231215131457.js create mode 100644 .history/src/api/tzcgl_20231215131505.js create mode 100644 .history/src/api/tzcgl_20231215131522.js create mode 100644 .history/src/api/tzcgl_20231215131529.js create mode 100644 .history/src/api/tzcgl_20231215131552.js create mode 100644 .history/src/utils/request_20231215131845.js create mode 100644 .history/src/utils/request_20231215133038.js create mode 100644 .history/src/utils/request_20231215133448.js create mode 100644 .history/src/views/Zhou/KDFH_20231215132634.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215132651.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215132727.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135147.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135204.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135457.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135512.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135527.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135537.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135707.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135914.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215135938.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140010.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140123.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140218.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140425.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140455.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140510.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140614.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140643.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140734.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140747.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140813.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215140943.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141139.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141207.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141210.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141233.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141345.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141404.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141428.vue create mode 100644 .history/src/views/Zhou/KDFH_20231215141446.vue create mode 100644 .history/vue.config_20231215133252.js create mode 100644 .history/vue.config_20231215133339.js create mode 100644 .history/vue.config_20231215133437.js create mode 100644 .history/vue.config_20231215133819.js create mode 100644 .history/vue.config_20231215133828.js create mode 100644 .history/vue.config_20231215133907.js create mode 100644 .history/vue.config_20231215134010.js create mode 100644 .history/vue.config_20231215134237.js create mode 100644 .history/vue.config_20231215134330.js create mode 100644 .history/vue.config_20231215134646.js create mode 100644 .history/vue.config_20231215134843.js diff --git a/.history/src/api/fhgl_20231215112551.js b/.history/src/api/fhgl_20231215112551.js new file mode 100644 index 0000000..d737fed --- /dev/null +++ b/.history/src/api/fhgl_20231215112551.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 负荷管理 +export function GetFhgl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 负荷分析 +export function GetFhfx () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 变压器负载率 +export function GetByqfzl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 负荷分类 +export function GetFhfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 生产线负荷占比 +export function GetFhzb () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 生产线负荷 +export function GetScxfh () { + return request({ + url: `brand?limit=${limit}`, + method: "GET", + }); +} diff --git a/.history/src/api/kdfh_20231215133539.js b/.history/src/api/kdfh_20231215133539.js new file mode 100644 index 0000000..43efa78 --- /dev/null +++ b/.history/src/api/kdfh_20231215133539.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api//GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `//GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `//GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `//GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `//GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/kdfh_20231215133547.js b/.history/src/api/kdfh_20231215133547.js new file mode 100644 index 0000000..a0b7b83 --- /dev/null +++ b/.history/src/api/kdfh_20231215133547.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api/GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `//GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `//GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `//GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `//GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/kdfh_20231215133548.js b/.history/src/api/kdfh_20231215133548.js new file mode 100644 index 0000000..a0b7b83 --- /dev/null +++ b/.history/src/api/kdfh_20231215133548.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api/GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `//GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `//GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `//GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `//GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/kdfh_20231215134414.js b/.history/src/api/kdfh_20231215134414.js new file mode 100644 index 0000000..96d7ea4 --- /dev/null +++ b/.history/src/api/kdfh_20231215134414.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api/GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/api/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `//GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `//GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `//GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `//GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/kdfh_20231215134426.js b/.history/src/api/kdfh_20231215134426.js new file mode 100644 index 0000000..a68f589 --- /dev/null +++ b/.history/src/api/kdfh_20231215134426.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api/GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/api/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `/api/GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `/api/GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `//GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `//GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/kdfh_20231215134431.js b/.history/src/api/kdfh_20231215134431.js new file mode 100644 index 0000000..db914f8 --- /dev/null +++ b/.history/src/api/kdfh_20231215134431.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api/GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/api/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `/api/GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `/api/GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `/api/GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `//GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/kdfh_20231215134436.js b/.history/src/api/kdfh_20231215134436.js new file mode 100644 index 0000000..c9b279e --- /dev/null +++ b/.history/src/api/kdfh_20231215134436.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 可调负荷资源 +export function GetKdfhzy () { + return request({ + url: `/api/GetAdjustableload`, + method: 'GET' + }) +} +// 可调负荷策略 +export function GetKdfhcl () { + return request({ + url: `/api/GetLoadControlStrategy`, + method: 'GET' + }) + } +// 可调负荷分析 +export function GetKdfhfx () { + return request({ + url: `/api/GetAdjustableLoadAnalysis`, + method: 'GET' + }) + } +// 刚性可调负荷 +export function GetGang () { + return request({ + url: `/api/GetRigidAdjustableLoads`, + method: 'GET' + }) + } +// 柔性可调负荷 + export function GetRou () { + return request({ + url: `/api/GetFlexibleAdjustableLoad`, + method: 'GET' + }) + } +//可调设备 +export function GetKdsb () { + return request({ + url: `/api/GetAdjustableDevice`, + method: 'GET' + }) +} diff --git a/.history/src/api/nxglnh_20231215112923.js b/.history/src/api/nxglnh_20231215112923.js new file mode 100644 index 0000000..ccf89f4 --- /dev/null +++ b/.history/src/api/nxglnh_20231215112923.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 单耗 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 分类能耗 +export function GetFlnh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗日历 +export function GetNhrl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各回路(设备)能耗概况 +export function GetNhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 电费单价 +export function GetDfdj () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 设备运行情况 +export function GetSbyxqk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/nxglnh_20231215113013.js b/.history/src/api/nxglnh_20231215113013.js new file mode 100644 index 0000000..e9449aa --- /dev/null +++ b/.history/src/api/nxglnh_20231215113013.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 单耗 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 分类能耗 +export function GetFlnh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗日历 +export function GetNhrl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各回路(设备)能耗概况 +export function GetNhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 系统能耗概况 +export function GetDfdj () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/nxglnh_20231215130949.js b/.history/src/api/nxglnh_20231215130949.js new file mode 100644 index 0000000..59a6fa1 --- /dev/null +++ b/.history/src/api/nxglnh_20231215130949.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 单耗 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 分类能耗 +export function GetFlnh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗日历 +export function GetNhrl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各回路(设备)能耗概况 +export function GetSbnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 系统能耗概况 +export function GetXtnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215093946.js b/.history/src/api/tzcgl_20231215093946.js new file mode 100644 index 0000000..e69de29 diff --git a/.history/src/api/tzcgl_20231215131028.js b/.history/src/api/tzcgl_20231215131028.js new file mode 100644 index 0000000..fa41f92 --- /dev/null +++ b/.history/src/api/tzcgl_20231215131028.js @@ -0,0 +1 @@ +// 企业边界总览 \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215131425.js b/.history/src/api/tzcgl_20231215131425.js new file mode 100644 index 0000000..e264e7a --- /dev/null +++ b/.history/src/api/tzcgl_20231215131425.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各回路(设备)能耗概况 +export function GetSbnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 系统能耗概况 +export function GetXtnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215131457.js b/.history/src/api/tzcgl_20231215131457.js new file mode 100644 index 0000000..927fc44 --- /dev/null +++ b/.history/src/api/tzcgl_20231215131457.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各类排放占比 +export function GetSbnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 系统能耗概况 +export function GetXtnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215131505.js b/.history/src/api/tzcgl_20231215131505.js new file mode 100644 index 0000000..d60b361 --- /dev/null +++ b/.history/src/api/tzcgl_20231215131505.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各类排放占比 +export function GetGlpfzb () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 系统能耗概况 +export function GetXtnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215131522.js b/.history/src/api/tzcgl_20231215131522.js new file mode 100644 index 0000000..1cd3a1d --- /dev/null +++ b/.history/src/api/tzcgl_20231215131522.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各类排放占比 +export function GetGlpfzb () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 实时碳排放 +export function GetXtnhgk () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215131529.js b/.history/src/api/tzcgl_20231215131529.js new file mode 100644 index 0000000..94dd3d1 --- /dev/null +++ b/.history/src/api/tzcgl_20231215131529.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各类排放占比 +export function GetGlpfzb () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 实时碳排放 +export function GetSsTpf () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 能耗趋势 +export function GetNhqs () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/api/tzcgl_20231215131552.js b/.history/src/api/tzcgl_20231215131552.js new file mode 100644 index 0000000..0084346 --- /dev/null +++ b/.history/src/api/tzcgl_20231215131552.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各类排放占比 +export function GetGlpfzb () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 实时碳排放 +export function GetSsTpf () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳中和 +export function GetTzh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/.history/src/utils/request_20231215131845.js b/.history/src/utils/request_20231215131845.js new file mode 100644 index 0000000..0138d59 --- /dev/null +++ b/.history/src/utils/request_20231215131845.js @@ -0,0 +1,54 @@ +/* 封装axios用于发送请求 */ +import axios from "axios"; +import { Message } from "element-ui"; // 请确保你的项目中已经安装了 Element UI +const request = axios.create({ + baseURL: "http://111.229.30.246:32761/api/", // 设置基地址,博主这个请求跨域了因此我设置了代理服务器,因此基地址才这么短 + timeout: 5000, // 请求超时:当5s没有响应就会结束请求 +}); + +// 添加请求拦截器,一下内容是axios的拦截器,可以不用写 +request.interceptors.request.use( + function (config) { + // 在发送请求之前做些什么 + return config; + }, + function (error) { + // 对请求错误做些什么 + return Promise.reject(error); + } +); + +// 添加响应拦截器 +request.interceptors.response.use( + function (response) { + // 对响应数据做点什么 + return response.data; + }, + function (error) { + // 对响应错误做点什么 + if (error.response) { + // 请求已发出,但服务器响应状态码不在 2xx 范围内 + console.error("Error status:", error.response.status); + console.error("Error data:", error.response.data); + console.error("Error headers:", error.response.headers); + + // 提示错误信息 + Message.error(`请求错误:${error.response.status}`); + } else if (error.request) { + // 请求被发出但未收到响应 + console.error("No response received:", error.request); + + // 提示错误信息 + Message.error("网络错误,请稍后重试"); + } else { + // 设置请求时发生了一些错误 + console.error("Error:", error.message); + + // 提示错误信息 + Message.error("请求失败,请稍后重试"); + } + return Promise.reject(error); + } +); + +export default request; diff --git a/.history/src/utils/request_20231215133038.js b/.history/src/utils/request_20231215133038.js new file mode 100644 index 0000000..0138d59 --- /dev/null +++ b/.history/src/utils/request_20231215133038.js @@ -0,0 +1,54 @@ +/* 封装axios用于发送请求 */ +import axios from "axios"; +import { Message } from "element-ui"; // 请确保你的项目中已经安装了 Element UI +const request = axios.create({ + baseURL: "http://111.229.30.246:32761/api/", // 设置基地址,博主这个请求跨域了因此我设置了代理服务器,因此基地址才这么短 + timeout: 5000, // 请求超时:当5s没有响应就会结束请求 +}); + +// 添加请求拦截器,一下内容是axios的拦截器,可以不用写 +request.interceptors.request.use( + function (config) { + // 在发送请求之前做些什么 + return config; + }, + function (error) { + // 对请求错误做些什么 + return Promise.reject(error); + } +); + +// 添加响应拦截器 +request.interceptors.response.use( + function (response) { + // 对响应数据做点什么 + return response.data; + }, + function (error) { + // 对响应错误做点什么 + if (error.response) { + // 请求已发出,但服务器响应状态码不在 2xx 范围内 + console.error("Error status:", error.response.status); + console.error("Error data:", error.response.data); + console.error("Error headers:", error.response.headers); + + // 提示错误信息 + Message.error(`请求错误:${error.response.status}`); + } else if (error.request) { + // 请求被发出但未收到响应 + console.error("No response received:", error.request); + + // 提示错误信息 + Message.error("网络错误,请稍后重试"); + } else { + // 设置请求时发生了一些错误 + console.error("Error:", error.message); + + // 提示错误信息 + Message.error("请求失败,请稍后重试"); + } + return Promise.reject(error); + } +); + +export default request; diff --git a/.history/src/utils/request_20231215133448.js b/.history/src/utils/request_20231215133448.js new file mode 100644 index 0000000..823a2cf --- /dev/null +++ b/.history/src/utils/request_20231215133448.js @@ -0,0 +1,54 @@ +/* 封装axios用于发送请求 */ +import axios from "axios"; +import { Message } from "element-ui"; // 请确保你的项目中已经安装了 Element UI +const request = axios.create({ + // baseURL: "api/", // 设置基地址,博主这个请求跨域了因此我设置了代理服务器,因此基地址才这么短 + timeout: 5000, // 请求超时:当5s没有响应就会结束请求 +}); + +// 添加请求拦截器,一下内容是axios的拦截器,可以不用写 +request.interceptors.request.use( + function (config) { + // 在发送请求之前做些什么 + return config; + }, + function (error) { + // 对请求错误做些什么 + return Promise.reject(error); + } +); + +// 添加响应拦截器 +request.interceptors.response.use( + function (response) { + // 对响应数据做点什么 + return response.data; + }, + function (error) { + // 对响应错误做点什么 + if (error.response) { + // 请求已发出,但服务器响应状态码不在 2xx 范围内 + console.error("Error status:", error.response.status); + console.error("Error data:", error.response.data); + console.error("Error headers:", error.response.headers); + + // 提示错误信息 + Message.error(`请求错误:${error.response.status}`); + } else if (error.request) { + // 请求被发出但未收到响应 + console.error("No response received:", error.request); + + // 提示错误信息 + Message.error("网络错误,请稍后重试"); + } else { + // 设置请求时发生了一些错误 + console.error("Error:", error.message); + + // 提示错误信息 + Message.error("请求失败,请稍后重试"); + } + return Promise.reject(error); + } +); + +export default request; diff --git a/.history/src/views/Zhou/KDFH_20231215132634.vue b/.history/src/views/Zhou/KDFH_20231215132634.vue new file mode 100644 index 0000000..bb09d62 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215132634.vue @@ -0,0 +1,1951 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215132651.vue b/.history/src/views/Zhou/KDFH_20231215132651.vue new file mode 100644 index 0000000..bca8111 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215132651.vue @@ -0,0 +1,1952 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215132727.vue b/.history/src/views/Zhou/KDFH_20231215132727.vue new file mode 100644 index 0000000..9162513 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215132727.vue @@ -0,0 +1,1952 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135147.vue b/.history/src/views/Zhou/KDFH_20231215135147.vue new file mode 100644 index 0000000..88bc516 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135147.vue @@ -0,0 +1,1952 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135204.vue b/.history/src/views/Zhou/KDFH_20231215135204.vue new file mode 100644 index 0000000..f6cf7af --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135204.vue @@ -0,0 +1,1952 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135457.vue b/.history/src/views/Zhou/KDFH_20231215135457.vue new file mode 100644 index 0000000..217e268 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135457.vue @@ -0,0 +1,1953 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135512.vue b/.history/src/views/Zhou/KDFH_20231215135512.vue new file mode 100644 index 0000000..aba7160 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135512.vue @@ -0,0 +1,1953 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135527.vue b/.history/src/views/Zhou/KDFH_20231215135527.vue new file mode 100644 index 0000000..e107a4b --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135527.vue @@ -0,0 +1,1954 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135537.vue b/.history/src/views/Zhou/KDFH_20231215135537.vue new file mode 100644 index 0000000..14db396 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135537.vue @@ -0,0 +1,1954 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135707.vue b/.history/src/views/Zhou/KDFH_20231215135707.vue new file mode 100644 index 0000000..09889b9 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135707.vue @@ -0,0 +1,1957 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135914.vue b/.history/src/views/Zhou/KDFH_20231215135914.vue new file mode 100644 index 0000000..84dc1b8 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135914.vue @@ -0,0 +1,1957 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215135938.vue b/.history/src/views/Zhou/KDFH_20231215135938.vue new file mode 100644 index 0000000..555623f --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215135938.vue @@ -0,0 +1,1957 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140010.vue b/.history/src/views/Zhou/KDFH_20231215140010.vue new file mode 100644 index 0000000..d6df984 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140010.vue @@ -0,0 +1,1957 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140123.vue b/.history/src/views/Zhou/KDFH_20231215140123.vue new file mode 100644 index 0000000..2bf9f8e --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140123.vue @@ -0,0 +1,1958 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140218.vue b/.history/src/views/Zhou/KDFH_20231215140218.vue new file mode 100644 index 0000000..38cfeba --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140218.vue @@ -0,0 +1,1958 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140425.vue b/.history/src/views/Zhou/KDFH_20231215140425.vue new file mode 100644 index 0000000..231bbc6 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140425.vue @@ -0,0 +1,1942 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140455.vue b/.history/src/views/Zhou/KDFH_20231215140455.vue new file mode 100644 index 0000000..fc812bb --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140455.vue @@ -0,0 +1,1945 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140510.vue b/.history/src/views/Zhou/KDFH_20231215140510.vue new file mode 100644 index 0000000..cad2034 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140510.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140614.vue b/.history/src/views/Zhou/KDFH_20231215140614.vue new file mode 100644 index 0000000..693eeb3 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140614.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140643.vue b/.history/src/views/Zhou/KDFH_20231215140643.vue new file mode 100644 index 0000000..51d3b1b --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140643.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140734.vue b/.history/src/views/Zhou/KDFH_20231215140734.vue new file mode 100644 index 0000000..ff80c14 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140734.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140747.vue b/.history/src/views/Zhou/KDFH_20231215140747.vue new file mode 100644 index 0000000..05a2e9c --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140747.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140813.vue b/.history/src/views/Zhou/KDFH_20231215140813.vue new file mode 100644 index 0000000..1f71067 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140813.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215140943.vue b/.history/src/views/Zhou/KDFH_20231215140943.vue new file mode 100644 index 0000000..05a2e9c --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215140943.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141139.vue b/.history/src/views/Zhou/KDFH_20231215141139.vue new file mode 100644 index 0000000..7f17269 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141139.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141207.vue b/.history/src/views/Zhou/KDFH_20231215141207.vue new file mode 100644 index 0000000..21f1aa9 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141207.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141210.vue b/.history/src/views/Zhou/KDFH_20231215141210.vue new file mode 100644 index 0000000..5917677 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141210.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141233.vue b/.history/src/views/Zhou/KDFH_20231215141233.vue new file mode 100644 index 0000000..ae3d2c6 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141233.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141345.vue b/.history/src/views/Zhou/KDFH_20231215141345.vue new file mode 100644 index 0000000..9994da4 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141345.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141404.vue b/.history/src/views/Zhou/KDFH_20231215141404.vue new file mode 100644 index 0000000..375731d --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141404.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141428.vue b/.history/src/views/Zhou/KDFH_20231215141428.vue new file mode 100644 index 0000000..375731d --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141428.vue @@ -0,0 +1,1946 @@ + + + diff --git a/.history/src/views/Zhou/KDFH_20231215141446.vue b/.history/src/views/Zhou/KDFH_20231215141446.vue new file mode 100644 index 0000000..10cc541 --- /dev/null +++ b/.history/src/views/Zhou/KDFH_20231215141446.vue @@ -0,0 +1,1947 @@ + + + diff --git a/.history/vue.config_20231215133252.js b/.history/vue.config_20231215133252.js new file mode 100644 index 0000000..5f006ba --- /dev/null +++ b/.history/vue.config_20231215133252.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + publicPath: './', + devServer: { + proxy: { + "/Handler": { + target: "http://111.229.30.246:10013", + pathRewrite: { "^/Handler": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215133339.js b/.history/vue.config_20231215133339.js new file mode 100644 index 0000000..2258626 --- /dev/null +++ b/.history/vue.config_20231215133339.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + publicPath: './', + devServer: { + proxy: { + "/Handler": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/Handler": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215133437.js b/.history/vue.config_20231215133437.js new file mode 100644 index 0000000..837f5f4 --- /dev/null +++ b/.history/vue.config_20231215133437.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215133819.js b/.history/vue.config_20231215133819.js new file mode 100644 index 0000000..837f5f4 --- /dev/null +++ b/.history/vue.config_20231215133819.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215133828.js b/.history/vue.config_20231215133828.js new file mode 100644 index 0000000..8fddb69 --- /dev/null +++ b/.history/vue.config_20231215133828.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215133907.js b/.history/vue.config_20231215133907.js new file mode 100644 index 0000000..8fddb69 --- /dev/null +++ b/.history/vue.config_20231215133907.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215134010.js b/.history/vue.config_20231215134010.js new file mode 100644 index 0000000..8fddb69 --- /dev/null +++ b/.history/vue.config_20231215134010.js @@ -0,0 +1,17 @@ +const { defineConfig } = require("@vue/cli-service"); + +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215134237.js b/.history/vue.config_20231215134237.js new file mode 100644 index 0000000..ec9c5cf --- /dev/null +++ b/.history/vue.config_20231215134237.js @@ -0,0 +1,16 @@ +const { defineConfig } = require("@vue/cli-service"); +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215134330.js b/.history/vue.config_20231215134330.js new file mode 100644 index 0000000..ec9c5cf --- /dev/null +++ b/.history/vue.config_20231215134330.js @@ -0,0 +1,16 @@ +const { defineConfig } = require("@vue/cli-service"); +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215134646.js b/.history/vue.config_20231215134646.js new file mode 100644 index 0000000..ec9c5cf --- /dev/null +++ b/.history/vue.config_20231215134646.js @@ -0,0 +1,16 @@ +const { defineConfig } = require("@vue/cli-service"); +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/.history/vue.config_20231215134843.js b/.history/vue.config_20231215134843.js new file mode 100644 index 0000000..646e6dd --- /dev/null +++ b/.history/vue.config_20231215134843.js @@ -0,0 +1,16 @@ +const { defineConfig } = require("@vue/cli-service"); +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false, + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761/api", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, +}); diff --git a/src/api/fhgl.js b/src/api/fhgl.js index 2d856c1..d737fed 100644 --- a/src/api/fhgl.js +++ b/src/api/fhgl.js @@ -1,4 +1,3 @@ -<<<<<<< HEAD import request from '@/utils/request' // 负荷管理 @@ -38,12 +37,6 @@ export function GetFhzb () { } // 生产线负荷 export function GetScxfh () { -======= -import request from "@/utils/request"; - -// -export function loadBrand(limit) { ->>>>>>> d12dd164c5611f550b3ec7804fac54967e0e4100 return request({ url: `brand?limit=${limit}`, method: "GET", diff --git a/src/api/kdfh.js b/src/api/kdfh.js index 4364f95..c9b279e 100644 --- a/src/api/kdfh.js +++ b/src/api/kdfh.js @@ -3,42 +3,42 @@ import request from '@/utils/request' // 可调负荷资源 export function GetKdfhzy () { return request({ - url: `/GetAdjustableload`, + url: `/api/GetAdjustableload`, method: 'GET' }) } // 可调负荷策略 export function GetKdfhcl () { return request({ - url: `/GetLoadControlStrategy`, + url: `/api/GetLoadControlStrategy`, method: 'GET' }) } // 可调负荷分析 export function GetKdfhfx () { return request({ - url: `//GetAdjustableLoadAnalysis`, + url: `/api/GetAdjustableLoadAnalysis`, method: 'GET' }) } // 刚性可调负荷 export function GetGang () { return request({ - url: `//GetRigidAdjustableLoads`, + url: `/api/GetRigidAdjustableLoads`, method: 'GET' }) } // 柔性可调负荷 export function GetRou () { return request({ - url: `//GetFlexibleAdjustableLoad`, + url: `/api/GetFlexibleAdjustableLoad`, method: 'GET' }) } //可调设备 export function GetKdsb () { return request({ - url: `//GetAdjustableDevice`, + url: `/api/GetAdjustableDevice`, method: 'GET' }) } diff --git a/src/api/nxglnh.js b/src/api/nxglnh.js index f5209fd..59a6fa1 100644 --- a/src/api/nxglnh.js +++ b/src/api/nxglnh.js @@ -21,22 +21,22 @@ export function GetNhrl () { method: 'GET' }) } -// 节能量 -export function GetJnl () { +// 各回路(设备)能耗概况 +export function GetSbnhgk () { return request({ url: `brand?limit=${limit}`, method: 'GET' }) } -// 电费单价 -export function GetDfdj () { +// 系统能耗概况 +export function GetXtnhgk () { return request({ url: `brand?limit=${limit}`, method: 'GET' }) } -// 设备运行情况 -export function GetSbyxqk () { +// 能耗趋势 +export function GetNhqs () { return request({ url: `brand?limit=${limit}`, method: 'GET' diff --git a/src/api/tzcgl.js b/src/api/tzcgl.js index e69de29..0084346 100644 --- a/src/api/tzcgl.js +++ b/src/api/tzcgl.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 企业边界总览 +export function GetDh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳流图 +export function GetTan () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳排放量 +export function GetTpfl () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 各类排放占比 +export function GetGlpfzb () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 实时碳排放 +export function GetSsTpf () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} +// 碳中和 +export function GetTzh () { + return request({ + url: `brand?limit=${limit}`, + method: 'GET' + }) +} \ No newline at end of file diff --git a/src/utils/request.js b/src/utils/request.js index 332ec13..823a2cf 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -2,7 +2,7 @@ import axios from "axios"; import { Message } from "element-ui"; // 请确保你的项目中已经安装了 Element UI const request = axios.create({ - baseURL: "https://localhost:44352/api/", // 设置基地址,博主这个请求跨域了因此我设置了代理服务器,因此基地址才这么短 + // baseURL: "api/", // 设置基地址,博主这个请求跨域了因此我设置了代理服务器,因此基地址才这么短 timeout: 5000, // 请求超时:当5s没有响应就会结束请求 }); diff --git a/src/views/Zhou/KDFH.vue b/src/views/Zhou/KDFH.vue index c516043..10cc541 100644 --- a/src/views/Zhou/KDFH.vue +++ b/src/views/Zhou/KDFH.vue @@ -188,28 +188,12 @@ @@ -1390,7 +1385,7 @@ export default { /deep/ .table{ .el-table__body-wrapper { overflow-y: auto; - height: 218px; + max-height: 218px; } //隐藏滚动条 .el-table__body-wrapper::-webkit-scrollbar { @@ -1721,7 +1716,7 @@ export default { color: #ffffff; .gang_one { - width: 34px; + // width: 34px; height: 34px; display: block; background: #2eedaf; @@ -1731,11 +1726,12 @@ export default { } .gang_count { - width: 55px; + // width: 55px; height: 43px; font-size: 34px; font-family: TRENDS; color: #2eedaf; + margin-right: 20px; line-height: 22px; } } @@ -1752,7 +1748,7 @@ export default { color: #ffffff; .gang_two { - width: 34px; + // width: 34px; height: 34px; display: block; margin-right: 20px; @@ -1762,11 +1758,11 @@ export default { } .gang_count { - width: 55px; + // width: 55px; height: 43px; font-size: 34px; margin-left: 10px; - margin-right: 40px; + margin-right: 20px; font-family: TRENDS; color: #2eedd8; line-height: 22px; @@ -1785,7 +1781,7 @@ export default { color: #ffffff; .gang_three { - width: 34px; + // width: 34px; height: 34px; margin-right: 20px; display: block; @@ -1795,11 +1791,11 @@ export default { } .gang_count { - width: 55px; + // width: 55px; height: 43px; font-size: 34px; margin-left: 10px; - margin-right: 40px; + margin-right: 20px; font-family: TRENDS; color: #9acafd; line-height: 22px; @@ -1851,7 +1847,7 @@ export default { color: #ffffff; .gang_one { - width: 34px; + // width: 34px; height: 34px; display: block; background: #2eedaf; @@ -1882,7 +1878,7 @@ export default { color: #ffffff; .gang_two { - width: 34px; + // width: 34px; height: 34px; display: block; margin-right: 20px; @@ -1892,11 +1888,11 @@ export default { } .gang_count { - width: 55px; + // width: 55px; height: 43px; font-size: 34px; margin-left: 10px; - margin-right: 40px; + margin-right: 20px; font-family: TRENDS; color: #2eedd8; line-height: 22px; @@ -1915,7 +1911,7 @@ export default { color: #ffffff; .gang_three { - width: 34px; + // width: 34px; height: 34px; margin-right: 20px; display: block; @@ -1925,11 +1921,11 @@ export default { } .gang_count { - width: 55px; + // width: 55px; height: 43px; font-size: 34px; margin-left: 10px; - margin-right: 40px; + margin-right: 20px; font-family: TRENDS; color: #9acafd; line-height: 22px; diff --git a/vue.config.js b/vue.config.js index a302d6f..646e6dd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,16 @@ const { defineConfig } = require("@vue/cli-service"); - module.exports = defineConfig({ transpileDependencies: true, lintOnSave: false, - publicPath: './', + // publicPath: './', + devServer: { + proxy: { + "/api": { + target: "http://111.229.30.246:32761/api", + pathRewrite: { "^/api": "" }, + secure: false, + changeOrigin: true, + }, + }, + }, });