Compare commits

..

No commits in common. "fe973c0cfd5ec0f90a893eccddf7b49a8c8cd127" and "1c4d4f1889570d255eae7f835aff7d2f57fabc3c" have entirely different histories.

9 changed files with 11 additions and 12 deletions

View File

@ -444,7 +444,7 @@ class _SafeProtectionModuleState extends State<SafeProtectionModule> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -366,7 +366,7 @@ class _DlApplyPageState extends SpecialWorkApplyBaseState<DlApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -352,7 +352,7 @@ class _DtApplyPageState extends SpecialWorkApplyBaseState<DtApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -363,7 +363,7 @@ class _DzApplyPageState extends SpecialWorkApplyBaseState<DzApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -336,7 +336,7 @@ class _GcApplyPageState extends SpecialWorkApplyBaseState<GcApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -388,7 +388,7 @@ class _LsydApplyPageState extends SpecialWorkApplyBaseState<LsydApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -405,7 +405,7 @@ class _MbcdApplyPageState extends SpecialWorkApplyBaseState<MbcdApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
}else if (item['userType'] == 1){ }else{
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -410,7 +410,7 @@ class _SxkjApplyPageState extends SpecialWorkApplyBaseState<SxkjApplyPage> {
// //
if (item['userType'] == 2) { if (item['userType'] == 2) {
firmList.add(item); firmList.add(item);
} else if (item['userType'] == 1){ } else {
xgfList.add(item); xgfList.add(item);
} }
} }

View File

@ -232,7 +232,9 @@ abstract class SpecialWorkApplyBaseState<T extends SpecialWorkApplyBasePage>
pd['signStepFlag'] = 2; pd['signStepFlag'] = 2;
pd['gasFlag'] = pd['gasFlag'] ?? 2; pd['gasFlag'] = pd['gasFlag'] ?? 2;
levelList = List<dynamic>.from(pd['taskWorkLevels'] ?? []); levelList = List<dynamic>.from(pd['taskWorkLevels'] ?? []);
pd['applyTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss',
).format(DateTime.now());
if (enableSafeProtection) { if (enableSafeProtection) {
await safeController.loadFromRaw( await safeController.loadFromRaw(
pd['preparers'] ?? pd['PREPARERS'] ?? [], pd['preparers'] ?? pd['PREPARERS'] ?? [],
@ -245,9 +247,6 @@ abstract class SpecialWorkApplyBaseState<T extends SpecialWorkApplyBasePage>
pd['workLevel'] = item['workLevel']; pd['workLevel'] = item['workLevel'];
} }
} }
pd['applyTime'] = DateFormat(
'yyyy-MM-dd HH:mm:ss',
).format(DateTime.now());
if (FormUtils.hasValue(pd, 'workLevel')) { if (FormUtils.hasValue(pd, 'workLevel')) {
await getFlowInit(false); await getFlowInit(false);