Browse Source

Merge branch 'dev' of http://124.71.196.186:8888/hfxc226/abb-antd into dev

whj 1 year ago
parent
commit
246ab050ce
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/check/checkjob/modules/Detail.vue

+ 3 - 1
src/views/check/checkjob/modules/Detail.vue

@@ -23,7 +23,7 @@
       <detail-list-item term="标准编码">{{ modelStandard.no }}</detail-list-item>
       <detail-list-item term="检查类型">{{ BaseTool.Object.getField(typeMap,modelStandard.type) }}</detail-list-item>
       <detail-list-item term="计划周期">{{ modelStandard.period }}{{ BaseTool.Object.getField(periodTypeMap,modelStandard.periodType) }}</detail-list-item>
-      <detail-list-item term="维护等级">{{ BaseTool.Object.getField(periodTypeMap,modelStandard.level) }}</detail-list-item>
+      <detail-list-item term="维护等级">{{ BaseTool.Object.getField(levelMap,modelStandard.level) }}</detail-list-item>
       <detail-list-item term="标准工时">{{ modelStandard.standardHours }}</detail-list-item>
       <detail-list-item term="动作类型">{{ BaseTool.Object.getField(actionTypeMap,modelStandard.actionType) }}</detail-list-item>
       <detail-list-item term="部位">{{ modelStandard.partName }}</detail-list-item>
@@ -119,6 +119,7 @@ export default {
       // 下拉框map
       statusMap: {},
       sbStatusMap: {},
+      levelMap: {},
       periodTypeMap: {},
       actionTypeMap: {},
       typeMap: {},
@@ -148,6 +149,7 @@ export default {
     this.sbStatusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YES_NO)
     this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.CHECK_STANDARD_TYPE)
     this.enableMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YES_NO)
+    this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.CHECK_PLAN_LEVEL)
     this.periodTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.CHECK_PLAN_PERIOD_TYPE)
     this.actionTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.CHECK_PLAN_ACTION_TYPE)
   },