+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ selectConditioning.title }}
+
@@ -72,9 +143,19 @@
import airConditioner from '../image/airConditioningSystem/airConditioner.png';
import floorHeating from '../image/airConditioningSystem/floorHeating.png';
import selectImg from '../image/airConditioningSystem/selectImg.png';
- import temperatureBox from '../image/airConditioningSystem/temperature-box.png';
+ // 温泉颜色
+ import sunRed from '../image/airConditioningSystem/sunRed.png';
+ import sunYellow from '../image/airConditioningSystem/sunYellow.png';
+ import sunBlue from '../image/airConditioningSystem/sunBlue.png';
import singleModel from '../components/singleModel.vue';
+ import doubleSingleModel from '../components/doubleSingleModel.vue';
+ import newTrendModel from './components/newTrendModel.vue';
+ import conditioningModel from './components/conditioningModel.vue';
+ onMounted(() => {
+ selectConditioning.value = conditioningData.value[0];
+ });
+ onUnmounted(() => {});
//图例
const legend = ref([
{ url: temperature, name: '温度' },
@@ -83,6 +164,8 @@
{ url: airConditioner, name: '空调箱' },
{ url: floorHeating, name: '地暖' },
]);
+ const newTrendModels = ref(null);
+
//温度传感器
const sensor = ref([
{
@@ -91,7 +174,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunRed,
},
{
title: 'G区多功能传感器',
@@ -99,7 +182,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunYellow,
},
{
title: 'F区多功能传感器',
@@ -107,7 +190,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunRed,
},
{
title: 'E区多功能传感器',
@@ -115,7 +198,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunBlue,
},
{
title: 'D区多功能传感器',
@@ -123,7 +206,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunRed,
},
{
title: 'C区多功能传感器',
@@ -131,7 +214,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunRed,
},
{
title: 'B区多功能传感器',
@@ -139,7 +222,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunRed,
},
{
title: 'A区多功能传感器',
@@ -147,7 +230,7 @@
type: '温度',
unit: '℃',
number: 20,
- url: temperatureBox,
+ url: sunRed,
},
]);
//人流
@@ -224,17 +307,18 @@
styleText: { left: '43%', bottom: '44%' },
type: '新风主机',
unit: '℃',
- number: 20,
+ number: 10,
url: freshAir,
},
{
title: 'C区新风主机',
styleText: { left: '45%', bottom: '23%' },
type: '新风主机',
+ number: 20,
unit: '℃',
},
{
- title: 'background-size区新风主机',
+ title: 'B区新风主机',
styleText: { left: '61.5%', bottom: '54%' },
type: '新风主机',
unit: '℃',
@@ -245,22 +329,99 @@
title: 'A区新风主机',
styleText: { left: '63%', bottom: '36%' },
type: '新风主机',
+ number: 30,
unit: '℃',
},
]);
+ //空调箱
+ const conditioningData = ref([
+ {
+ title: '走廊区',
+ styleText: { left: '13%', bottom: '23%' },
+ type: '空调箱',
+ lineType: 1,
+ unit: '℃',
+ number: 20,
+ url: freshAir,
+ },
+ {
+ title: '西区',
+ styleText: { left: '28%', bottom: '30%' },
+ type: '空调箱',
+ lineType: 1,
+ unit: '℃',
+ number: 34,
+ url: freshAir,
+ },
+ {
+ title: '西北区',
+ styleText: { left: '38%', bottom: '45.5%' },
+ type: '空调箱',
+ lineType: 1,
+ unit: '℃',
+ number: 34,
+ url: freshAir,
+ },
+ {
+ title: '东北区',
+ styleText: { left: '57%', bottom: '53%' },
+ lineType: 1,
+ type: '空调箱',
+ unit: '℃',
+ number: 34,
+ url: freshAir,
+ },
+ {
+ title: '东区',
+ styleText: { left: '73%', bottom: '53%' },
+ lineType: 1,
+ type: '空调箱',
+ unit: '℃',
+ number: 34,
+ url: freshAir,
+ },
+ {
+ title: '东南区',
+ styleText: { left: '68%', bottom: '38%' },
+ lineType: 2,
+ type: '空调箱',
+ unit: '℃',
+ number: 15,
+ url: freshAir,
+ },
+ {
+ title: '西南区',
+ styleText: { left: '43.5%', bottom: '22%' },
+ lineType: 2,
+ type: '空调箱',
+ unit: '℃',
+ number: 15,
+ url: freshAir,
+ },
+ ]);
+ //选择的空调箱
+ const selectConditioning = ref({});
// 选择的图例
const selectIndex = ref(0);
const selectLegend = (item: any, index: any) => {
if (selectIndex.value !== index) {
selectIndex.value = index;
}
+ if (selectIndex.value === 2) {
+ setTimeout(() => {
+ newTrendModels.value.toggle(newTrend);
+ }, 100);
+ }
+ };
+ const handleClose = () => {
+ selectIndex.value = 0;
};
-
diff --git a/hx-ai-intelligent/src/view/equipmentControl/components/doubleSingleModel.vue b/hx-ai-intelligent/src/view/equipmentControl/components/doubleSingleModel.vue
new file mode 100644
index 0000000..744095c
--- /dev/null
+++ b/hx-ai-intelligent/src/view/equipmentControl/components/doubleSingleModel.vue
@@ -0,0 +1,116 @@
+
+
+
+
+ {{ dataSource.title }}
+
+
+
+
+
风量
+
+ 18
+ m3/h
+
+
+
+
+
温度
+
+
+ {{ dataSource.number }}
+
+ ℃
+
+
+
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/equipmentControl/components/singleModel.vue b/hx-ai-intelligent/src/view/equipmentControl/components/singleModel.vue
index e24fe70..a7d7d35 100644
--- a/hx-ai-intelligent/src/view/equipmentControl/components/singleModel.vue
+++ b/hx-ai-intelligent/src/view/equipmentControl/components/singleModel.vue
@@ -20,7 +20,7 @@
dataSource: {
type: Object,
default: () => {
- return { name: '' };
+ return { title: '' };
},
},
});
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/conditioningIcon.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/conditioningIcon.png
new file mode 100644
index 0000000..950fa93
Binary files /dev/null and b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/conditioningIcon.png differ
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/electricFan.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/electricFan.png
new file mode 100644
index 0000000..5690a88
Binary files /dev/null and b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/electricFan.png differ
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/newTrendModelBg.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/newTrendModelBg.png
new file mode 100644
index 0000000..1fee5b6
Binary files /dev/null and b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/newTrendModelBg.png differ
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/newTrendModelIcon.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/newTrendModelIcon.png
new file mode 100644
index 0000000..174260e
Binary files /dev/null and b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/newTrendModelIcon.png differ
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunBlue.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunBlue.png
new file mode 100644
index 0000000..6757d59
Binary files /dev/null and b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunBlue.png differ
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/temperature-box.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunRed.png
similarity index 100%
rename from hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/temperature-box.png
rename to hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunRed.png
diff --git a/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunYellow.png b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunYellow.png
new file mode 100644
index 0000000..0ccfd2f
Binary files /dev/null and b/hx-ai-intelligent/src/view/equipmentControl/image/airConditioningSystem/sunYellow.png differ