智能设备页面 接口添加type

This commit is contained in:
jiayu 2024-09-20 15:32:44 +08:00
parent 760586bdbe
commit 38461fd32f

View File

@ -869,6 +869,7 @@ let yData2 = ref([0, 0, 0, 0, 0, 0, 0] as any); //静默报警
let yData3 = ref([0, 0, 0, 0, 0, 0, 0] as any); //
function getWeekAlarmData() {
let data = {
type: 1, // (1;2:)
projectSn: store.sn
};
getWeekAlarmDataApi(data).then(res => {
@ -1175,6 +1176,7 @@ function getFenceList() {
// --
function getFenceType() {
let data = {
type: 1, // (1;2:)
projectSn: store.sn
};
getSafeHatTypeTotalApi(data).then(res => {
@ -1237,6 +1239,7 @@ function getCrewListData() {
}
let data = {
online: onlineType,
type: 1, // (1;2:)
projectSn: store.sn
};
console.log("👇智能安全帽--分类查询设备列表--查询参数");
@ -1294,7 +1297,7 @@ function getProgressListData() {
// pageNo: pagInfo.value.pageNo,
// pageSize: pagInfo.value.pageSize,
devSns: alarmDevSn.value,
type: 1, // (1;2:)
projectSn: store.sn
};
getAlarmRecordInfoApi(data).then(res => {