| | |
| | | // import ContentBox from "@/components/ContentBox"; |
| | | import gridCircuitDiagram from '@/pages/dcSwitchboard/js/gridCircuitDiagram' |
| | | import diagramStates from '@/pages/dcSwitchboard/js/diagramStates' |
| | | |
| | | let diagram; |
| | | export default { |
| | | chart: {}, |
| | |
| | | self.echartsList[3].echartsVol.push(result.data.powerRT.rectifierVol); |
| | | |
| | | |
| | | |
| | | self.formData.thisInfo.volA = result.data.dcMainBoard.volA + "V"; |
| | | self.formData.thisInfo.volB = result.data.dcMainBoard.volB + "V"; |
| | | self.formData.thisInfo.currA = result.data.dcMainBoard.currA + "A"; |
| | |
| | | }); |
| | | }, |
| | | getTime(){ |
| | | var myDate = new Date(); //实例一个时间对象; |
| | | var myDate = new Date(); //实例一个时间对象; |
| | | // myDate.getFullYear(); //获取系统的年; |
| | | // myDate.getMonth()+1; //获取系统月份,由于月份是从0开始计算,所以要加1 |
| | | // myDate.getDate(); // 获取系统日, |
| | |
| | | .width_80{ |
| | | width: 80px; |
| | | } |
| | | |
| | | .clear{ |
| | | clear: both; |
| | | } |
| | | |
| | | .partition{ |
| | | height: 1px; |
| | | width: 100%; |
| | | border-bottom:1px solid #fff; |
| | | } |
| | | |
| | | .batteryrHistoryquery{ |
| | | overflow: auto; |
| | | } |
| | | |
| | | .echarts-right{ |
| | | width: 100%; |
| | | height: 160px; |
| | | } |
| | | |
| | | .title_echarts{ |
| | | padding: 0 0 0 20px; |
| | | font-size: 12px; |
| | | } |
| | | |
| | | /deep/.el-input__inner{ |
| | | padding: 0 0.5rem; |
| | | } |
| | | |
| | | /deep/.el-table th, /deep/.el-table tr{ |
| | | background: #171350 !important; |
| | | color: #fff; |
| | | } |
| | | |
| | | .body_box{ |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | |
| | | .left_Box,.content_box,.right_box{ |
| | | float: left; |
| | | height: 96%; |
| | | margin: 0 4px; |
| | | } |
| | | |
| | | .right_box{ |
| | | border: 1px solid #1e9ff2; |
| | | } |
| | | |
| | | .content_box{ |
| | | width: 39%; |
| | | margin-left: 10px; |
| | | |
| | | } |
| | | .content_top,.content_cent,.content_bottom{ |
| | | |
| | | .content_cent, .content_bottom { |
| | | height: 30%; |
| | | border:1px solid #1e9ff2; |
| | | padding: 1%; |
| | | } |
| | | .content_bottom { |
| | | height: 48%; |
| | | } |
| | | .content_top { |
| | | height: 12%; |
| | | border: 1px solid #1e9ff2; |
| | | padding: 1%; |
| | | } |
| | | |
| | | .content_cent{ |
| | | height: 38%; |
| | | } |
| | | |
| | | .content_cent{ |
| | | margin: 1% 0; |
| | | } |
| | | |
| | | .title_into{ |
| | | padding-left: 1%; |
| | | color: #ffff18; |
| | | } |
| | | |
| | | .detail_info{ |
| | | float: left; |
| | | width: 12%; |
| | |
| | | font-size: 12px; |
| | | padding-top: 2%; |
| | | } |
| | | |
| | | .detail_info .el-form-item{ |
| | | margin-bottom:0; |
| | | } |
| | | |
| | | .detail_form{ |
| | | width: 28%; |
| | | } |
| | | |
| | | .right_box{ |
| | | width: 39%; |
| | | } |
| | | |
| | | .left_Box{ |
| | | background: url("../../assets/images/leftBg.png") 0 0 no-repeat; |
| | | background-size: 100% 100%; |
| | |
| | | height: 96%; |
| | | padding: 0.75rem 1rem; |
| | | } |
| | | |
| | | .diagram-content{ |
| | | height: 100%; |
| | | width: 100%; |
| | | position: relative; |
| | | } |
| | | |
| | | .diagram-stc { |
| | | width: 100%; |
| | | height: 100%; |
| | |
| | | z-index: 9; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .diagram-stc /deep/ canvas,.diagram-flush /deep/ canvas{ |
| | | object-fit:fill !important; |
| | | } |