危险作业bug修改1

master
hs 2026-04-20 17:11:31 +08:00
parent 627ef2201f
commit c792b58e07
25 changed files with 41 additions and 28 deletions

View File

@ -41,10 +41,16 @@ class SpecialListInitData {
List<String> getInitData(SpecialWorkTypeEnum type) { List<String> getInitData(SpecialWorkTypeEnum type) {
List<String> list = [ List<String> list = [
// //
"work_place",// "work_place", //
"work_way", "work_way",
"workMonitor",
"hotWorkActUser",
"corpinfoId",
"projectExecutionLocationCorpId",
"projectExecutionLocationCorpName",
// //
"applyUnit", "applyDepartment",
"applyUser", "applyUser",
"checkNo", "checkNo",
"signStepFlag", "signStepFlag",
@ -121,11 +127,11 @@ class SpecialListInitData {
"number", "number",
"blindboardWorkParams", "blindboardWorkParams",
"applyUserSignImage", "applyUserSignImage",
]; ];
return list; return list;
} }
} }
bool isKF = true; bool isKF = false;

View File

@ -241,7 +241,7 @@ class _HotWorkDetailFormWidgetState extends State<HotWorkDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -301,7 +301,7 @@ class _DhWaitPageState extends State<DhWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请部门: ${hotInfo['applyUnit'] ?? ''}", "申请部门: ${hotInfo['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -863,7 +863,7 @@ class _HotworkApplyDetailState extends State<HotworkApplyDetail> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -980,6 +980,7 @@ class _HotworkApplyDetailState extends State<HotworkApplyDetail> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
}); });
} }
}, },

View File

@ -244,7 +244,7 @@ class _BreakgroundDetailFormWidgetState extends State<BreakgroundDetailFormWidge
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -980,7 +980,7 @@ class _DlApplyPageState extends State<DlApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -1118,6 +1118,7 @@ class _DlApplyPageState extends State<DlApplyPage> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
}); });
} }
}, },

View File

@ -354,7 +354,7 @@ class _DlWaitPageState extends State<DlWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -244,7 +244,7 @@ class _CutRoadDetailFormWidgetState extends State<CutRoadDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -977,7 +977,7 @@ class _DtApplyPageState extends State<DtApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -1039,6 +1039,7 @@ class _DtApplyPageState extends State<DtApplyPage> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
}); });
} }
}, },

View File

@ -334,7 +334,7 @@ class _DtWaitPageState extends State<DtWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -983,7 +983,7 @@ class _DzApplyPageState extends State<DzApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -1119,6 +1119,7 @@ class _DzApplyPageState extends State<DzApplyPage> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
}); });
} }
}, },

View File

@ -333,7 +333,7 @@ class _DzWaitPageState extends State<DzWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -244,7 +244,7 @@ class _HoistingDetailFormWidgetState extends State<HoistingDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -240,7 +240,7 @@ class _HeighWorkDetailFormWidgetState extends State<HeighWorkDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -936,7 +936,7 @@ class _GcApplyPageState extends State<GcApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -1097,6 +1097,7 @@ class _GcApplyPageState extends State<GcApplyPage> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
// //
if (FormUtils.hasValue(pd, 'workEndTime')) { if (FormUtils.hasValue(pd, 'workEndTime')) {
if (picked.isAfter( if (picked.isAfter(

View File

@ -318,7 +318,7 @@ class _GcWaitPageState extends State<GcWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -237,7 +237,7 @@ class _LsydWorkDetailFormWidgetState extends State<LsydWorkDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -1022,7 +1022,7 @@ class _LsydApplyPageState extends State<LsydApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -1130,6 +1130,7 @@ class _LsydApplyPageState extends State<LsydApplyPage> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
}); });
} }
}, },

View File

@ -352,7 +352,7 @@ class _LsydWaitPageState extends State<LsydWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -293,7 +293,7 @@ class _MbcdDetailFormWidgetState extends State<MbcdDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -1193,7 +1193,7 @@ class _MbcdApplyPageState extends State<MbcdApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
@ -1291,6 +1291,7 @@ class _MbcdApplyPageState extends State<MbcdApplyPage> {
pd['workStartTime'] = DateFormat( pd['workStartTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm:ss',
).format(picked); ).format(picked);
pd['workEndTime'] = '';
}); });
} }
}, },

View File

@ -333,7 +333,7 @@ class _MbcdWaitPageState extends State<MbcdWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,

View File

@ -303,7 +303,7 @@ class _SxkjWorkDetailFormWidgetState extends State<SxkjWorkDetailFormWidget> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -886,7 +886,7 @@ class _SxkjApplyPageState extends State<SxkjApplyPage> {
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(
label: '申请单位:', label: '申请单位:',
isEditable: false, isEditable: false,
text: pd['applyUnit'] ?? '', text: pd['applyDepartment'] ?? '',
), ),
const Divider(), const Divider(),
ItemListWidget.singleLineTitleText( ItemListWidget.singleLineTitleText(

View File

@ -296,7 +296,7 @@ class _SxkjWaitPageState extends State<SxkjWaitPage> {
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(
child: Text( child: Text(
"申请单位: ${info['applyUnit'] ?? ''}", "申请单位: ${info['applyDepartment'] ?? ''}",
textAlign: TextAlign.right, textAlign: TextAlign.right,
softWrap: true, softWrap: true,
maxLines: null, maxLines: null,