master
wj 2 years ago
parent 0d5920e411
commit e58fa5412d
  1. 10
      psdc-ui/src/views/analyse/nhdb/index.vue
  2. 5
      psdc-ui/src/views/analyse/nhfx/index.vue
  3. 5
      psdc-ui/src/views/analyse/nhtj/index.vue
  4. 52
      psdc-ui/src/views/bigview/index.vue
  5. 72
      psdc-ui/src/views/control/manual/index.vue
  6. 43
      psdc-ui/src/views/control/timer/index.vue
  7. 38
      psdc-ui/src/views/emonitor/db/index.vue
  8. 38
      psdc-ui/src/views/emonitor/drgl/index.vue
  9. 37
      psdc-ui/src/views/emonitor/frdl/index.vue
  10. 37
      psdc-ui/src/views/emonitor/kqyrb/index.vue
  11. 21
      psdc-ui/src/views/emonitor/wdcgq/index.vue
  12. 37
      psdc-ui/src/views/emonitor/xrgl/index.vue
  13. 5
      psdc-ui/src/views/login.vue

@ -301,5 +301,15 @@ function getCelueListFun(){
background-color: #2F3D8A; background-color: #2F3D8A;
height: 260px; height: 260px;
} }
@media (max-width:960px) {
.app-container{
padding: 8px;
}
.box-card{
width: 100%;
margin-bottom: 8px;
margin-right: 0 !important;
}
}
</style> </style>

@ -728,5 +728,10 @@ onBeforeUnmount(() => {
//color: #f3ffff; //color: #f3ffff;
color: #606266 !important; color: #606266 !important;
} }
@media (max-width:960px) {
.app-container{
padding: 8px;
}
}
</style> </style>

@ -543,5 +543,10 @@ const { filterForm } = toRefs(data);
//color: #f3ffff; //color: #f3ffff;
color: #606266 !important; color: #606266 !important;
} }
@media (max-width:960px) {
.app-container{
padding: 8px;
}
}
</style> </style>

@ -3,7 +3,7 @@
<div class="header"> <div class="header">
<h2>电能替代分布式控制试验平台</h2> <h2>电能替代分布式控制试验平台</h2>
<div class="timer">{{timer}}</div> <div class="timer">{{timer}}</div>
<screenfull id="screenfull" class="right-menu-item hover-effect" /> <screenfull id="screenfull" @click="refresh" class="right-menu-item hover-effect" />
<router-link :to="{path:'/control/manual'}" tag="div" class="back" @click="linkPage"><el-icon><HomeFilled /></el-icon></router-link> <router-link :to="{path:'/control/manual'}" tag="div" class="back" @click="linkPage"><el-icon><HomeFilled /></el-icon></router-link>
</div> </div>
<div class="main"> <div class="main">
@ -151,7 +151,9 @@ onMounted(()=>{
getZdbFun(); getZdbFun();
dqglChartFun() dqglChartFun()
}) })
function refresh(){
// window.location.reload();
}
/** 日期*/ /** 日期*/
const timer = ref() const timer = ref()
// //
@ -314,9 +316,9 @@ let xrglChart;
let kqyrbChart; let kqyrbChart;
let frdlChart; let frdlChart;
function dcglChartFun(){ function dcglChartFun(){
const chartDom = document.getElementById('dcglChart') var chartDom = document.getElementById('dcglChart')
dcglChart = echarts.init(chartDom); dcglChart = echarts.init(chartDom);
const option = { var option = {
legend: { legend: {
data: ["进水温度","出水温度"], data: ["进水温度","出水温度"],
// selectedMode: 'single', // selectedMode: 'single',
@ -424,9 +426,9 @@ function dcglChartFun(){
] ]
}; };
option && dcglChart.setOption(option); option && dcglChart.setOption(option);
window.onresize = function () {// window.addEventListener("resize", function () {
chartDom.resize(); dcglChart.resize();
}; });
}; };
function xrglChartFun(){ function xrglChartFun(){
const chartDom = document.getElementById('xrglChart') const chartDom = document.getElementById('xrglChart')
@ -539,9 +541,9 @@ function xrglChartFun(){
] ]
}; };
option && xrglChart.setOption(option); option && xrglChart.setOption(option);
window.onresize = function () {// window.addEventListener("resize", function () {
chartDom.resize(); xrglChart.resize();
}; });
}; };
function kqyrbChartFun(){ function kqyrbChartFun(){
const chartDom = document.getElementById('kqyrbChart') const chartDom = document.getElementById('kqyrbChart')
@ -654,9 +656,9 @@ function kqyrbChartFun(){
] ]
}; };
option && kqyrbChart.setOption(option); option && kqyrbChart.setOption(option);
window.onresize = function () {// window.addEventListener("resize", function () {
chartDom.resize(); kqyrbChart.resize();
}; });
}; };
function frdlChartFun(){ function frdlChartFun(){
const chartDom = document.getElementById('frdlChart') const chartDom = document.getElementById('frdlChart')
@ -759,9 +761,9 @@ function frdlChartFun(){
] ]
}; };
option && frdlChart.setOption(option); option && frdlChart.setOption(option);
window.onresize = function () {// window.addEventListener("resize", function () {
chartDom.resize(); frdlChart.resize();
}; });
}; };
/**总电表信息*/ /**总电表信息*/
@ -911,9 +913,9 @@ function dqglChartFun(){
] ]
}; };
option && dqglChart.setOption(option); option && dqglChart.setOption(option);
window.onresize = function () {// window.addEventListener("resize", function () {
chartDom.resize(); dqglChart.resize();
}; });
}; };
@ -1237,5 +1239,17 @@ onBeforeUnmount(() => {
.screenNumber{ .screenNumber{
font-family: 'ds-digitalnormal'; font-family: 'ds-digitalnormal';
} }
@media (max-width: 960px) {
.info_box{
.dev_img{
width: 40%;
height: 80%;
}
.dev_data{
width: 55%;
}
}
}
</style> </style>

@ -40,7 +40,7 @@
<div class="control_header"><span>调控日志</span></div> <div class="control_header"><span>调控日志</span></div>
<div class="control_table"> <div class="control_table">
<el-table :data="controlLogList" height="90%"> <el-table :data="controlLogList" height="90%">
<el-table-column label="序号" align="center" type="index" :index="indexMethod1"></el-table-column> <el-table-column label="序号" align="center" type="index" width="60" :index="indexMethod1"></el-table-column>
<el-table-column label="设备名称" align="center" prop="deviceName"/> <el-table-column label="设备名称" align="center" prop="deviceName"/>
<el-table-column label="操作内容" align="center" prop="controlValue" :formatter="formatControlKeyValue"/> <el-table-column label="操作内容" align="center" prop="controlValue" :formatter="formatControlKeyValue"/>
<el-table-column label="操作时间" align="center" prop="createTime"/> <el-table-column label="操作时间" align="center" prop="createTime"/>
@ -580,17 +580,6 @@ function getSetTemperatureFun(item){
.red{ .red{
color: red; color: red;
} }
.submit{
padding: 3px 15px;
border-radius: 2px;
background-color: #2F8EED;
float: right;
margin-top: 8px;
cursor: pointer;
&:hover{
background-color: #5ba2f3;
}
}
} }
} }
} }
@ -757,10 +746,69 @@ function getSetTemperatureFun(item){
.app-container{ .app-container{
padding: 8px; padding: 8px;
} }
.home{
height: 800px;
.dev_control_wrapper{
.dev_control_item{
width: 32%;
&:nth-child(3n){
margin-right: 0px;
}
&:nth-child(4n){
margin-right: 12px;
}
.item_header{
height: 15%;
span{
font-size: 14px;
line-height: 30px;
}
.switch{
line-height: 30px;
height: 30px;
}
}
.item_bottom{
.item_bottom_img{
width: 35%;
height: 65%;
padding: 15px;
margin-right: 5px;
}
.item_bottom_form{
width: 60%;
height: 100%;
padding: 0;
}
}
}
}
.dev_control_table{
.control_header{
height: 8%;
span{
font-size: 14px;
line-height: 32px;
}
}
.control_table{
height: 80%;
}
}
}
::v-deep .el-button{ ::v-deep .el-button{
margin-bottom: 8px; margin-bottom: 8px;
font-size: 12px; font-size: 12px;
} }
::v-deep .el-form-item--default .el-form-item__label{
height: 30px;
line-height: 30px;
font-size: 12px;
}
::v-deep .el-form-item--default .el-form-item__content{
line-height: 30px;
font-size: 12px;
}
} }
</style> </style>

@ -26,8 +26,8 @@
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item class="mr30"> <el-form-item class="mr30">
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button> <el-button class="mybtn" type="primary" icon="Search" @click="handleQuery">搜索</el-button>
<el-button icon="Refresh" @click="resetQuery">重置</el-button> <el-button class="mybtn" icon="Refresh" @click="resetQuery">重置</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
@ -37,9 +37,9 @@
</el-row> </el-row>
<div class="dev_control_table"> <div class="dev_control_table">
<el-table :data="timingList" height="685px"> <el-table :data="timingList" height="685px">
<el-table-column label="序号" type="index" :index="indexMethod1" width="60"></el-table-column> <el-table-column label="序号" type="index" width="60" :index="indexMethod1"></el-table-column>
<el-table-column label="设备名称" align="center" prop="deviceName"/> <el-table-column label="设备名称" align="center" prop="deviceName"/>
<el-table-column label="任务描述" align="center" prop="controlContext" width="500"/> <el-table-column label="任务描述" align="center" prop="controlContext"/>
<!-- <el-table-column label="状态" align="center">--> <!-- <el-table-column label="状态" align="center">-->
<!-- <template v-slot="scope">--> <!-- <template v-slot="scope">-->
<!--&lt;!&ndash; <el-tag class="ml-2" :type="timerStatus">暂停</el-tag>&ndash;&gt;--> <!--&lt;!&ndash; <el-tag class="ml-2" :type="timerStatus">暂停</el-tag>&ndash;&gt;-->
@ -50,7 +50,7 @@
<el-table-column label="执行时间" align="center" prop="runtime"/> <el-table-column label="执行时间" align="center" prop="runtime"/>
<el-table-column label="创建者" align="center" prop="createBy"/> <el-table-column label="创建者" align="center" prop="createBy"/>
<el-table-column label="创建时间" align="center" prop="createTime"/> <el-table-column label="创建时间" align="center" prop="createTime"/>
<el-table-column label="操作" align="center" prop="handle" width="200"> <el-table-column label="操作" align="center" prop="handle">
<template v-slot="scope"> <template v-slot="scope">
<!-- <el-button size="small" :type="scope.row.timerStatus == 0 ? 'success':''" @click="getUpDateStatusFun(scope)">{{ scope.row.timerStatus == 0 ? '开启' : '停止' }}</el-button>--> <!-- <el-button size="small" :type="scope.row.timerStatus == 0 ? 'success':''" @click="getUpDateStatusFun(scope)">{{ scope.row.timerStatus == 0 ? '开启' : '停止' }}</el-button>-->
<el-button type="danger" size="small" :icon="Delete" @click="getDeleteTimerFun(scope)">删除</el-button> <el-button type="danger" size="small" :icon="Delete" @click="getDeleteTimerFun(scope)">删除</el-button>
@ -538,7 +538,7 @@ const { queryParams } = toRefs(data);
.dev_control_table{ .dev_control_table{
position: relative; position: relative;
width: 100%; width: 100%;
min-height: 740px; //min-height: 740px;
background-color: #2F3D8A; background-color: #2F3D8A;
} }
.mr30{ .mr30{
@ -618,5 +618,36 @@ const { queryParams } = toRefs(data);
::v-deep .el-scrollbar__wrap.el-scrollbar__wrap--hidden-default{ ::v-deep .el-scrollbar__wrap.el-scrollbar__wrap--hidden-default{
background-color: rgba(47,61,138); background-color: rgba(47,61,138);
} }
@media (max-width:960px) {
.app-container{
padding: 8px;
}
.dev_control_table{
height: 540px !important;
}
.mb8{
margin-bottom: 0px;
}
.mybtn{
margin-bottom: 0px !important;
}
::v-deep .el-button{
margin-bottom: 8px;
font-size: 12px;
}
::v-deep .el-form-item--default .el-form-item__label{
height: 30px;
line-height: 30px;
font-size: 12px;
}
::v-deep .el-form-item--default .el-form-item__content{
line-height: 30px;
font-size: 12px;
}
::v-deep .el-form--inline .el-form-item{
margin-right: 20px;
}
}
</style> </style>

@ -176,7 +176,8 @@ export default {
// getData // getData
// }, // },
onMounted(() => {//element,onMountedHook onMounted(() => {
//element,onMountedHook
getData(13).then((res)=>{ getData(13).then((res)=>{
console.log(res) console.log(res)
if(res.data!=null){ if(res.data!=null){
@ -240,7 +241,10 @@ export default {
detail: { detail: {
valueAnimation: true, valueAnimation: true,
formatter: '{value} kW', formatter: '{value} kW',
color: 'inherit' color: 'inherit',
textStyle:{
fontSize: 22
}
}, },
data: [ data: [
{ {
@ -250,9 +254,9 @@ export default {
} }
] ]
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart1.resize(); myChart1.resize();
}; });
//线 //线
let myChart2 = echarts.getInstanceByDom(document.getElementById("myEcharts2")); let myChart2 = echarts.getInstanceByDom(document.getElementById("myEcharts2"));
@ -339,7 +343,7 @@ export default {
]) ])
} }
}, //线 }, //线
symbol: "none", // symbol: "circle", //
markPoint: { markPoint: {
itemStyle: { itemStyle: {
normal: { normal: {
@ -359,9 +363,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart2.resize(); myChart2.resize();
}; });
}) })
// //
@ -553,5 +557,25 @@ p{
padding-top: 10px; padding-top: 10px;
padding-left: 10px; padding-left: 10px;
} }
@media (max-width:960px) {
.app-container{
padding: 8px;
}
.card{
p{
font-size: 14px;
}
h1{
font-size: 18px;
}
}
.mid1-1,.mid2-1,.bottom1-1{
font-size: 14px;
height: 32px;
line-height: 32px;
padding-top: 0;
}
}
</style> </style>

@ -301,7 +301,10 @@ export default {
detail: { detail: {
valueAnimation: true, valueAnimation: true,
formatter: '{value} kW', formatter: '{value} kW',
color: 'inherit' color: 'inherit',
textStyle:{
fontSize: 22
}
}, },
data: [ data: [
{ {
@ -311,9 +314,9 @@ export default {
} }
] ]
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart1.resize(); myChart1.resize();
}; });
} }
// //
@ -623,9 +626,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart4.resize(); myChart4.resize();
}; });
}) })
} }
function getDrglFun(){ function getDrglFun(){
@ -724,7 +727,7 @@ export default {
itemStyle:{ itemStyle:{
color:'#2F8EE0' color:'#2F8EE0'
}, },
symbol: "none", // symbol: "circle", //
markPoint: { markPoint: {
itemStyle: { itemStyle: {
normal: { normal: {
@ -753,9 +756,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart3.resize(); myChart3.resize();
}; });
}) })
} }
@ -852,5 +855,24 @@ p{
::v-deep .el-form-item{ ::v-deep .el-form-item{
margin-bottom: 12px; margin-bottom: 12px;
} }
@media (max-width:960px) {
.app-container{
padding: 8px;
}
.card{
p{
font-size: 14px;
}
h1{
font-size: 18px;
}
}
.title{
font-size: 14px;
height: 32px;
line-height: 32px;
padding-top: 0;
}
}
</style> </style>

@ -296,7 +296,10 @@ export default {
detail: { detail: {
valueAnimation: true, valueAnimation: true,
formatter: '{value} kW', formatter: '{value} kW',
color: 'inherit' color: 'inherit',
textStyle:{
fontSize: 22
}
}, },
data: [ data: [
{ {
@ -306,9 +309,9 @@ export default {
} }
] ]
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart1.resize(); myChart1.resize();
}; });
} }
// //
@ -607,9 +610,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart4.resize(); myChart4.resize();
}; });
}) })
} }
function getFrdlFun(){ function getFrdlFun(){
@ -709,7 +712,7 @@ export default {
itemStyle:{ itemStyle:{
color:'#2F8EE0' color:'#2F8EE0'
}, },
symbol: "none", // symbol: "circle", //
markPoint: { markPoint: {
itemStyle: { itemStyle: {
normal: { normal: {
@ -738,9 +741,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart3.resize(); myChart3.resize();
}; });
}) })
} }
@ -836,6 +839,24 @@ p{
} }
::v-deep .el-form-item{ ::v-deep .el-form-item{
margin-bottom: 12px; margin-bottom: 12px;
}@media (max-width:960px) {
.app-container{
padding: 8px;
}
.card{
p{
font-size: 14px;
}
h1{
font-size: 18px;
}
}
.title{
font-size: 14px;
height: 32px;
line-height: 32px;
padding-top: 0;
}
} }
</style> </style>

