|
@@ -84,7 +84,8 @@
|
|
|
<a-descriptions-item label="报修状态"><badge :text="BaseTool.Object.getField(statusMap,model.status)" :status="DictCache.COLOR.REPAIR_APPLICATION_FORM_STATUS[model.status]"/></a-descriptions-item>
|
|
|
<a-descriptions-item label="报修时间">{{ model.applyTime }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="报修人">{{ model.actualUser }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="要求时间">{{ model.limitHours }}小时</a-descriptions-item>
|
|
|
+ <a-descriptions-item v-if="model.category!==1" label="工作优选权">{{ BaseTool.Object.getField(levelMap,model.level) }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item v-else label="计划性维修级别">{{ model.repairPlanLevel }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="送修部门">{{ model.name }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="维修工程师" >{{ model.checkUserName }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="委托内容描述" :span="3"> <span v-html="model.content "></span><a-divider type="vertical" /><a @click="handleEdit(model)">编辑</a> </a-descriptions-item>
|
|
@@ -816,8 +817,10 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
// 下拉框map
|
|
|
+ this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LEVEL_TYPE)
|
|
|
+
|
|
|
this.sourceMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_SOURCE)
|
|
|
- this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_LEVEL)
|
|
|
+ // this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_LEVEL)
|
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_FORM_STATUS)
|
|
|
this.statusRepairMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_FORM_STATUS)
|
|
|
this.statusCheckMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_CHECK_STATUS)
|