From 680e8e239a212961a34d85e8161f6e38fa49820a Mon Sep 17 00:00:00 2001 From: wj <347312259@qq.com> Date: Fri, 2 Jun 2023 09:38:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- psdc-ui/src/views/bigview/index.vue | 34 +++++++++---------- .../src/views/system/user/profile/index.vue | 15 +++++++- 2 files changed, 31 insertions(+), 18 deletions(-) diff --git a/psdc-ui/src/views/bigview/index.vue b/psdc-ui/src/views/bigview/index.vue index 4b39a4e..759176d 100644 --- a/psdc-ui/src/views/bigview/index.vue +++ b/psdc-ui/src/views/bigview/index.vue @@ -144,39 +144,39 @@ function getWenduFun(){ /**运行设备工作信息*/ //蓄热锅炉运行数据 -const xrglRunStatus = ref() -const xrglThermometerValueIn = ref() -const xrglThermometerValueOut = ref() -const xrglTodayUseEnergy = ref() +const xrglRunStatus = ref('--') +const xrglThermometerValueIn = ref('--') +const xrglThermometerValueOut = ref('--') +const xrglTodayUseEnergy = ref('--') //蓄热锅炉折线图数据 const xrglTimeList = ref([]); const xrglTempInTodayList = ref([]); const xrglTempOutTodayList = ref([]); //电磁锅炉运行数据 -const dcglRunStatus = ref() -const dcglThermometerValueIn = ref() -const dcglThermometerValueOut = ref() -const dcglTodayUseEnergy = ref() +const dcglRunStatus = ref('--') +const dcglThermometerValueIn = ref('--') +const dcglThermometerValueOut = ref('--') +const dcglTodayUseEnergy = ref('--') //电磁锅炉折线图数据 const dcglTimeList = ref([]); const dcglTempInTodayList = ref([]); const dcglTempOutTodayList = ref([]); //空气源热泵运行数据 -const kqyrbRunStatus = ref() -const kqyrbThermometerValueIn = ref() -const kqyrbThermometerValueOut = ref() -const kqyrbTodayUseEnergy = ref() +const kqyrbRunStatus = ref('--') +const kqyrbThermometerValueIn = ref('--') +const kqyrbThermometerValueOut = ref('--') +const kqyrbTodayUseEnergy = ref('--') //空气源热泵折线图数据 const kqyrbTimeList = ref([]); const kqyrbTempInTodayList = ref([]); const kqyrbTempOutTodayList = ref([]); //发热电缆运行数据 -const frdlRunStatus = ref() -const frdlThermometerValueNow = ref() -const frdlTodayUseEnergy = ref() +const frdlRunStatus = ref('--') +const frdlThermometerValueNow = ref('--') +const frdlTodayUseEnergy = ref('--') //发热电缆折线图数据 const frdlTimeList = ref([]); const frdlTempTodayList = ref([]); @@ -614,8 +614,8 @@ function frdlChartFun(){ }; /**总电表信息*/ -const nowPower = ref() -const nowEle = ref() +const nowPower = ref('--') +const nowEle = ref('--') const todayUsePowersArr = []; function getZdbFun(){ getZdb(13).then((res)=>{ diff --git a/psdc-ui/src/views/system/user/profile/index.vue b/psdc-ui/src/views/system/user/profile/index.vue index 3f777dd..16a3e78 100644 --- a/psdc-ui/src/views/system/user/profile/index.vue +++ b/psdc-ui/src/views/system/user/profile/index.vue @@ -147,6 +147,19 @@ getUser();