Commit c3c493cd authored by co_dengxiongwen's avatar co_dengxiongwen

页面调整

parent a4b05ab3
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
}, },
{ {
align: 'center', align: 'center',
prop: 'status', prop: 'statusName',
label: '设备状态' label: '设备状态'
}, },
{ {
...@@ -99,19 +99,19 @@ ...@@ -99,19 +99,19 @@
}, },
{ {
align: 'center', align: 'center',
prop: 'status', prop: 'statusName',
label: '设备状态' label: '设备状态'
}, },
{ {
align: 'center', align: 'center',
prop: 'electric_energy', prop: 'electric_energy',
label: '今日用电量' label: '用电量'
},
{
align: 'center',
prop: 'F',
label: '本月用电量'
}, },
// {
// align: 'center',
// prop: 'F',
// label: '本月用电量'
// },
{ {
align: 'center', align: 'center',
prop: 'code', prop: 'code',
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
}, },
{ {
align: 'center', align: 'center',
prop: 'status', prop: 'statusName',
label: '设备状态' label: '设备状态'
}, },
{ {
......
...@@ -11,19 +11,19 @@ ...@@ -11,19 +11,19 @@
}, },
{ {
align: 'center', align: 'center',
prop: 'status', prop: 'statusName',
label: '设备状态' label: '设备状态'
}, },
{ {
align: 'center', align: 'center',
prop: 'electric_energy', prop: 'electric_energy',
label: '今日用电量' label: '用电量'
},
{
align: 'center',
prop: 'E',
label: '本月用电量'
}, },
// {
// align: 'center',
// prop: 'E',
// label: '本月用电量'
// },
{ {
align: 'center', align: 'center',
prop: 'code', prop: 'code',
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
}, },
{ {
align: 'center', align: 'center',
prop: 'status', prop: 'statusName',
label: '设备状态' label: '设备状态'
}, },
{ {
......
...@@ -90,7 +90,7 @@ card-warp(title="室内气象数据", height="45px", showBackground) ...@@ -90,7 +90,7 @@ card-warp(title="室内气象数据", height="45px", showBackground)
span ( PPM ) span ( PPM )
el-table-column( el-table-column(
:resizable="false", :resizable="false",
prop="status", prop="statusName",
header-align="center", header-align="center",
align="center", align="center",
label="设备状态" label="设备状态"
......
...@@ -105,7 +105,7 @@ card-warp(title="室外气象数据", height="45px", showBackground) ...@@ -105,7 +105,7 @@ card-warp(title="室外气象数据", height="45px", showBackground)
) )
el-table-column( el-table-column(
:resizable="false", :resizable="false",
prop="status", prop="statusName",
header-align="center", header-align="center",
align="center", align="center",
label="设备状态" label="设备状态"
...@@ -236,8 +236,16 @@ export default { ...@@ -236,8 +236,16 @@ export default {
this.$set(this.dataList[i], 'humidity', this.socketData.humidity) this.$set(this.dataList[i], 'humidity', this.socketData.humidity)
this.$set(this.dataList[i], 'wind_speed', this.socketData.wind_speed) this.$set(this.dataList[i], 'wind_speed', this.socketData.wind_speed)
this.$set(this.dataList[i], 'Illuminance', this.socketData.Illuminance) this.$set(this.dataList[i], 'Illuminance', this.socketData.Illuminance)
this.$set(this.dataList[i], 'carbon_dioxide', this.socketData.carbon_dioxide) this.$set(
this.$set(this.dataList[i], 'fine_particles', this.socketData.fine_particles) this.dataList[i],
'carbon_dioxide',
this.socketData.carbon_dioxide
)
this.$set(
this.dataList[i],
'fine_particles',
this.socketData.fine_particles
)
this.$set(this.dataList[i], 'radiation', this.socketData.radiation) this.$set(this.dataList[i], 'radiation', this.socketData.radiation)
} }
}, },
......
...@@ -17,15 +17,15 @@ export const tableColums = [ ...@@ -17,15 +17,15 @@ export const tableColums = [
label: '当日用电量', label: '当日用电量',
width: 162 width: 162
}, },
// {
// align: 'center',
// prop: 'D',
// label: '当月用电量',
// width: 162
// },
{ {
align: 'center', align: 'center',
prop: 'D', prop: 'statusName',
label: '当月用电量',
width: 162
},
{
align: 'center',
prop: 'status',
label: '设备状态', label: '设备状态',
width: 152 width: 152
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment