危险作业需求变更bug0616

master
hs 2026-06-16 18:00:10 +08:00
parent 5edff0f2e2
commit 6329582dcf
9 changed files with 12 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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