2026.5.15 重点作业

master
xufei 2026-05-15 15:56:15 +08:00
parent fbea819dea
commit d56cf51d75
3 changed files with 6 additions and 3 deletions

View File

@ -281,9 +281,12 @@ class HomePageState extends RouteAwareState<HomePage>
const myIndex = 0;
if (current != myIndex) return;
//
_getToDoWorkList(pcType);
}
Future<void> _onRefresh() async {
_getToDoWorkList(pcType);
await Future.delayed(const Duration(seconds: 1));
}

View File

@ -194,7 +194,7 @@ class _KeyTaskesDangerPageState extends State<KeyTaskesDangerPage> {
final data = result['data'];
setState(() {
addData['rectificationDepartmentId'] = data['rectificationDepartmentId'];
addData['rectificationDepartmentName'] = data['rectificationDepartmentName'];
addData['rectificationDeptName'] = data['rectificationDepartmentName'];
addData['rectificationUserId'] = data['rectificationUserId'];
addData['rectificationUserName'] = data['rectificationUserName'];
@ -603,7 +603,7 @@ class _KeyTaskesDangerPageState extends State<KeyTaskesDangerPage> {
ItemListWidget.selectableLineTitleTextRightButton(
isRequired: widget.isEdit,
label: "隐患发现人",
text: FormUtils.hasValue(addData, 'hiddenFindUserdName') ? addData['hiddenFindUserdName'] : "请选择",
text: FormUtils.hasValue(addData, 'hiddenFindUserName') ? addData['hiddenFindUserName'] : "请选择",
isEditable: widget.isEdit,
onTap: () async {
final List<String> result = [];

View File

@ -177,7 +177,7 @@ class _KeyTasksConfirmListPageState extends State<KeyTasksConfirmListPage> {
const SizedBox(height: 8),
_buildItemChild('移动视频数:',((item['mobileCameraIdList']??[]).length).toString()),
const SizedBox(height: 8),
_buildItemChild('申请时间:',item['createTime']??""),
_buildItemChild('申请时间:',(item['createTime']??"").replaceFirst('T', ' ')),
const SizedBox(height: 8),
_buildItemChild('状态:',_getState(item)),