多语言
This commit is contained in:
@@ -71,7 +71,7 @@ class RepairHistoryWidget extends GetView<RepairInfoController> {
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
Text(
|
||||
"提交时间:" +
|
||||
"提交时间:".tr +
|
||||
(MyUtils.formatTimestamp(repairListController
|
||||
.model.repairList[index]["create_time"]) ??
|
||||
''),
|
||||
@@ -116,19 +116,19 @@ class RepairHistoryWidget extends GetView<RepairInfoController> {
|
||||
String getStatusText(dynamic status) {
|
||||
switch (status?.toString()) {
|
||||
case '1':
|
||||
return '审核中';
|
||||
return '审核中'.tr;
|
||||
case '2':
|
||||
return '审核通过';
|
||||
return '审核通过'.tr;
|
||||
case '3':
|
||||
return '维修中';
|
||||
return '维修中'.tr;
|
||||
case '4':
|
||||
return '维修完成';
|
||||
return '维修完成'.tr;
|
||||
case '5':
|
||||
return '已完成';
|
||||
return '已完成'.tr;
|
||||
case '6':
|
||||
return '已评价';
|
||||
return '已评价'.tr;
|
||||
default:
|
||||
return '未知状态';
|
||||
return '未知状态'.tr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user