@ -300,7 +300,10 @@ export default {
detail: { detail: {
valueAnimation: true, valueAnimation: true,
formatter: '{value} kW', formatter: '{value} kW',
color: 'inherit' color: 'inherit',
textStyle:{
fontSize: 22
}
}, },
data: [ data: [
{ {
@ -310,9 +313,9 @@ export default {
} }
] ]
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart1.resize(); myChart1.resize();
}; });
} }
// //
@ -621,9 +624,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart4.resize(); myChart4.resize();
}; });
}) })
} }
function getKqrybFun(){ function getKqrybFun(){
@ -721,7 +724,7 @@ export default {
itemStyle:{ itemStyle:{
color:'#2F8EE0' color:'#2F8EE0'
}, },
symbol: "none", // symbol: "circle", //
markPoint: { markPoint: {
itemStyle: { itemStyle: {
normal: { normal: {
@ -750,9 +753,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart3.resize(); myChart3.resize();
}; });
}) })
} }
@ -848,6 +851,24 @@ p{
} }
::v-deep .el-form-item{ ::v-deep .el-form-item{
margin-bottom: 12px; margin-bottom: 12px;
}@media (max-width:960px) {
.app-container{
padding: 8px;
}
.card{
p{
font-size: 14px;
}
h1{
font-size: 18px;
}
}
.title{
font-size: 14px;
height: 32px;
line-height: 32px;
padding-top: 0;
}
} }
</style> </style>

