interface TableDataRow {
|
name: string;
|
points: number;
|
}
|
export interface TableDataState {
|
tableData: {
|
data: Array<TableDataRow>
|
}
|
}
|
export interface SetState {
|
title: string;
|
isShowUserDialog: boolean;
|
disabled: boolean;
|
setForm: {
|
name: string;
|
points: number;
|
};
|
setFormRules:{},
|
}
|
|
export interface TableDataPeople {
|
id: string;
|
name: string;
|
phone: string;
|
}
|
export interface PeopleDataState {
|
tableData: {
|
data: Array<TableDataPeople>
|
total: number;
|
loading: boolean;
|
listQuery: {
|
pageIndex: number;
|
pageSize: number;
|
searchParams:{
|
name: string
|
}
|
};
|
}
|
}
|
|
export interface PeopleState {
|
title: string;
|
isShowUserDialog: boolean;
|
disabled: boolean;
|
peopleForm: {
|
name: string;
|
phone: string;
|
};
|
setFormRules:{},
|
peopleList: Array<TableDataPeople>
|
}
|
|
export interface TableDataInfo {
|
id: string;
|
content: string;
|
warningTime: string;
|
name: string;
|
ppm: string;
|
level: string;
|
notifier: string;
|
managePeople: string;
|
manageTime: string;
|
status: string;
|
method?: string;
|
}
|
export interface InfoDataState {
|
tableData: {
|
data: Array<TableDataInfo>
|
total: number;
|
loading: boolean;
|
listQuery: {
|
pageIndex: number;
|
pageSize: number;
|
searchParams:{
|
time: [];
|
level: string;
|
status: string;
|
gas: string;
|
}
|
};
|
levelList: Array<any>;
|
statusList: Array<any>;
|
gasList: Array<any>;
|
}
|
}
|
|
export interface people {
|
id: string;
|
name: string;
|
}
|
export interface InfoState {
|
title: string;
|
isShowUserDialog: boolean;
|
disabled: boolean;
|
infoForm: {
|
name: string;
|
method: string;
|
};
|
setFormRules:{},
|
peopleList: Array<people>
|
}
|