diff --git a/lib/customWidget/ItemWidgetFactory.dart b/lib/customWidget/ItemWidgetFactory.dart index 466d3e0..831a870 100644 --- a/lib/customWidget/ItemWidgetFactory.dart +++ b/lib/customWidget/ItemWidgetFactory.dart @@ -40,14 +40,13 @@ class ListItemFactory { ], ), if (isRight) - Row( mainAxisSize: MainAxisSize.min, children: [ Flexible( fit: FlexFit.loose, child: Text( - rightText, + _truncateText(rightText,17) , style: TextStyle(fontSize: 13, color: Colors.grey), maxLines: 1, overflow: TextOverflow.ellipsis, @@ -65,7 +64,7 @@ class ListItemFactory { Flexible( fit: FlexFit.loose, child: Text( - rightText, + _truncateText(rightText,17) , style: TextStyle(fontSize: 13, color: Colors.grey), maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/http/ApiService.dart b/lib/http/ApiService.dart index 90bc7c7..19fa315 100644 --- a/lib/http/ApiService.dart +++ b/lib/http/ApiService.dart @@ -2883,6 +2883,7 @@ U6Hzm1ninpWeE+awIDAQAB "CHECK_CONTENT": item["CHECK_CONTENT"] ?? "", "CHECK_STANDARD": item["CHECK_STANDARD"] ?? "", "REFERENCE_BASIS": item["REFERENCE_BASIS"] ?? "", + "SOURCE": '2', "STATE": '0', "CLEARIMG": '1', @@ -3108,6 +3109,7 @@ U6Hzm1ninpWeE+awIDAQAB String hiddenType3, result, ) { + print("======>$type"); return HttpManager().request( basePath, @@ -3120,10 +3122,12 @@ U6Hzm1ninpWeE+awIDAQAB "HIDDEN_CATEGORY": result["HIDDEN_CATEGORY"] ?? '', "LISTMANAGER_ID": item["LISTMANAGER_ID"], - "RISKITEM_ID": result["LISTCHECKITEM_ID"], + "RISKITEM_ID": item["LISTCHECKITEM_ID"], "CHECK_CONTENT": item["CHECK_CONTENT"] ?? "", "RECORDITEM_ID": item["RECORDITEM_ID"] ?? "", + + "HIDDENDESCR": hazardDescription, "HIDDENPART": partDescription, "LATITUDE": latitude, diff --git a/lib/http/HttpManager.dart b/lib/http/HttpManager.dart index 052e651..08a3ac1 100644 --- a/lib/http/HttpManager.dart +++ b/lib/http/HttpManager.dart @@ -96,6 +96,7 @@ class HttpManager { ); try { + print("======>$data"); switch (method) { case Method.get: resp = await _dio.get(url, diff --git a/lib/pages/app/hidden_danger_acceptance_page.dart b/lib/pages/app/hidden_danger_acceptance_page.dart index 1a3c4e1..89b99ba 100644 --- a/lib/pages/app/hidden_danger_acceptance_page.dart +++ b/lib/pages/app/hidden_danger_acceptance_page.dart @@ -557,7 +557,7 @@ class _HiddenDangerAcceptancePageState extends State String hiddenCheckId=""; try{ - data['check']['HIDDENCHECK_ID']; + hiddenCheckId= data['check']['HIDDENCHECK_ID']; }catch(e){ hiddenCheckId=""; } diff --git a/lib/pages/app/pending_rectification_detail_page.dart b/lib/pages/app/pending_rectification_detail_page.dart index ce558bd..b2c59fe 100644 --- a/lib/pages/app/pending_rectification_detail_page.dart +++ b/lib/pages/app/pending_rectification_detail_page.dart @@ -213,14 +213,14 @@ class _PendingRectificationDetailPageState extends State { } if (hasNoSelectItem) { - ToastUtil.showNormal(context, "还有位选择的排查项"); + ToastUtil.showNormal(context, "还有未选择的排查项"); LoadingDialogHelper.hide(); return; }