mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
南瑞意见修改:前端页面和后端接口
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
>{{ station.name }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<a-button type="primary" @click="handleMessage" style="margin-left: 20px">查看预制舱参数</a-button>
|
||||
<a-button type="primary" @click="openDispatchModeModal" style="margin-left: 20px">模式设置</a-button>
|
||||
<a-button type="primary" @click="openDispatchParamModal" style="margin-left: 20px">参数设置</a-button>
|
||||
<a-button type="primary" @click="handleMessage" style="margin-left: 20px">运行参数查看</a-button>
|
||||
<a-button type="primary" @click="openDispatchModeModal" style="margin-left: 20px">运行模式设置</a-button>
|
||||
<a-button type="primary" @click="openDispatchParamModal" style="margin-left: 20px">运行参数设置</a-button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="right">
|
||||
@@ -133,11 +133,11 @@ export default {
|
||||
msgModal: false,
|
||||
systems: [
|
||||
{
|
||||
name: '储能系统',
|
||||
name: '储能设备',
|
||||
titles: [
|
||||
{ v: '运行模式', key: 'workmode' },
|
||||
{ v: '储能EMU状态', key: 'emu' },
|
||||
{ v: '充电桩状态', key: 'cdz' }
|
||||
// { v: '运行模式', key: 'workmode' },
|
||||
// { v: '储能EMU状态', key: 'emu' },
|
||||
// { v: '充电桩状态', key: 'cdz' }
|
||||
//{ v: '总有功功率(台区)', key: 'power', sufix: 'kW' }
|
||||
],
|
||||
power: 60,
|
||||
@@ -145,33 +145,33 @@ export default {
|
||||
systemType: 1
|
||||
},
|
||||
{
|
||||
name: '充电系统',
|
||||
name: '充电设备',
|
||||
power: 60,
|
||||
num: 62,
|
||||
systemType: 2,
|
||||
titles: [
|
||||
//{ v: '总功率', key: 'power', sufix: 'kW' },
|
||||
{ v: '数量', key: 'num' }
|
||||
// { v: '数量', key: 'num' }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: '光伏系统',
|
||||
name: '光伏设备',
|
||||
power: 60,
|
||||
num: 62,
|
||||
systemType: 3,
|
||||
titles: [
|
||||
//{ v: '总功率', key: 'power', sufix: 'kW' },
|
||||
{ v: '数量', key: 'num' }
|
||||
// { v: '数量', key: 'num' }
|
||||
]
|
||||
},
|
||||
{
|
||||
name: '安防系统',
|
||||
name: '辅助设备',
|
||||
power: 60,
|
||||
num: 62,
|
||||
systemType: 4,
|
||||
titles: [
|
||||
// { v: '总功率', key: 'power', sufix: 'kW' },
|
||||
{ v: '数量', key: 'num' }
|
||||
// { v: '数量', key: 'num' }
|
||||
]
|
||||
}
|
||||
// {
|
||||
@@ -203,7 +203,7 @@ export default {
|
||||
},
|
||||
{
|
||||
value: 5,
|
||||
label: '自定时段'
|
||||
label: '运营支撑'
|
||||
}
|
||||
],
|
||||
deviceGroup: [],
|
||||
@@ -224,7 +224,7 @@ export default {
|
||||
{ value: '2', label: '配网增容' },
|
||||
{ value: '3', label: '应急供电' },
|
||||
{ value: '4', label: '并网保电' },
|
||||
{ value: '5', label: '自定时段' }
|
||||
{ value: '5', label: '运营支撑' }
|
||||
],
|
||||
options: { label: 'label', value: 'value' }
|
||||
}
|
||||
@@ -509,7 +509,6 @@ export default {
|
||||
|
||||
chooseStation(system) {
|
||||
console.log(system, 'system')
|
||||
|
||||
this.systemType = system.systemType
|
||||
}
|
||||
}
|
||||
@@ -551,40 +550,43 @@ export default {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.stations {
|
||||
display: grid;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
//grid-template-rows: repeat(auto-fit, minmax(140px, 4fr));
|
||||
border-radius: 12px;
|
||||
background: $bg2-color;
|
||||
padding-top: 15px;
|
||||
grid-template-rows: repeat(auto-fit, minmax(140px, 4fr));
|
||||
.station-item {
|
||||
flex: 1;
|
||||
// flex: 1;
|
||||
margin: 0 15px 15px 15px;
|
||||
border-radius: 12px;
|
||||
border-radius: 10px;
|
||||
width: 180px;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #fff;
|
||||
padding: 10px 10px;
|
||||
// color: #fff;
|
||||
// padding: 10px 10px;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
background: $table-bg;
|
||||
}
|
||||
|
||||
.name {
|
||||
padding-left: 20px;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
line-height: 50px;
|
||||
}
|
||||
.des {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 30px;
|
||||
display: inline-block;
|
||||
max-width: 160px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
// .des {
|
||||
// font-size: 14px;
|
||||
// font-weight: 600;
|
||||
// line-height: 30px;
|
||||
// display: inline-block;
|
||||
// max-width: 160px;
|
||||
// white-space: nowrap;
|
||||
// overflow: hidden;
|
||||
// text-overflow: ellipsis;
|
||||
// }
|
||||
}
|
||||
.active {
|
||||
background: $bg3-color;
|
||||
|
||||
Reference in New Issue
Block a user