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; const myIndex = 0;
if (current != myIndex) return; if (current != myIndex) return;
// //
_getToDoWorkList(pcType);
} }
Future<void> _onRefresh() async { Future<void> _onRefresh() async {
_getToDoWorkList(pcType);
await Future.delayed(const Duration(seconds: 1)); await Future.delayed(const Duration(seconds: 1));
} }

View File

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

View File

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