智能设备页面 接口添加type

This commit is contained in:
jiayu 2024-09-20 15:35:13 +08:00
parent e9053b0d2f
commit d3e0c333ca
2 changed files with 6 additions and 2 deletions

View File

@ -136,6 +136,7 @@ body,
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: siyuan; font-family: siyuan;
background: #00021e;
.el-message__badge { .el-message__badge {
display: none; display: none;
} }

View File

@ -827,6 +827,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); // let yData3 = ref([0, 0, 0, 0, 0, 0, 0] as any); //
function getWeekAlarmData() { function getWeekAlarmData() {
let data = { let data = {
type: 1, // (1;2:)
projectSn: store.sn projectSn: store.sn
}; };
getWeekAlarmDataApi(data).then(res => { getWeekAlarmDataApi(data).then(res => {
@ -1133,6 +1134,7 @@ function getFenceList() {
// -- // --
function getFenceType() { function getFenceType() {
let data = { let data = {
type: 1, // (1;2:)
projectSn: store.sn projectSn: store.sn
}; };
getSafeHatTypeTotalApi(data).then(res => { getSafeHatTypeTotalApi(data).then(res => {
@ -1195,6 +1197,7 @@ function getCrewListData() {
} }
let data = { let data = {
online: onlineType, online: onlineType,
type: 1, // (1;2:)
projectSn: store.sn projectSn: store.sn
}; };
console.log("👇智能安全帽--分类查询设备列表--查询参数"); console.log("👇智能安全帽--分类查询设备列表--查询参数");
@ -1239,7 +1242,7 @@ function getProgressListData() {
// pageNo: pagInfo.value.pageNo, // pageNo: pagInfo.value.pageNo,
// pageSize: pagInfo.value.pageSize, // pageSize: pagInfo.value.pageSize,
devSns: alarmDevSn.value, devSns: alarmDevSn.value,
type: 1, // (1;2:)
projectSn: store.sn projectSn: store.sn
}; };
getAlarmRecordInfoApi(data).then(res => { getAlarmRecordInfoApi(data).then(res => {