master
Алексей Алексей 2026-06-13 11:38:34 +10:00
parent dbfd519e35
commit a2dc893113
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,9 @@ impl WorkerTabViewer {
if ui.button("Добавить").clicked() { if ui.button("Добавить").clicked() {
self.process_worker_state.is_open = true; self.process_worker_state.is_open = true;
self.process_worker_state.data.insert("id".to_string(), "0".to_string()); self.process_worker_state.data.insert("id".to_string(), "0".to_string());
self.process_worker_ self.process_worker_state.data.insert("full_name".to_string(), String::new());
self.process_worker_state.data.insert("hire_date".to_string(), String::new());
}; };
if ui.button("Обновить").clicked() { if ui.button("Обновить").clicked() {
self.update_workers(); self.update_workers();