2026.7.24 截取字段数修改
parent
f097eaddf1
commit
e4f3111dd8
|
|
@ -802,8 +802,8 @@ class _KeyTasksConfirmDetailPageState extends State<KeyTasksConfirmDetailPage> {
|
|||
return '协议${index + 1}';
|
||||
}
|
||||
final fileName = item['fileName'] ?? '协议${index + 1}';
|
||||
if (fileName.length > 21) {
|
||||
return '${fileName.substring(0, 21)}...';
|
||||
if (fileName.length > 10) {
|
||||
return '${fileName.substring(0, 10)}...';
|
||||
}
|
||||
return fileName;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ class _DoorcarTabPageState extends State<KeyTasksTabPage> {
|
|||
// 重点作业管理
|
||||
final gateSection = defaultSections[0];
|
||||
|
||||
// // 重点作业申请
|
||||
// 重点作业申请
|
||||
gateSection.items[0].badge = int.parse(data['zdzysqCount']??0);
|
||||
// 确认
|
||||
gateSection.items[1].badge = int.parse(data['bjcrqrCount']??0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue