|
@@ -6,37 +6,18 @@
|
|
<div>
|
|
<div>
|
|
<div class="filter-item">
|
|
<div class="filter-item">
|
|
选择站点:
|
|
选择站点:
|
|
- <el-select
|
|
|
|
- v-model="store.state.siteId"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- style="width: 220px"
|
|
|
|
- clearable
|
|
|
|
- filterable
|
|
|
|
- @change="linkDevice()"
|
|
|
|
- :disabled="store.state.authorities.indexOf('查询')==-1"
|
|
|
|
- >
|
|
|
|
- <el-option
|
|
|
|
- v-for="site in store.state.siteList"
|
|
|
|
- :key="site"
|
|
|
|
- :label="site.siteName"
|
|
|
|
- :value="site.id"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-select v-model="store.state.siteId" placeholder="请选择" style="width: 220px" clearable filterable
|
|
|
|
+ @change="linkDevice()" :disabled="store.state.authorities.indexOf('查询') == -1">
|
|
|
|
+ <el-option v-for="site in store.state.siteList" :key="site" :label="site.siteName"
|
|
|
|
+ :value="site.id"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
<div class="filter-item" style="margin-right: 20px">
|
|
<div class="filter-item" style="margin-right: 20px">
|
|
选择设备:
|
|
选择设备:
|
|
- <el-select
|
|
|
|
- v-model="deviceCode"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- style="width: 150px"
|
|
|
|
- :disabled="store.state.authorities.indexOf('查询')==-1"
|
|
|
|
- >
|
|
|
|
- <el-option
|
|
|
|
- v-for="device in deviceList"
|
|
|
|
- :key="device"
|
|
|
|
- :label="device.deviceName"
|
|
|
|
- :value="device.deviceCode"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-select v-model="deviceCode" placeholder="请选择" style="width: 150px"
|
|
|
|
+ :disabled="store.state.authorities.indexOf('查询') == -1">
|
|
|
|
+ <el-option v-for="device in deviceList" :key="device" :label="device.deviceName"
|
|
|
|
+ :value="device.deviceCode"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -49,22 +30,12 @@
|
|
style="width: 200px"
|
|
style="width: 200px"
|
|
></el-date-picker> -->
|
|
></el-date-picker> -->
|
|
|
|
|
|
- <el-date-picker
|
|
|
|
- v-model="dateTime"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- style="width: 150px; margin-left: 20px"
|
|
|
|
- :clearable="false"
|
|
|
|
- :editable="false"
|
|
|
|
- :disabled="store.state.authorities.indexOf('查询')==-1"
|
|
|
|
- ></el-date-picker>
|
|
|
|
|
|
+ <el-date-picker v-model="dateTime" placeholder="请选择" style="width: 150px; margin-left: 20px"
|
|
|
|
+ :clearable="false" :editable="false" :disabled="store.state.authorities.indexOf('查询') == -1"></el-date-picker>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- class="search-button"
|
|
|
|
- @click="SingleLoopReportData()"
|
|
|
|
- :disabled="store.state.authorities.indexOf('查询')==-1"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button type="primary" class="search-button" @click="SingleLoopReportData()"
|
|
|
|
+ :disabled="store.state.authorities.indexOf('查询') == -1">
|
|
搜索
|
|
搜索
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -76,7 +47,7 @@
|
|
</div>
|
|
</div>
|
|
<!-- 筛选end -->
|
|
<!-- 筛选end -->
|
|
|
|
|
|
- <el-row :gutter="20" >
|
|
|
|
|
|
+ <el-row :gutter="20">
|
|
<el-col :md="24" :lg="14">
|
|
<el-col :md="24" :lg="14">
|
|
<div class="grid-content bg-purple">
|
|
<div class="grid-content bg-purple">
|
|
<div class="blanceChartTit">
|
|
<div class="blanceChartTit">
|
|
@@ -87,12 +58,9 @@
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <el-row :gutter="20" style="padding: 20px" >
|
|
|
|
- <el-col :md="24" :lg="8" v-loading="loading" >
|
|
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-row :gutter="20" style="padding: 20px">
|
|
|
|
+ <el-col :md="24" :lg="8" v-loading="loading">
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">A相电压</div>
|
|
<div class="subTits">A相电压</div>
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -106,27 +74,22 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
- {{ getData.qrUa==null ? '-' :getData.qrUa }}%
|
|
|
|
|
|
+ {{ getData.qrUa == null ? '-' : getData.qrUa }}%
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">合格率</div>
|
|
<div class="assTxt">合格率</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.uaStatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.uaStatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.uaStatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.uaStatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.uaStatus == true
|
|
getData.uaStatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.uaStatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.uaStatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -137,8 +100,8 @@
|
|
<span :class="getData.maxUaStatus ? '' : 'overLimit'">
|
|
<span :class="getData.maxUaStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.maxUaStatus == true
|
|
getData.maxUaStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.maxUaStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.maxUaStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -149,8 +112,8 @@
|
|
<span :class="getData.minUaStatus ? '' : 'overLimit'">
|
|
<span :class="getData.minUaStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.minUaStatus == true
|
|
getData.minUaStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.minUaStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.minUaStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -161,8 +124,8 @@
|
|
<span :class="getData.avgUaStatus ? '' : 'overLimit'">
|
|
<span :class="getData.avgUaStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.avgUaStatus == true
|
|
getData.avgUaStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.avgUaStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.avgUaStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -172,10 +135,7 @@
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :md="24" :lg="8" v-loading="loading">
|
|
<el-col :md="24" :lg="8" v-loading="loading">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">B相电压</div>
|
|
<div class="subTits">B相电压</div>
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -189,28 +149,23 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
- {{ getData.qrUb==null ? '-' :getData.qrUb }}%
|
|
|
|
-
|
|
|
|
|
|
+ {{ getData.qrUb == null ? '-' : getData.qrUb }}%
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">合格率</div>
|
|
<div class="assTxt">合格率</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.ubStatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.ubStatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.ubStatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.ubStatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.ubStatus == true
|
|
getData.ubStatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.ubStatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.ubStatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -221,8 +176,8 @@
|
|
<span :class="getData.maxUbStatus ? '' : 'overLimit'">
|
|
<span :class="getData.maxUbStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.maxUbStatus == true
|
|
getData.maxUbStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.maxUbStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.maxUbStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -233,8 +188,8 @@
|
|
<span :class="getData.minUbStatus ? '' : 'overLimit'">
|
|
<span :class="getData.minUbStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.minUbStatus == true
|
|
getData.minUbStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.minUbStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.minUbStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -245,8 +200,8 @@
|
|
<span :class="getData.avgUbStatus ? '' : 'overLimit'">
|
|
<span :class="getData.avgUbStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.avgUbStatus == true
|
|
getData.avgUbStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.avgUbStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.avgUbStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -256,10 +211,7 @@
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :md="24" :lg="8" v-loading="loading">
|
|
<el-col :md="24" :lg="8" v-loading="loading">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">C相电压</div>
|
|
<div class="subTits">C相电压</div>
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -273,28 +225,23 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
- {{ getData.qrUc==null ? '-' :getData.qrUc }}%
|
|
|
|
-
|
|
|
|
|
|
+ {{ getData.qrUc == null ? '-' : getData.qrUc }}%
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">合格率</div>
|
|
<div class="assTxt">合格率</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.ucStatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.ucStatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.ucStatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.ucStatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.ucStatus == true
|
|
getData.ucStatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.ucStatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.ucStatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -305,8 +252,8 @@
|
|
<span :class="getData.maxUcStatus ? '' : 'overLimit'">
|
|
<span :class="getData.maxUcStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.maxUcStatus == true
|
|
getData.maxUcStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.maxUcStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.maxUcStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -317,8 +264,8 @@
|
|
<span :class="getData.minUcStatus ? '' : 'overLimit'">
|
|
<span :class="getData.minUcStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.minUcStatus == true
|
|
getData.minUcStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.minUcStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.minUcStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -329,8 +276,8 @@
|
|
<span :class="getData.avgUcStatus ? '' : 'overLimit'">
|
|
<span :class="getData.avgUcStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.avgUcStatus == true
|
|
getData.avgUcStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.avgUcStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.avgUcStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -352,10 +299,7 @@
|
|
</div>
|
|
</div>
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">频率</div>
|
|
<div class="subTits">频率</div>
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -370,27 +314,22 @@
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
<!-- {{ getData.qrF ? getData.qrF : '-' }}% -->
|
|
<!-- {{ getData.qrF ? getData.qrF : '-' }}% -->
|
|
- {{ getData.qrF==null ? '-' :getData.qrF }}%
|
|
|
|
|
|
+ {{ getData.qrF == null ? '-' : getData.qrF }}%
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">合格率</div>
|
|
<div class="assTxt">合格率</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.fstatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.fstatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.fstatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.fstatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.fstatus == true
|
|
getData.fstatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.fstatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.fstatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -401,8 +340,8 @@
|
|
<span :class="getData.maxFStatus ? '' : 'overLimit'">
|
|
<span :class="getData.maxFStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.maxFStatus == true
|
|
getData.maxFStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.maxFStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.maxFStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -413,8 +352,8 @@
|
|
<span :class="getData.minFStatus ? '' : 'overLimit'">
|
|
<span :class="getData.minFStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.minFStatus == true
|
|
getData.minFStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.minFStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.minFStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -425,8 +364,8 @@
|
|
<span :class="getData.avgFStatus ? '' : 'overLimit'">
|
|
<span :class="getData.avgFStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.avgFStatus == true
|
|
getData.avgFStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.avgFStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.avgFStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -443,16 +382,13 @@
|
|
<div class="blanceChartTit">功率因数分析</div>
|
|
<div class="blanceChartTit">功率因数分析</div>
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">功率因数</div>
|
|
<div class="subTits">功率因数</div>
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="24" style="margin-bottom: 20px">
|
|
<el-col :span="24" style="margin-bottom: 20px">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum">
|
|
<div class="assNum">
|
|
- {{ getData.appraise!=null ? getData.appraise : '-' }}
|
|
|
|
|
|
+ {{ getData.appraise != null ? getData.appraise : '-' }}
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">考核限值</div>
|
|
<div class="assTxt">考核限值</div>
|
|
</div>
|
|
</div>
|
|
@@ -460,27 +396,22 @@
|
|
<el-col :span="24" style="margin-bottom: 20px">
|
|
<el-col :span="24" style="margin-bottom: 20px">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
- {{ getData.cos!=null ? getData.cos : '-' }}
|
|
|
|
|
|
+ {{ getData.cos != null ? getData.cos : '-' }}
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">数值</div>
|
|
<div class="assTxt">数值</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.cosStatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.cosStatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.cosStatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.cosStatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.cosStatus == true
|
|
getData.cosStatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.cosStatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.cosStatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -502,29 +433,15 @@
|
|
|
|
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-col :md="24" :lg="8">
|
|
<el-col :md="24" :lg="8">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">A相电流谐波畸变率</div>
|
|
<div class="subTits">A相电流谐波畸变率</div>
|
|
- <img
|
|
|
|
- class="noDataImg"
|
|
|
|
- src="@/assets/images/noDataImg.png"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
|
|
+ <img class="noDataImg" src="@/assets/images/noDataImg.png" alt="" />
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :md="24" :lg="8">
|
|
<el-col :md="24" :lg="8">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">B相电流谐波畸变率</div>
|
|
<div class="subTits">B相电流谐波畸变率</div>
|
|
- <img
|
|
|
|
- class="noDataImg"
|
|
|
|
- src="@/assets/images/noDataImg.png"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
|
|
+ <img class="noDataImg" src="@/assets/images/noDataImg.png" alt="" />
|
|
<!-- <el-row :gutter="20" style="padding: 0 20px">
|
|
<!-- <el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
@@ -559,16 +476,9 @@
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :md="24" :lg="8">
|
|
<el-col :md="24" :lg="8">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">C相电流谐波畸变率</div>
|
|
<div class="subTits">C相电流谐波畸变率</div>
|
|
- <img
|
|
|
|
- class="noDataImg"
|
|
|
|
- src="@/assets/images/noDataImg.png"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
|
|
+ <img class="noDataImg" src="@/assets/images/noDataImg.png" alt="" />
|
|
<!-- <el-row :gutter="20" style="padding: 0 20px">
|
|
<!-- <el-row :gutter="20" style="padding: 0 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
@@ -613,19 +523,16 @@
|
|
</div>
|
|
</div>
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-row :gutter="20" style="padding: 20px">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">电流不平衡度</div>
|
|
<div class="subTits">电流不平衡度</div>
|
|
<el-row :gutter="20" style="padding: 0 20px" v-loading="loading">
|
|
<el-row :gutter="20" style="padding: 0 20px" v-loading="loading">
|
|
- <el-col :span="12" >
|
|
|
|
|
|
+ <el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum">
|
|
<div class="assNum">
|
|
{{
|
|
{{
|
|
getData.proportionElBalun
|
|
getData.proportionElBalun
|
|
- ? getData.proportionElBalun
|
|
|
|
- : '-'
|
|
|
|
|
|
+ ? getData.proportionElBalun
|
|
|
|
+ : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">超限数/测点数</div>
|
|
<div class="assTxt">超限数/测点数</div>
|
|
@@ -634,27 +541,22 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
- {{ getData.qrElBalun==null ? '-' :getData.qrElBalun }}%
|
|
|
|
|
|
+ {{ getData.qrElBalun == null ? '-' : getData.qrElBalun }}%
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">合格率</div>
|
|
<div class="assTxt">合格率</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.elBalunStatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.elBalunStatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.elBalunStatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.elBalunStatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.elBalunStatus == true
|
|
getData.elBalunStatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.elBalunStatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.elBalunStatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -663,14 +565,14 @@
|
|
<li>
|
|
<li>
|
|
<div>
|
|
<div>
|
|
最大值:{{
|
|
最大值:{{
|
|
- getData.maxElBalun!=null? getData.maxElBalun : '-'
|
|
|
|
|
|
+ getData.maxElBalun != null ? getData.maxElBalun : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<span :class="getData.maxElBalunStatus ? '' : 'overLimit'">
|
|
<span :class="getData.maxElBalunStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.maxElBalunStatus == true
|
|
getData.maxElBalunStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.maxElBalunStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.maxElBalunStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -679,14 +581,14 @@
|
|
<li>
|
|
<li>
|
|
<div>
|
|
<div>
|
|
最小值:{{
|
|
最小值:{{
|
|
- getData.minElBalun!=null ? getData.minElBalun : '-'
|
|
|
|
|
|
+ getData.minElBalun != null ? getData.minElBalun : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<span :class="getData.minElBalunStatus ? '' : 'overLimit'">
|
|
<span :class="getData.minElBalunStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.minElBalunStatus == true
|
|
getData.minElBalunStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.minElBalunStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.minElBalunStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -695,14 +597,14 @@
|
|
<li>
|
|
<li>
|
|
<div>
|
|
<div>
|
|
平均值:{{
|
|
平均值:{{
|
|
- getData.avgElBalun!=null ? getData.avgElBalun : '-'
|
|
|
|
|
|
+ getData.avgElBalun != null ? getData.avgElBalun : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<span :class="getData.avgElBalunStatus ? '' : 'overLimit'">
|
|
<span :class="getData.avgElBalunStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.avgElBalunStatus == true
|
|
getData.avgElBalunStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.avgElBalunStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.avgElBalunStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -713,10 +615,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <div
|
|
|
|
- class="grid-content bg-purple assCard"
|
|
|
|
- style="text-align: center"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="grid-content bg-purple assCard" style="text-align: center">
|
|
<div class="subTits">电压不平衡度</div>
|
|
<div class="subTits">电压不平衡度</div>
|
|
<el-row :gutter="20" style="padding: 0 20px" v-loading="loading">
|
|
<el-row :gutter="20" style="padding: 0 20px" v-loading="loading">
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -724,8 +623,8 @@
|
|
<div class="assNum">
|
|
<div class="assNum">
|
|
{{
|
|
{{
|
|
getData.proportionVtBalun
|
|
getData.proportionVtBalun
|
|
- ? getData.proportionVtBalun
|
|
|
|
- : '-'
|
|
|
|
|
|
+ ? getData.proportionVtBalun
|
|
|
|
+ : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">超限数/测点数</div>
|
|
<div class="assTxt">超限数/测点数</div>
|
|
@@ -734,27 +633,22 @@
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="grid-content bg-purple assSmallbox">
|
|
<div class="assNum greenRate">
|
|
<div class="assNum greenRate">
|
|
- {{ getData.qrVtBalun==null ? '-' :getData.qrVtBalun }}%
|
|
|
|
|
|
+ {{ getData.qrVtBalun == null ? '-' : getData.qrVtBalun }}%
|
|
</div>
|
|
</div>
|
|
<div class="assTxt">合格率</div>
|
|
<div class="assTxt">合格率</div>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <el-button
|
|
|
|
- class="banlanceBtn"
|
|
|
|
- round
|
|
|
|
- :type="
|
|
|
|
- getData.vtBalunStatus == true
|
|
|
|
- ? 'primary'
|
|
|
|
- : getData.vtBalunStatus == false
|
|
|
|
|
|
+ <el-button class="banlanceBtn" round :type="getData.vtBalunStatus == true
|
|
|
|
+ ? 'primary'
|
|
|
|
+ : getData.vtBalunStatus == false
|
|
? 'danger'
|
|
? 'danger'
|
|
: 'warning'
|
|
: 'warning'
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ ">
|
|
{{
|
|
{{
|
|
getData.vtBalunStatus == true
|
|
getData.vtBalunStatus == true
|
|
- ? '合格'
|
|
|
|
- : getData.vtBalunStatus == false
|
|
|
|
|
|
+ ? '合格'
|
|
|
|
+ : getData.vtBalunStatus == false
|
|
? '不合格'
|
|
? '不合格'
|
|
: '暂无结论'
|
|
: '暂无结论'
|
|
}}
|
|
}}
|
|
@@ -764,14 +658,14 @@
|
|
<li>
|
|
<li>
|
|
<div>
|
|
<div>
|
|
最大值:{{
|
|
最大值:{{
|
|
- getData.maxVtBalun!=null ? getData.maxVtBalun : '-'
|
|
|
|
|
|
+ getData.maxVtBalun != null ? getData.maxVtBalun : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<span :class="getData.maxVtBalunStatus ? '' : 'overLimit'">
|
|
<span :class="getData.maxVtBalunStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.maxVtBalunStatus == true
|
|
getData.maxVtBalunStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.maxVtBalunStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.maxVtBalunStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -780,14 +674,14 @@
|
|
<li>
|
|
<li>
|
|
<div>
|
|
<div>
|
|
最小值:{{
|
|
最小值:{{
|
|
- getData.minVtBalun!=null ? getData.minVtBalun : '-'
|
|
|
|
|
|
+ getData.minVtBalun != null ? getData.minVtBalun : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<span :class="getData.minVtBalunStatus ? '' : 'overLimit'">
|
|
<span :class="getData.minVtBalunStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.minVtBalunStatus == true
|
|
getData.minVtBalunStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.minVtBalunStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.minVtBalunStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -796,14 +690,14 @@
|
|
<li>
|
|
<li>
|
|
<div>
|
|
<div>
|
|
平均值:{{
|
|
平均值:{{
|
|
- getData.avgVtBalun!=null ? getData.avgVtBalun : '-'
|
|
|
|
|
|
+ getData.avgVtBalun != null ? getData.avgVtBalun : '-'
|
|
}}
|
|
}}
|
|
</div>
|
|
</div>
|
|
<span :class="getData.avgVtBalunStatus ? '' : 'overLimit'">
|
|
<span :class="getData.avgVtBalunStatus ? '' : 'overLimit'">
|
|
{{
|
|
{{
|
|
getData.avgVtBalunStatus == true
|
|
getData.avgVtBalunStatus == true
|
|
- ? '未超限'
|
|
|
|
- : getData.avgVtBalunStatus == false
|
|
|
|
|
|
+ ? '未超限'
|
|
|
|
+ : getData.avgVtBalunStatus == false
|
|
? '超限'
|
|
? '超限'
|
|
: '-'
|
|
: '-'
|
|
}}
|
|
}}
|
|
@@ -818,11 +712,7 @@
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<!--指标说明弹框组件开始-----------------------start-->
|
|
<!--指标说明弹框组件开始-----------------------start-->
|
|
- <descrip-dialog
|
|
|
|
- @closeDialog="closeDialog"
|
|
|
|
- :flag="showDialog2"
|
|
|
|
- class="descripDialog"
|
|
|
|
- ></descrip-dialog>
|
|
|
|
|
|
+ <descrip-dialog @closeDialog="closeDialog" :flag="showDialog2" class="descripDialog"></descrip-dialog>
|
|
<!--指标说明弹框组件结束-----------------------end-->
|
|
<!--指标说明弹框组件结束-----------------------end-->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -843,7 +733,7 @@ export default defineComponent({
|
|
},
|
|
},
|
|
setup(props) {
|
|
setup(props) {
|
|
const store = useStore()
|
|
const store = useStore()
|
|
- const loading=ref(false)
|
|
|
|
|
|
+ const loading = ref(false)
|
|
const getData = ref({})
|
|
const getData = ref({})
|
|
const showDialog2 = ref(false)
|
|
const showDialog2 = ref(false)
|
|
|
|
|
|
@@ -870,7 +760,7 @@ export default defineComponent({
|
|
|
|
|
|
//单回路主页面请求
|
|
//单回路主页面请求
|
|
function SingleLoopReportData() {
|
|
function SingleLoopReportData() {
|
|
- loading.value=true
|
|
|
|
|
|
+ loading.value = true
|
|
store.commit('getNowFormatDate', dateTime.value)
|
|
store.commit('getNowFormatDate', dateTime.value)
|
|
// time:store.state.dateList,
|
|
// time:store.state.dateList,
|
|
// time:'2021-11-01'
|
|
// time:'2021-11-01'
|
|
@@ -881,14 +771,14 @@ export default defineComponent({
|
|
type: 1,
|
|
type: 1,
|
|
})
|
|
})
|
|
.then((requset) => {
|
|
.then((requset) => {
|
|
- loading.value=false
|
|
|
|
|
|
+ loading.value = false
|
|
if (requset.status === 'SUCCESS') {
|
|
if (requset.status === 'SUCCESS') {
|
|
// console.log('requset.data.uaStatus')
|
|
// console.log('requset.data.uaStatus')
|
|
// console.log(requset.data.uaStatus)
|
|
// console.log(requset.data.uaStatus)
|
|
-
|
|
|
|
- if(requset.data==null){
|
|
|
|
- ElMessage.warning('暂无数据')
|
|
|
|
- }else{
|
|
|
|
|
|
+
|
|
|
|
+ if (requset.data == null) {
|
|
|
|
+ ElMessage.warning('暂无数据')
|
|
|
|
+ } else {
|
|
getData.value = requset.data
|
|
getData.value = requset.data
|
|
|
|
|
|
}
|
|
}
|
|
@@ -947,30 +837,44 @@ export default defineComponent({
|
|
.el-button {
|
|
.el-button {
|
|
cursor: default !important;
|
|
cursor: default !important;
|
|
}
|
|
}
|
|
|
|
+
|
|
.el-row {
|
|
.el-row {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
|
|
+
|
|
&:last-child {
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.el-col {
|
|
.el-col {
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.bg-purple-dark {
|
|
.bg-purple-dark {
|
|
border: 1px solid #99a9bf;
|
|
border: 1px solid #99a9bf;
|
|
}
|
|
}
|
|
|
|
+
|
|
.bg-purple {
|
|
.bg-purple {
|
|
border: 1px solid #d3dce6;
|
|
border: 1px solid #d3dce6;
|
|
}
|
|
}
|
|
|
|
+
|
|
.bg-purple-light {
|
|
.bg-purple-light {
|
|
border: 1px solid #e5e9f2;
|
|
border: 1px solid #e5e9f2;
|
|
}
|
|
}
|
|
|
|
+
|
|
.grid-content {
|
|
.grid-content {
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
min-height: 36px;
|
|
min-height: 36px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.row-bg {
|
|
.row-bg {
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
border: 1px solid #f9fafc;
|
|
border: 1px solid #f9fafc;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ul li {
|
|
|
|
+ padding: 0;
|
|
|
|
+ margin: 0;
|
|
|
|
+ list-style: none
|
|
|
|
+}
|
|
</style>
|
|
</style>
|