interface TableDataRow {
|
id: string;
|
name: string;
|
threshold: number;
|
}
|
export interface TableDataState {
|
tableData: {
|
data: Array<TableDataRow>
|
}
|
}
|
export interface SetState {
|
title: string;
|
isShowUserDialog: boolean;
|
disabled: boolean;
|
setForm: {
|
id: string;
|
name: string;
|
threshold: number;
|
};
|
setFormRules:{},
|
}
|
|
export interface TableDataPeople {
|
id: string;
|
name: string;
|
phone: string;
|
realName: string;
|
userId: string;
|
}
|
export interface PeopleDataState {
|
tableData: {
|
data: Array<TableDataPeople>
|
total: number;
|
loading: boolean;
|
listQuery: {
|
pageIndex: number;
|
pageSize: number;
|
searchParams:{
|
realName: string
|
}
|
};
|
}
|
}
|
|
export interface PeopleState {
|
title: string;
|
isShowUserDialog: boolean;
|
disabled: boolean;
|
peopleForm: {
|
id: string;
|
name: string;
|
phone: string;
|
realName: string;
|
};
|
setFormRules:{},
|
peopleList: Array<TableDataPeople>
|
}
|
|
|
export interface UsersInfo {
|
id: string;
|
warnLogId: string;
|
warnUserId: string;
|
warnUserName: string;
|
warnUserRealName: string;
|
warnUserPhone: string;
|
}
|
export interface TableDataInfo {
|
id: string;
|
content: string;
|
warnTime: string;
|
gasName: string;
|
gasConcentration: string;
|
gasThresholdId: string;
|
handlerName: string;
|
handlerRealName: string;
|
handlerTime: string;
|
status: string;
|
method?: string;
|
gasWarnLogSmsUsers: Array<UsersInfo>
|
}
|
export interface InfoDataState {
|
tableData: {
|
data: Array<TableDataInfo>
|
total: number;
|
loading: boolean;
|
listQuery: {
|
pageIndex: number;
|
pageSize: number;
|
searchParams:{
|
time: string[];
|
level: string;
|
status: string;
|
gas: string;
|
}
|
};
|
levelList: Array<any>;
|
statusList: Array<any>;
|
gasList: Array<any>;
|
}
|
}
|
|
export interface people {
|
id: string;
|
name: string;
|
realName: string;
|
}
|
export interface InfoState {
|
title: string;
|
isShowUserDialog: boolean;
|
disabled: boolean;
|
infoForm: {
|
id: string;
|
name: string;
|
method: string;
|
};
|
setFormRules:{},
|
peopleList: Array<people>
|
}
|