бяууу
parent
02176db5c5
commit
748b06b421
|
|
@ -109,6 +109,7 @@ struct MainTabViewer {
|
|||
material_tabs: MaterialTabViewer,
|
||||
material_tree: egui_dock::DockState<Tab>,
|
||||
rt: tokio::runtime::Runtime,
|
||||
equipment_modal_state: ModalWinState,
|
||||
is_dark_theme: bool,
|
||||
interface_scale_ratio: f32,
|
||||
}
|
||||
|
|
@ -296,6 +297,18 @@ struct WorkerTabViewer {
|
|||
edit_worker_is_fired: bool,
|
||||
edit_worker_position: Position,
|
||||
|
||||
equipment_modal_state: ModalWinState {
|
||||
is_open: false,
|
||||
can_finish: false,
|
||||
data: HashMap::from([
|
||||
("id".to_owned(), String::new()),
|
||||
("inv_number".to_owned(), String::new()),
|
||||
("maintenance_date".to_owned(), String::new()),
|
||||
("worker_id".to_owned(), String::new()),
|
||||
]),
|
||||
status: ModalStatus::Add
|
||||
},
|
||||
|
||||
rt: tokio::runtime::Runtime,
|
||||
show_position_delete_modal: bool,
|
||||
delete_position: Position,
|
||||
|
|
|
|||
Loading…
Reference in New Issue