|
@@ -50,7 +50,7 @@
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="right descIcon">
|
|
|
|
|
|
+ <div class="right descIcon " @click="descripDialog()">
|
|
<img src="@/assets/images/descIcon.png" alt="" />
|
|
<img src="@/assets/images/descIcon.png" alt="" />
|
|
指标说明
|
|
指标说明
|
|
</div>
|
|
</div>
|
|
@@ -243,11 +243,24 @@
|
|
<dialog-chartOne
|
|
<dialog-chartOne
|
|
:dialogTitle="dialogTitle"
|
|
:dialogTitle="dialogTitle"
|
|
@closeDialog="closeDialog"
|
|
@closeDialog="closeDialog"
|
|
- :flag="showDialog2"
|
|
|
|
|
|
+ :flag="showDialog"
|
|
:echartsAllData="echartsAllData"
|
|
:echartsAllData="echartsAllData"
|
|
:echartsTitle="echartsTitle"
|
|
:echartsTitle="echartsTitle"
|
|
></dialog-chartOne>
|
|
></dialog-chartOne>
|
|
<!--弹框组件结束-----------------------end-->
|
|
<!--弹框组件结束-----------------------end-->
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <!--指标说明弹框组件开始-----------------------start-->
|
|
|
|
+ <descrip-dialog
|
|
|
|
+ :dialogTitle="dialogTitle"
|
|
|
|
+ :itemInfo="tableItem"
|
|
|
|
+ @closeDialog="closeDialog"
|
|
|
|
+ :flag="showDialog2"
|
|
|
|
+ class="descripDialog"
|
|
|
|
+ ></descrip-dialog>
|
|
|
|
+ <!--指标说明弹框组件结束-----------------------end-->
|
|
|
|
+
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -255,6 +268,7 @@
|
|
import radarChart from './realScoreComponent/radarChart.vue'
|
|
import radarChart from './realScoreComponent/radarChart.vue'
|
|
import pieChart from './realScoreComponent/pieChart.vue'
|
|
import pieChart from './realScoreComponent/pieChart.vue'
|
|
import dialogChartOne from './realScoreComponent/dialogChartOne'
|
|
import dialogChartOne from './realScoreComponent/dialogChartOne'
|
|
|
|
+import descripDialog from './realScoreComponent/descripDialog'
|
|
import { useStore } from 'vuex'
|
|
import { useStore } from 'vuex'
|
|
import { defineComponent, onMounted, ref } from 'vue'
|
|
import { defineComponent, onMounted, ref } from 'vue'
|
|
import * as api from '@/api/powerQuality/realScore.js'
|
|
import * as api from '@/api/powerQuality/realScore.js'
|
|
@@ -267,6 +281,9 @@ export default defineComponent({
|
|
radarChart,
|
|
radarChart,
|
|
pieChart,
|
|
pieChart,
|
|
dialogChartOne,
|
|
dialogChartOne,
|
|
|
|
+ descripDialog
|
|
|
|
+
|
|
|
|
+
|
|
},
|
|
},
|
|
setup() {
|
|
setup() {
|
|
const store = useStore()
|
|
const store = useStore()
|
|
@@ -288,7 +305,8 @@ export default defineComponent({
|
|
const deviceCode = ref('')
|
|
const deviceCode = ref('')
|
|
|
|
|
|
const dialogTitle = ref('')
|
|
const dialogTitle = ref('')
|
|
- const showDialog2 = ref(false)
|
|
|
|
|
|
+ const showDialog = ref(false)
|
|
|
|
+ const showDialog2 = ref(true)
|
|
|
|
|
|
const echartsAllData = ref([])
|
|
const echartsAllData = ref([])
|
|
const echartsTitle = ref('')
|
|
const echartsTitle = ref('')
|
|
@@ -489,12 +507,19 @@ export default defineComponent({
|
|
// 点击表格弹框图表
|
|
// 点击表格弹框图表
|
|
function oneClick(params) {
|
|
function oneClick(params) {
|
|
dialogTitle.value = deviceCode.value
|
|
dialogTitle.value = deviceCode.value
|
|
- showDialog2.value = true
|
|
|
|
|
|
+ showDialog.value = true
|
|
rtRealScore(params)
|
|
rtRealScore(params)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // 查看视频
|
|
|
|
+ const descripDialog = () => {
|
|
|
|
+ dialogTitle.value = '指标说明'
|
|
|
|
+ showDialog2.value = true
|
|
|
|
+ }
|
|
|
|
+
|
|
// 关闭操作
|
|
// 关闭操作
|
|
const closeDialog = () => {
|
|
const closeDialog = () => {
|
|
|
|
+ showDialog.value = false
|
|
showDialog2.value = false
|
|
showDialog2.value = false
|
|
|
|
|
|
}
|
|
}
|
|
@@ -517,12 +542,15 @@ export default defineComponent({
|
|
nowTime,
|
|
nowTime,
|
|
deviceCode,
|
|
deviceCode,
|
|
closeDialog,
|
|
closeDialog,
|
|
|
|
+ showDialog,
|
|
showDialog2,
|
|
showDialog2,
|
|
dialogTitle,
|
|
dialogTitle,
|
|
echartsAllData,
|
|
echartsAllData,
|
|
echartsTitle,
|
|
echartsTitle,
|
|
rtRealScore,
|
|
rtRealScore,
|
|
- linkDevice
|
|
|
|
|
|
+ linkDevice,
|
|
|
|
+
|
|
|
|
+ descripDialog
|
|
}
|
|
}
|
|
},
|
|
},
|
|
})
|
|
})
|
|
@@ -530,6 +558,10 @@ export default defineComponent({
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
|
|
|
|
|
+.descripDialog{
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
.el-row {
|
|
.el-row {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
&:last-child {
|
|
&:last-child {
|