This commit is contained in:
kun 2023-09-09 18:11:52 +08:00
commit 33ce7a23ed
3 changed files with 10 additions and 5 deletions

View File

@ -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: "高度",

View File

@ -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: "高度",

View File

@ -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);
};
//