mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
修改1.预测页面放电曲线不显示。2.修改查看日志信息表格显示字段。3.修改地图场站异常状态判断条件
This commit is contained in:
@@ -202,11 +202,11 @@ export const columnList = [
|
|||||||
ellipsis: true
|
ellipsis: true
|
||||||
// filterable: true
|
// filterable: true
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '储能容量',
|
// title: '储能容量',
|
||||||
dataIndex: 'capacity',
|
// dataIndex: 'capacity',
|
||||||
key: 'capacity'
|
// key: 'capacity'
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: '场站状态',
|
title: '场站状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
@@ -316,17 +316,27 @@ export const columnList = [
|
|||||||
width: 120,
|
width: 120,
|
||||||
scopedSlots: { customRender: 'type' }
|
scopedSlots: { customRender: 'type' }
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '操作用户',
|
// title: '操作用户',
|
||||||
dataIndex: 'user_id',
|
// dataIndex: 'user_id',
|
||||||
key: 'user_id',
|
// key: 'user_id',
|
||||||
width: 120
|
// width: 120
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
title: '设备ID',
|
title: '设备ID',
|
||||||
dataIndex: 'device_id',
|
dataIndex: 'device_id',
|
||||||
key: 'device_id'
|
key: 'device_id'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '设备名称D',
|
||||||
|
dataIndex: 'device_name',
|
||||||
|
key: 'device_name'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '所属场站',
|
||||||
|
dataIndex: 'station_name',
|
||||||
|
key: 'station_name'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '日志内容',
|
title: '日志内容',
|
||||||
dataIndex: 'content',
|
dataIndex: 'content',
|
||||||
@@ -834,6 +844,13 @@ export const alarmlogOptions = [
|
|||||||
type: 'input',
|
type: 'input',
|
||||||
disabled: true
|
disabled: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '所属场站',
|
||||||
|
value: '',
|
||||||
|
key: 'station_name',
|
||||||
|
type: 'input',
|
||||||
|
disabled: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '日志内容',
|
label: '日志内容',
|
||||||
value: '',
|
value: '',
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ export default {
|
|||||||
this.markers = res.data.map((item) => {
|
this.markers = res.data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
iconMap: (item.status === 1)
|
iconMap: (item.err === "1")
|
||||||
? require('../../assets/home/homeIcon.png')
|
? require('../../assets/home/homeIcon.png')
|
||||||
: require('../../assets/home/homeIcon1.png')
|
: require('../../assets/home/homeIcon1.png')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'W_store_ou',
|
key: 'W_store_out',
|
||||||
label: '放电电量',
|
label: '放电电量',
|
||||||
seriesOptions:{
|
seriesOptions:{
|
||||||
symbol: 'circle',
|
symbol: 'circle',
|
||||||
|
|||||||
@@ -432,6 +432,13 @@ export default {
|
|||||||
tableList: {
|
tableList: {
|
||||||
1: {
|
1: {
|
||||||
columns: [
|
columns: [
|
||||||
|
{
|
||||||
|
title: '日期',
|
||||||
|
dataIndex: 'dt',
|
||||||
|
key: 'dt',
|
||||||
|
width: 120,
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '充电电量',
|
title: '充电电量',
|
||||||
dataIndex: 'storage_elect_in',
|
dataIndex: 'storage_elect_in',
|
||||||
@@ -488,13 +495,6 @@ export default {
|
|||||||
key: 'storage_num_err',
|
key: 'storage_num_err',
|
||||||
width: 120,
|
width: 120,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '日期',
|
|
||||||
dataIndex: 'dt',
|
|
||||||
key: 'dt',
|
|
||||||
width: 120,
|
|
||||||
ellipsis: true
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
geturl: '',
|
geturl: '',
|
||||||
@@ -507,6 +507,13 @@ export default {
|
|||||||
},
|
},
|
||||||
2: {
|
2: {
|
||||||
columns: [
|
columns: [
|
||||||
|
{
|
||||||
|
title: '日期',
|
||||||
|
dataIndex: 'dt',
|
||||||
|
key: 'dt',
|
||||||
|
width: 120,
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '充电电量',
|
title: '充电电量',
|
||||||
dataIndex: 'charge_elect',
|
dataIndex: 'charge_elect',
|
||||||
@@ -541,14 +548,6 @@ export default {
|
|||||||
key: 'charge_num_err',
|
key: 'charge_num_err',
|
||||||
width: 120,
|
width: 120,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
title: '日期',
|
|
||||||
dataIndex: 'dt',
|
|
||||||
key: 'dt',
|
|
||||||
width: 120,
|
|
||||||
ellipsis: true
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
geturl: '',
|
geturl: '',
|
||||||
@@ -561,6 +560,13 @@ export default {
|
|||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
columns: [
|
columns: [
|
||||||
|
{
|
||||||
|
title: '日期',
|
||||||
|
dataIndex: 'dt',
|
||||||
|
key: 'dt',
|
||||||
|
width: 120,
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '发电电量',
|
title: '发电电量',
|
||||||
dataIndex: 'solar_elect_gen',
|
dataIndex: 'solar_elect_gen',
|
||||||
@@ -595,14 +601,6 @@ export default {
|
|||||||
key: 'solar_num_err',
|
key: 'solar_num_err',
|
||||||
width: 120,
|
width: 120,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
title: '日期',
|
|
||||||
dataIndex: 'dt',
|
|
||||||
key: 'dt',
|
|
||||||
width: 120,
|
|
||||||
ellipsis: true
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -642,7 +640,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
console.log('mounted')
|
console.log('mounted')
|
||||||
// 优先加载第一个页面(activeKey=1)所需的数据
|
// 优先加载第一个页面(activeKey=1)所需的数据
|
||||||
this.btnOptionList = this.$getBtns(['导出'])
|
// this.btnOptionList = this.$getBtns(['导出'])
|
||||||
Promise.all([
|
Promise.all([
|
||||||
this.getStationList()
|
this.getStationList()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user