diff --git a/src/views/maintenance/maintenance_records.vue b/src/views/maintenance/maintenance_records.vue index 050d801..507e22c 100644 --- a/src/views/maintenance/maintenance_records.vue +++ b/src/views/maintenance/maintenance_records.vue @@ -272,7 +272,7 @@
-
{{ currentRecord.maintenance_notes || '-' }}
+
{{ currentRecord.maintenance_content || '-' }}
@@ -890,10 +890,10 @@ export default { const diffDays = this.getDateDifferenceInDays(planDate) return diffDays >= 0 ? 'badge-blue' : 'badge-red' }, - getBadgeText(planDate) { + getBadgeText(planDate) { if(!planDate){ return '-' - } + } const diffDays = this.getDateDifferenceInDays(planDate) return diffDays >= 0 ? `还有 ${diffDays} 天` : `已超期 ${Math.abs(diffDays)} 天` }, @@ -1129,7 +1129,7 @@ export default { sort_type: 'ASC', sort_name: 'sort' }) - + if (res) { this.fenleiList = this.removeEmptyChildren(res) }