|
|
@ -1,17 +1,17 @@ |
|
|
import request from '@/config/axios' |
|
|
|
|
|
import type { Dayjs } from 'dayjs'; |
|
|
|
|
|
|
|
|
import request from '@/config/axios' |
|
|
|
|
|
|
|
|
/** GAS手持探测器推送信息 */ |
|
|
/** GAS手持探测器推送信息 */ |
|
|
export interface AlarmMessage { |
|
|
export interface AlarmMessage { |
|
|
id: number; // 主键ID
|
|
|
|
|
|
detectorId: number; // 手持表id
|
|
|
|
|
|
name: string; // 持有人名称
|
|
|
|
|
|
sn: string; // 设备编号
|
|
|
|
|
|
message: string; // 消息
|
|
|
|
|
|
pushSnList: string; // 推送设备sn,逗号分割
|
|
|
|
|
|
remark: string; // 备注
|
|
|
|
|
|
deptId: number; // 部门id
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
id?: number // 主键ID
|
|
|
|
|
|
detectorId?: number // 手持表id
|
|
|
|
|
|
name?: string // 持有人名称
|
|
|
|
|
|
sn?: string // 设备编号
|
|
|
|
|
|
message?: string // 消息
|
|
|
|
|
|
pushSnList?: string // 推送设备sn,逗号分割
|
|
|
|
|
|
remark?: string // 备注
|
|
|
|
|
|
deptId?: number // 部门id
|
|
|
|
|
|
deptName?: string // 部门名称
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// GAS手持探测器推送 API
|
|
|
// GAS手持探测器推送 API
|
|
|
export const AlarmMessageApi = { |
|
|
export const AlarmMessageApi = { |
|
|
@ -49,4 +49,4 @@ export const AlarmMessageApi = { |
|
|
exportAlarmMessage: async (params) => { |
|
|
exportAlarmMessage: async (params) => { |
|
|
return await request.download({ url: `/gas/alarm-message/export-excel`, params }) |
|
|
return await request.download({ url: `/gas/alarm-message/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
|