Browse Source

fix:页面请求

temp
zhaohy 3 months ago
parent
commit
75a582cdce
  1. 1
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue
  2. 1
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue
  3. 3
      hx-ai-intelligent/src/view/alarmManagement/equipmentAlarm/look.vue
  4. 4
      hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue

1
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue

@ -75,7 +75,6 @@
const getConditionalJudgment = (data: any) => { const getConditionalJudgment = (data: any) => {
const formattedValue = data.conditionalJudgment.replace(/(\d+)\.00/g, '$1'); const formattedValue = data.conditionalJudgment.replace(/(\d+)\.00/g, '$1');
// //
console.log(formattedValue, 'value');
return formattedValue; return formattedValue;
}; };
const clickSwitch = (data: any) => { const clickSwitch = (data: any) => {

1
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue

@ -302,7 +302,6 @@
const getConditionalJudgment = (data: any) => { const getConditionalJudgment = (data: any) => {
const formattedValue = data.conditionalJudgment.replace(/(\d+)\.00/g, '$1'); const formattedValue = data.conditionalJudgment.replace(/(\d+)\.00/g, '$1');
// //
console.log(formattedValue, 'value');
return formattedValue; return formattedValue;
}; };
return { return {

3
hx-ai-intelligent/src/view/alarmManagement/equipmentAlarm/look.vue

@ -127,7 +127,8 @@
type: 'shadow', type: 'shadow',
}, },
formatter: function (params: any) { formatter: function (params: any) {
let res = params[0].marker + ' ' + params[0].seriesName + ' : ' + params[0].data; let res =
params[0].marker + ' ' + params[0].seriesName + ' : ' + params[0].data + 'V';
return res; return res;
}, },
}, },

4
hx-ai-intelligent/src/view/equipmentControl/airConditioningSystem/index.vue

@ -548,12 +548,12 @@
getTempSysCtrlList(); getTempSysCtrlList();
}; };
// //
// const intervalId = setInterval(fetchData, 60000); const intervalId = setInterval(fetchData, 60000);
onMounted(() => { onMounted(() => {
fetchData(); fetchData();
}); });
onUnmounted(() => { onUnmounted(() => {
// clearInterval(intervalId); clearInterval(intervalId);
}); });
</script> </script>
<style lang="less"> <style lang="less">

Loading…
Cancel
Save