危险作业bug修改4

master
hs 2026-04-24 08:51:36 +08:00
parent 521eb5221b
commit ad1821a954
19 changed files with 289 additions and 261 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -47,7 +47,7 @@ class _workTabDhListState extends State<workTabDhList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.hotWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -46,7 +46,7 @@ class _WorkTabDlListState extends State<WorkTabDlList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.cutRoadWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -46,7 +46,7 @@ class _WorkTabDtListState extends State<WorkTabDtList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.breakgroundWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -46,7 +46,7 @@ class _WorkTabDzListState extends State<WorkTabDzList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.hoistingWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -46,7 +46,7 @@ class _WorkTabGcListState extends State<WorkTabGcList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.highWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -46,7 +46,7 @@ class _WorkTabLsydListState extends State<WorkTabLsydList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.electricityWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -46,7 +46,7 @@ class _WorkTabMbcdListState extends State<WorkTabMbcdList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.blindboardWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -49,7 +49,7 @@ class _WorkTabSpaceListState extends State<WorkTabSpaceList> {
_loading = true;
});
try {
final res = await SpecialWorkApi.getSpecialWorkStepList('confinedspace_work');
final res = await SpecialWorkApi.getSpecialWorkStepList(SpecialWorkTypeEnum.confinedspaceWork.code);
if (res != null && res['success'] == true) {
setState(() {
final rawData = res['data'] ?? [];

View File

@ -556,7 +556,11 @@ abstract class SpecialWorkApplyBaseState<T extends SpecialWorkApplyBasePage>
//
if (stepId == '20') {
allowChoosePersonList[0] = data;
if (allowChoosePersonList.length > 1) {
allowChoosePersonList[1] = data;
}else{
allowChoosePersonList.add(data);
}
_clearRelatedPartiesPerson();
} else if (stepId == '21') {
allowChoosePersonList[1] = data;

File diff suppressed because it is too large Load Diff