| | |
| | | <el-form-item label="负载状态:"> |
| | | <el-input size="mini" v-model="formData.thisInfo.fzzt" style="width:160px"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="大功率整流电源:"> |
| | | <!-- <el-form-item label="大功率整流电源:"> |
| | | <el-input size="mini" v-model="formData.thisInfo.dglzldy" style="width:160px"></el-input> |
| | | </el-form-item> |
| | | </el-form-item> --> |
| | | </el-form> |
| | | </div> |
| | | <div class="content_cent"> |
| | |
| | | import * as echarts from 'echarts'; |
| | | // import ContentBox from "@/components/ContentBox"; |
| | | import gridCircuitDiagram from '@/pages/monitoring/js/gridCircuitDiagram' |
| | | // import diagramStates from '@/pages/home/topoGraphdiagram/js/diagramStates' |
| | | import diagramStates from '@/pages/monitoring/js/diagramStates' |
| | | let diagram; |
| | | export default { |
| | | chart: {}, |
| | |
| | | mounted() { |
| | | let self = this; |
| | | diagram = gridCircuitDiagram(this.$refs.static, this.$refs.flush); |
| | | diagramStates(diagram, 'run1'); |
| | | self.initEcharts(); |
| | | self.openSocket(); |
| | | }, |
| | |
| | | if(result.code == 1){ |
| | | this.isOpen = true; |
| | | // 表单赋值 |
| | | self.formData.thisInfo.cxFivePanelCurr = result.data.screenRTList[0].panelCurr + "A"; |
| | | self.formData.thisInfo.cxFivePanelCurr = result.data.screenRTList[0].panelCurr + "V/AC"; |
| | | self.echartsList[0].echartsCurr.push(result.data.screenRTList[0].panelCurr); |
| | | |
| | | self.formData.thisInfo.cxFivePanelVol = result.data.screenRTList[0].panelVol + "V"; |
| | | self.formData.thisInfo.cxFivePanelVol = result.data.screenRTList[0].panelVol + "A"; |
| | | self.echartsList[0].echartsVol.push(result.data.screenRTList[0].panelVol); |
| | | |
| | | self.formData.thisInfo.cxOnePanelVol = result.data.screenRTList[2].panelVol + "V"; |
| | | self.formData.thisInfo.cxOnePanelVol = result.data.screenRTList[2].panelVol + "A"; |
| | | self.echartsList[1].echartsCurr.push(result.data.screenRTList[2].panelCurr); |
| | | self.echartsList[1].echartsVol.push(result.data.screenRTList[2].panelVol); |
| | | |
| | | self.formData.thisInfo.cxTwoPanelVol = result.data.screenRTList[3].panelVol + "V"; |
| | | self.formData.thisInfo.cxTwoPanelVol = result.data.screenRTList[3].panelVol + "A"; |
| | | self.echartsList[2].echartsCurr.push(result.data.screenRTList[3].panelCurr); |
| | | self.echartsList[2].echartsVol.push(result.data.screenRTList[3].panelVol); |
| | | |
| | |
| | | |
| | | |
| | | |
| | | self.formData.thisInfo.volA = result.data.dcMainBoard.volA + "V"; |
| | | self.formData.thisInfo.volB = result.data.dcMainBoard.volB + "V"; |
| | | self.formData.thisInfo.volA = result.data.dcMainBoard.volA + "V/AC"; |
| | | self.formData.thisInfo.volB = result.data.dcMainBoard.volB + "V/AC"; |
| | | self.formData.thisInfo.currA = result.data.dcMainBoard.currA + "A"; |
| | | self.formData.thisInfo.currB = result.data.dcMainBoard.currB + "A"; |
| | | } |