|
|
|
|
@ -272,7 +272,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>维护备注:</label>
|
|
|
|
|
<div class="form-value">{{ currentRecord.maintenance_notes || '-' }}</div>
|
|
|
|
|
<div class="form-value">{{ currentRecord.maintenance_content || '-' }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>维护照片:</label>
|
|
|
|
|
@ -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)
|
|
|
|
|
}
|
|
|
|
|
|