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)
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,

View File

@ -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,

View File

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

View File

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

View File

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

View File

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