2025.9.2 bug修改

main
xufei 2025-09-02 14:42:47 +08:00
parent 1a4cebae9c
commit d05e6d301d
6 changed files with 18 additions and 14 deletions

View File

@ -40,14 +40,13 @@ class ListItemFactory {
], ],
), ),
if (isRight) if (isRight)
Row( Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
Flexible( Flexible(
fit: FlexFit.loose, fit: FlexFit.loose,
child: Text( child: Text(
rightText, _truncateText(rightText,17) ,
style: TextStyle(fontSize: 13, color: Colors.grey), style: TextStyle(fontSize: 13, color: Colors.grey),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
@ -65,7 +64,7 @@ class ListItemFactory {
Flexible( Flexible(
fit: FlexFit.loose, fit: FlexFit.loose,
child: Text( child: Text(
rightText, _truncateText(rightText,17) ,
style: TextStyle(fontSize: 13, color: Colors.grey), style: TextStyle(fontSize: 13, color: Colors.grey),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,

View File

@ -2883,6 +2883,7 @@ U6Hzm1ninpWeE+awIDAQAB
"CHECK_CONTENT": item["CHECK_CONTENT"] ?? "", "CHECK_CONTENT": item["CHECK_CONTENT"] ?? "",
"CHECK_STANDARD": item["CHECK_STANDARD"] ?? "", "CHECK_STANDARD": item["CHECK_STANDARD"] ?? "",
"REFERENCE_BASIS": item["REFERENCE_BASIS"] ?? "", "REFERENCE_BASIS": item["REFERENCE_BASIS"] ?? "",
"SOURCE": '2', "SOURCE": '2',
"STATE": '0', "STATE": '0',
"CLEARIMG": '1', "CLEARIMG": '1',
@ -3108,6 +3109,7 @@ U6Hzm1ninpWeE+awIDAQAB
String hiddenType3, String hiddenType3,
result, result,
) { ) {
print("======>$type"); print("======>$type");
return HttpManager().request( return HttpManager().request(
basePath, basePath,
@ -3120,10 +3122,12 @@ U6Hzm1ninpWeE+awIDAQAB
"HIDDEN_CATEGORY": result["HIDDEN_CATEGORY"] ?? '', "HIDDEN_CATEGORY": result["HIDDEN_CATEGORY"] ?? '',
"LISTMANAGER_ID": item["LISTMANAGER_ID"], "LISTMANAGER_ID": item["LISTMANAGER_ID"],
"RISKITEM_ID": result["LISTCHECKITEM_ID"], "RISKITEM_ID": item["LISTCHECKITEM_ID"],
"CHECK_CONTENT": item["CHECK_CONTENT"] ?? "", "CHECK_CONTENT": item["CHECK_CONTENT"] ?? "",
"RECORDITEM_ID": item["RECORDITEM_ID"] ?? "", "RECORDITEM_ID": item["RECORDITEM_ID"] ?? "",
"HIDDENDESCR": hazardDescription, "HIDDENDESCR": hazardDescription,
"HIDDENPART": partDescription, "HIDDENPART": partDescription,
"LATITUDE": latitude, "LATITUDE": latitude,

View File

@ -96,6 +96,7 @@ class HttpManager {
); );
try { try {
print("======>$data");
switch (method) { switch (method) {
case Method.get: case Method.get:
resp = await _dio.get(url, resp = await _dio.get(url,

View File

@ -557,7 +557,7 @@ class _HiddenDangerAcceptancePageState extends State<HiddenDangerAcceptancePage>
String hiddenCheckId=""; String hiddenCheckId="";
try{ try{
data['check']['HIDDENCHECK_ID']; hiddenCheckId= data['check']['HIDDENCHECK_ID'];
}catch(e){ }catch(e){
hiddenCheckId=""; hiddenCheckId="";
} }

View File

@ -213,14 +213,14 @@ class _PendingRectificationDetailPageState extends State<PendingRectificationDet
Divider(height: 1), Divider(height: 1),
// //
if (pd['SOURCE'] == '2') ...[ if (pd['SOURCE'] == '2') ...[
// _buildInfoItem('风险点(单元)', pd['RISK_UNIT'] ?? ''), _buildInfoItem('风险点(单元)', pd['RISK_UNIT'] ?? ''),
// Divider(height: 1), Divider(height: 1),
// _buildInfoItem('辨识部位', pd['IDENTIFICATION'] ?? ''), _buildInfoItem('辨识部位', pd['IDENTIFICATION'] ?? ''),
// Divider(height: 1), Divider(height: 1),
// _buildInfoItem('存在风险', pd['RISK_DESCR'] ?? ''), _buildInfoItem('存在风险', pd['RISK_DESCR'] ?? ''),
// Divider(height: 1), Divider(height: 1),
// _buildInfoItem('风险分级', pd['LEVEL'] ?? ''), _buildInfoItem('风险分级', pd['LEVEL'] ?? ''),
// Divider(height: 1), Divider(height: 1),
_buildInfoItem('检查内容', pd['CHECK_CONTENT'] ?? ''), _buildInfoItem('检查内容', pd['CHECK_CONTENT'] ?? ''),
Divider(height: 1), Divider(height: 1),
], ],

View File

@ -580,7 +580,7 @@ class _DangerProjectPageState extends State<DangerProjectPage> {
} }
if (hasNoSelectItem) { if (hasNoSelectItem) {
ToastUtil.showNormal(context, "还有选择的排查项"); ToastUtil.showNormal(context, "还有选择的排查项");
LoadingDialogHelper.hide(); LoadingDialogHelper.hide();
return; return;
} }