| app/src/main/java/com/xw/yunwei/model/TaskNormalMaintainModel.kt | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| app/src/main/res/layout/layout_normal_task_maintain_detail.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
app/src/main/java/com/xw/yunwei/model/TaskNormalMaintainModel.kt
@@ -1,6 +1,7 @@ package com.xw.yunwei.model import com.google.gson.annotations.SerializedName import com.xw.yunwei.extension.dateChangePattern /** * 常规任务任务整备详情 @@ -199,4 +200,9 @@ */ @SerializedName("vehicleLocation") val vehicleLocation: String? = null ) ) { //获取显示操作时间 fun getShowOperationsTime(): String?{ return operationsTime?.dateChangePattern("yyyy-MM-dd HH:mm:ss","yyyy/MM/dd HH:mm:ss") } } app/src/main/res/layout/layout_normal_task_maintain_detail.xml
@@ -391,7 +391,7 @@ android:gravity="end" android:maxLines="1" android:singleLine="true" android:text="@{viewModel.maintainModel.operationsTime}" android:text="@{viewModel.maintainModel.getShowOperationsTime()}" tools:text="2026-2-5 17:47:08" android:textColor="@color/gray_9" android:textSize="@dimen/sp_14" />