2026.5.25 重点作业隐患打回图片bug
parent
644e8750e6
commit
d558bd0553
|
|
@ -986,6 +986,17 @@ class _KeyTasksHiddenDangerDetailState extends State<KeyTasksHiddenDangerDetail>
|
|||
);
|
||||
}
|
||||
|
||||
late bool isSuccess = true;
|
||||
List<String> ids = files2.map((file) => file['id'].toString()).toList();
|
||||
await FileApi.deleteImages(ids).then((result) {
|
||||
if (result['success']) {
|
||||
isSuccess = true;
|
||||
} else {
|
||||
isSuccess = false;
|
||||
}
|
||||
});
|
||||
// await FileApi.deleteImages(ids);
|
||||
LoadingDialogHelper.hide();
|
||||
|
||||
LoadingDialogHelper.show();
|
||||
final Map<String, dynamic> raw = await KeyTasksApi.setHiddenDangerRectification(hiddenDangerRectification,);
|
||||
|
|
|
|||
Loading…
Reference in New Issue