| src/views/tickets/ticket.vue | ●●●●● patch | view | raw | blame | history |
src/views/tickets/ticket.vue
@@ -869,7 +869,11 @@ formattedDetailFields () { const fields = [ { label: '工单名称', value: this.currentDetail.orderName }, { label: '工单类型', value: this.currentDetail.type }, { label: '工单类型', // 修改这里:使用 types 数组查找对应的 label value: this.types.find(t => t.value === this.currentDetail.type)?.label || this.currentDetail.type || '/' }, { label: '关联任务', value: this.currentDetail.job_name || '/' }, { label: '任务发起人', value: this.currentDetail.creator }, { label: '当前状态', value: this.mapStatus(this.currentDetail.status) },