zyh
This commit is contained in:
parent
62a18469e4
commit
2743ad133b
|
|
@ -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",
|
||||
});
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
// 企业边界总览
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
})
|
||||
}
|
||||
|
|
@ -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没有响应就会结束请求
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -188,28 +188,12 @@
|
|||
<script>
|
||||
import "../../utils/echarts-liquidfill.min.js";
|
||||
import * as echarts from "echarts";
|
||||
import { GetKdfhzy, GetKdfhcl } from "@/api/kdfh";
|
||||
import { GetKdfhzy, GetKdfhcl,GetKdfhfx,GetGang,GetRou,GetKdsb} from "@/api/kdfh";
|
||||
export default {
|
||||
name: "FHGL",
|
||||
data() {
|
||||
return {
|
||||
plan: [
|
||||
{
|
||||
LevelRegulation: "一级",
|
||||
Target: "102.00",
|
||||
ExecutionTime: "5分钟",
|
||||
},
|
||||
{
|
||||
LevelRegulation: "一级",
|
||||
Target: "29.00",
|
||||
ExecutionTime: "30分钟",
|
||||
},
|
||||
{
|
||||
LevelRegulation: "一级",
|
||||
Target: "45.00",
|
||||
ExecutionTime: "1小时",
|
||||
},
|
||||
],
|
||||
plan: [],
|
||||
devices: [
|
||||
{
|
||||
DeviceName: "回转窑",
|
||||
|
|
@ -300,7 +284,7 @@ export default {
|
|||
label: {
|
||||
normal: {
|
||||
formatter: function (params) {
|
||||
console.log(params);
|
||||
// console.log(params);
|
||||
return params.value * 100 + "{d|%}";
|
||||
},
|
||||
rich: {
|
||||
|
|
@ -1162,7 +1146,15 @@ export default {
|
|||
},
|
||||
async getkdfhzy() {
|
||||
let res = await GetKdfhzy();
|
||||
console.log(res);
|
||||
console.log(res.data[0]);
|
||||
let datas = res.data[0];
|
||||
this.xfdata = (datas.PeakClipping / datas.Amount).toFixed(2) *100;
|
||||
this.tgdata = (datas.ValleyFilling / datas.Amount).toFixed(2) *100;
|
||||
this.xflist = [datas.SecondPeakClipping,datas.MinutePeakClipping,datas.HourlyPeakClipping,datas.DayPeakClipping];
|
||||
this.tglist=[datas.SecondValleyFilling,datas.MinuteValleyFilling,datas.HourlyValleyFilling,datas.DayValleyFilling];
|
||||
this.xf();
|
||||
this.tg();
|
||||
this.kdfhzy();
|
||||
},
|
||||
async getkdfhcl() {
|
||||
let res = await GetKdfhcl();
|
||||
|
|
@ -1190,7 +1182,7 @@ export default {
|
|||
},
|
||||
async getkdsb() {
|
||||
let res = await GetKdsb();
|
||||
console.log(res);
|
||||
console.log("可调设备",res.data);
|
||||
this.devices = res.data;
|
||||
},
|
||||
},
|
||||
|
|
@ -1205,6 +1197,12 @@ export default {
|
|||
// console.log("JSON received" + json);
|
||||
// })
|
||||
// }
|
||||
this.getkdfhzy();
|
||||
this.getkdfhcl();
|
||||
this.getkdfhfx();
|
||||
this.getkdsb();
|
||||
this.getgang();
|
||||
this.getrou();
|
||||
},
|
||||
mounted() {
|
||||
var chartDom = document.getElementById("gang");
|
||||
|
|
@ -1213,10 +1211,7 @@ export default {
|
|||
var chartDom2 = document.getElementById("ruan");
|
||||
var myChart2 = echarts.init(chartDom2);
|
||||
this.option2 && myChart2.setOption(this.option2);
|
||||
this.xf();
|
||||
this.tg();
|
||||
this.kdfhzy();
|
||||
// this.getkdfhzy();
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue