微调
This commit is contained in:
@@ -9,18 +9,18 @@
|
|||||||
padding: '0px',
|
padding: '0px',
|
||||||
color: '#f0cb0d',
|
color: '#f0cb0d',
|
||||||
}" @row-click="rowClick" :data="tableDataSon" :highlight-current-row="true">
|
}" @row-click="rowClick" :data="tableDataSon" :highlight-current-row="true">
|
||||||
<el-table-column align="center" type="index" prop="number" label="序号" width="60px"></el-table-column>
|
<el-table-column align="center" type="index" prop="number" label="序号" width="50px"></el-table-column>
|
||||||
<el-table-column align="center" prop="time" min-width="220px" label="发生时刻"
|
<el-table-column align="center" prop="time" min-width="200px" label="发生时刻"
|
||||||
show-overflow-tooltip></el-table-column>
|
show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="160px" prop="subName"
|
<el-table-column show-overflow-tooltip align="center" min-width="150px" prop="subName"
|
||||||
label="变电站"></el-table-column>
|
label="变电站"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="160px" prop="name"
|
<el-table-column show-overflow-tooltip align="center" min-width="150px" prop="name"
|
||||||
label="监测点"></el-table-column>
|
label="监测点"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="reason" :formatter="formFilter"
|
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="reason" :formatter="formFilter"
|
||||||
label="暂降原因"></el-table-column>
|
label="暂降原因"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="type" :formatter="formFilter1"
|
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="type" :formatter="formFilter1"
|
||||||
label="暂降类型"></el-table-column>
|
label="暂降类型"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="120" prop="amplitude" label="暂降幅值(%)">
|
<el-table-column show-overflow-tooltip align="center" min-width="100" prop="amplitude" label="暂降幅值(%)">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ (scope.row.amplitude * 100).toFixed() }}</span>
|
<span>{{ (scope.row.amplitude * 100).toFixed() }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -35,18 +35,18 @@
|
|||||||
}" :row-style="{ height: '28px', color: '#04d9ff' }" :cell-style="{ padding: '0px', color: '#04d9ff' }"
|
}" :row-style="{ height: '28px', color: '#04d9ff' }" :cell-style="{ padding: '0px', color: '#04d9ff' }"
|
||||||
:data="tableData" style="width: 100%; height: 100%" :show-header="false" @row-click="rowClick"
|
:data="tableData" style="width: 100%; height: 100%" :show-header="false" @row-click="rowClick"
|
||||||
:height="vh - 162 + 'px'">
|
:height="vh - 162 + 'px'">
|
||||||
<el-table-column align="center" type="index" prop="number" label="序号" width="60px"></el-table-column>
|
<el-table-column align="center" type="index" prop="number" label="序号" width="50px"></el-table-column>
|
||||||
<el-table-column align="center" prop="time" min-width="220px" label="发生时刻"
|
<el-table-column align="center" prop="time" min-width="200px" label="发生时刻"
|
||||||
show-overflow-tooltip></el-table-column>
|
show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="160px" prop="subName"
|
<el-table-column show-overflow-tooltip align="center" min-width="150px" prop="subName"
|
||||||
label="变电站"></el-table-column>
|
label="变电站"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="160px" prop="name"
|
<el-table-column show-overflow-tooltip align="center" min-width="150px" prop="name"
|
||||||
label="监测点"></el-table-column>
|
label="监测点"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="reason" :formatter="formFilter"
|
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="reason" :formatter="formFilter"
|
||||||
label="暂降原因"></el-table-column>
|
label="暂降原因"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="type" :formatter="formFilter1"
|
<el-table-column show-overflow-tooltip align="center" min-width="80px" prop="type" :formatter="formFilter1"
|
||||||
label="暂降类型"></el-table-column>
|
label="暂降类型"></el-table-column>
|
||||||
<el-table-column show-overflow-tooltip align="center" min-width="120" prop="amplitude" label="暂降幅值(%)">
|
<el-table-column show-overflow-tooltip align="center" min-width="100" prop="amplitude" label="暂降幅值(%)">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ (scope.row.amplitude * 100).toFixed() }}</span>
|
<span>{{ (scope.row.amplitude * 100).toFixed() }}</span>
|
||||||
</template>
|
</template>
|
||||||
@@ -106,6 +106,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
wid: null,
|
wid: null,
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
@@ -272,7 +273,7 @@ export default {
|
|||||||
title = item.name;
|
title = item.name;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return title;
|
return '其他';
|
||||||
},
|
},
|
||||||
formFilter1(row) {
|
formFilter1(row) {
|
||||||
let title = "";
|
let title = "";
|
||||||
@@ -281,7 +282,7 @@ export default {
|
|||||||
title = item.name;
|
title = item.name;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return title;
|
return '其他';
|
||||||
},
|
},
|
||||||
//获取当月第一天日期
|
//获取当月第一天日期
|
||||||
getCurrentMonthFirst() {
|
getCurrentMonthFirst() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<Timeinterval ref="Timeinterval" :interval="3" v-show="false"></Timeinterval>
|
<Timeinterval ref="Timeinterval" :interval="3" v-show="false"></Timeinterval>
|
||||||
<div class="boxTop">
|
<div class="boxTop">
|
||||||
<img class="img" src="../images/d045d87176109fc1dfb3b09a583fea5.png" alt="" srcset="" />
|
<img class="img" src="../images/d045d87176109fc1dfb3b09a583fea5.png" alt="" srcset="" />
|
||||||
<span>谐波畸变率排名</span>
|
<span>谐波电压畸变率排名</span>
|
||||||
<!-- <div class="total">
|
<!-- <div class="total">
|
||||||
总计:<span>{{ total }}</span>
|
总计:<span>{{ total }}</span>
|
||||||
</div> -->
|
</div> -->
|
||||||
@@ -202,7 +202,7 @@ export default {
|
|||||||
],
|
],
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
name: "谐波畸变率",
|
name: "谐波电压畸变率",
|
||||||
type: "bar",
|
type: "bar",
|
||||||
barWidth: "20",
|
barWidth: "20",
|
||||||
label: {
|
label: {
|
||||||
|
|||||||
Reference in New Issue
Block a user