diff --git a/src/views/enterprise/liftSupervision/operatingData/index.vue b/src/views/enterprise/liftSupervision/operatingData/index.vue index dc55b00..10b1cdb 100644 --- a/src/views/enterprise/liftSupervision/operatingData/index.vue +++ b/src/views/enterprise/liftSupervision/operatingData/index.vue @@ -216,7 +216,7 @@ const aspectList = ref([ value: 10, unit: "°", img: new URL("@/assets/images/onlineSupervision/塔身倾角.png", import.meta.url).href, - prop: "dipAngleX" + prop: "dipAngleY" }, { name: "高度", diff --git a/src/views/goverment/liftSupervision/operatingData/index.vue b/src/views/goverment/liftSupervision/operatingData/index.vue index 3b2ef62..9f8d261 100644 --- a/src/views/goverment/liftSupervision/operatingData/index.vue +++ b/src/views/goverment/liftSupervision/operatingData/index.vue @@ -273,7 +273,7 @@ const aspectList = ref([ value: 10, unit: "°", img: new URL("@/assets/images/onlineSupervision/塔身倾角.png", import.meta.url).href, - prop: "dipAngleX" + prop: "dipAngleY" }, { name: "高度", diff --git a/src/views/project/liftSupervision/operatingData/index.vue b/src/views/project/liftSupervision/operatingData/index.vue index 860c827..fe6e18f 100644 --- a/src/views/project/liftSupervision/operatingData/index.vue +++ b/src/views/project/liftSupervision/operatingData/index.vue @@ -217,7 +217,7 @@ const aspectList = ref([ value: 10, unit: "°", img: new URL("@/assets/images/onlineSupervision/塔身倾角.png", import.meta.url).href, - prop: "dipAngleX" + prop: "dipAngleY" }, { name: "高度", @@ -293,7 +293,8 @@ const getMonitorList = async () => { const getAlarmList = async () => { let requestData = { pageNo: pages.value.pageNo, - pageSize: pages.value.pageSize + pageSize: pages.value.pageSize, + devId: equipInfo.value.id } as any; if (activeValue.value == "eng") { requestData.engineeringSn = searchSn.value; @@ -331,7 +332,6 @@ const getEquipList = async () => { equipList.value = []; } }; - // 获取设备信息 const getEquipInfo = async (obj: any) => { equipActive.value = equipList.value.findIndex(item => item.id == obj.id); @@ -407,6 +407,11 @@ const getengineering = async () => { searchSn.value = res.result[0].engineeringSn; } getEquipList(); + if (active.value === 0) { + getAlarmList(); + } else { + getMonitorList(); + } console.log(res); }; // 点击抽屉的工程名称更新页面