@ -321,13 +321,14 @@ p{
width: 100%; width: 100%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: flex-start;
} }
.card{ .card{
width: 19.45%; width: 19.45%;
height: 110px; height: 110px;
background-color: #2F3D8A; background-color: #2F3D8A;
margin-bottom: 12px; margin-bottom: 12px;
margin-right: 12px;
//margin-right: 10px; //margin-right: 10px;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
@ -349,6 +350,24 @@ p{
background-color: #374590; background-color: #374590;
padding-top: 10px; padding-top: 10px;
padding-left: 10px; padding-left: 10px;
}@media (max-width:960px) {
.app-container{
padding: 8px;
}
.card{
p{
font-size: 14px;
}
h1{
font-size: 18px;
}
}
.mid1-1,.mid2-1,.bottom1-1{
font-size: 14px;
height: 32px;
line-height: 32px;
padding-top: 0;
}
} }
</style> </style>

@ -302,7 +302,10 @@ export default {
detail: { detail: {
valueAnimation: true, valueAnimation: true,
formatter: '{value} kW', formatter: '{value} kW',
color: 'inherit' color: 'inherit',
textStyle:{
fontSize: 22
}
}, },
data: [ data: [
{ {
@ -312,9 +315,9 @@ export default {
} }
] ]
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart1.resize(); myChart1.resize();
}; });
} }
// //
@ -413,7 +416,7 @@ export default {
itemStyle:{ itemStyle:{
color:'#2F8EE0' color:'#2F8EE0'
}, },
symbol: "none", // symbol: "circle", //
markPoint: { markPoint: {
itemStyle: { itemStyle: {
normal: { normal: {
@ -442,9 +445,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart3.resize(); myChart3.resize();
}; });
}) })
} }
function getXcglFun(){ function getXcglFun(){
@ -753,9 +756,9 @@ export default {
}, },
], ],
}); });
window.onresize = function () {// window.addEventListener("resize", function () {
myChart4.resize(); myChart4.resize();
}; });
}) })
} }
@ -850,6 +853,24 @@ p{
} }
::v-deep .el-form-item{ ::v-deep .el-form-item{
margin-bottom: 12px; margin-bottom: 12px;
}@media (max-width:960px) {
.app-container{
padding: 8px;
}
.card{
p{
font-size: 14px;
}
h1{
font-size: 18px;
}
}
.title{
font-size: 14px;
height: 32px;
line-height: 32px;
padding-top: 0;
}
} }
</style> </style>

@ -165,7 +165,7 @@ getCookie();
padding-top: 50px; padding-top: 50px;
h2{ h2{
text-align: center; text-align: center;
font-size: .36rem; font-size: 36px;
font-weight: bold; font-weight: bold;
color: #AFEAFF; color: #AFEAFF;
margin:0px 0 50px 0; margin:0px 0 50px 0;
@ -256,5 +256,8 @@ getCookie();
.login-code-img { .login-code-img {
height: 40px; height: 40px;
padding-left: 12px; padding-left: 12px;
}
@media (max-width: 960px) {
} }
</style> </style>

Loading…
Cancel
Save