2025.9.10

main
xufei 2025-09-10 13:50:14 +08:00
parent a77758104e
commit 9c3804e3fe
1 changed files with 94 additions and 3 deletions

View File

@ -1257,6 +1257,19 @@ U6Hzm1ninpWeE+awIDAQAB
);
}
/// list
static Future<Map<String, dynamic>> removeList() {
return HttpManager().request(
basePath,
'/dictionaries/listSelectTreeByTkiTree?tm=${DateTime.now().millisecondsSinceEpoch.toString()}',
method: Method.post,
data: {
"DICTIONARIES_ID": '60e6481d96e44a5390ff5c347c4d1ffe',
"tm": DateTime.now().millisecondsSinceEpoch.toString(),
},
);
}
///
static Future<Map<String, dynamic>> getSafeCheckToUnitList(
String OUTSOURCED_ID,
@ -1957,7 +1970,7 @@ U6Hzm1ninpWeE+awIDAQAB
"USER_ID": SessionService.instance.loginUserId,
"ISMAIN": 0,
"ISSUPERVISE": 0,
"DEPARTMENT_ID": SessionService.instance.corpinfoId,
"DEPARTMENT_ID": SessionService.instance.deptId,
"TYPE": 'show',
},
);
@ -2444,12 +2457,40 @@ U6Hzm1ninpWeE+awIDAQAB
String hiddenType3,
Map data,
) {
print("======>"+{
// ...data,
"HIDDEN_ID": "",
"SOURCE": '1',
"HIDDENDESCR": hazardDescription,
"HIDDENPART": partDescription,
"LATITUDE": latitude,
"LONGITUDE": longitude,
"RECTIFYDESCR": dangerDetail,
"RECTIFICATIONDEADLINE": dataTime,
"RECTIFICATIONTYPE": type,
"RECTIFICATIONOR": responsibleId,
"HIDDENTYPE": yinHuanTypeIds,
"HIDDENLEVEL": hazardLeve,
"RECTIFICATIONDEPT": buMenId,
"HIDDENFINDDEPT": buMenPDId.isNotEmpty ? buMenPDId : buMenId,
"CREATOR": SessionService.instance.loginUserId,
"HIDDENTYPE_NAME": yinHuanTypeNames,
"HIDDENTYPE1": hiddenType1,
"HIDDENTYPE2": hiddenType2,
"HIDDENTYPE3": hiddenType3,
"CORPINFO_ID": SessionService.instance.corpinfoId,
"USER_ID": SessionService.instance.loginUserId,
}.toString());
return HttpManager().request(
basePath,
'/app/hidden/riskListCheckAppAdd',
method: Method.post,
data: {
...data,
// ...data,
"HIDDEN_ID": "",
"SOURCE": '1',
"HIDDENDESCR": hazardDescription,
@ -2478,6 +2519,29 @@ U6Hzm1ninpWeE+awIDAQAB
);
}
///
static Future<Map<String, dynamic>> addHazardAcceptanceZero(
String type,
String miaoshu,
String dataTime,
String id,
) {
return HttpManager().request(
basePath,
'/app/hidden/check',
method: Method.post,
data: {
"ISQUALIFIED": type,
"CHECKDESCR": miaoshu,
"CHECK_TIME": dataTime,
"HIDDEN_ID": id,
"CHECKOR": SessionService.instance.loginUserId,
"CORPINFO_ID": SessionService.instance.corpinfoId,
"USER_ID": SessionService.instance.loginUserId,
},
);
}
///
static Future<Map<String, dynamic>> addHazardAcceptance(
String type,
@ -2501,6 +2565,32 @@ U6Hzm1ninpWeE+awIDAQAB
);
}
///
static Future<Map<String, dynamic>> addHazardAcceptanceTwo(
String type,
String miaoshu,
String dataTime,
String id,
String hiddendescr,
) {
return HttpManager().request(
basePath,
'/app/customHidden/check',
method: Method.post,
data: {
"ISQUALIFIED": type,
"CHECKDESCR": miaoshu,
"CHECK_TIME": dataTime,
"HIDDEN_ID": id,
"CHECKOR": SessionService.instance.loginUserId,
"CORPINFO_ID": SessionService.instance.corpinfoId,
"USER_ID": SessionService.instance.loginUserId,
"HIDDENDESCR":hiddendescr,
},
);
}
///
static Future<Map<String, dynamic>> getHazardInspectionRecordList(
int currentPage,
@ -2891,7 +2981,8 @@ U6Hzm1ninpWeE+awIDAQAB
"HIDDENTYPE": yinHuanTypeIds,
"HIDDENLEVEL": hazardLeve,
"RECTIFICATIONDEPT": buMenId,
"HIDDENFINDDEPT": buMenPDId.isNotEmpty ? buMenPDId : buMenId,
// "HIDDENFINDDEPT": buMenPDId.isNotEmpty ? buMenPDId : buMenId,
"HIDDENFINDDEPT": buMenId,
"CREATOR": SessionService.instance.loginUserId,
"HIDDENTYPE_NAME": yinHuanTypeNames,