|
@@ -14,7 +14,7 @@
|
|
|
<div class="tables" >
|
|
|
<div style="position:absolute;top: -20px;right:0">委修单编号:{{ this.model.repairNo }}</div>
|
|
|
<table>
|
|
|
- <tr>
|
|
|
+ <!-- <tr>
|
|
|
<td colspan="3">委托单位</td>
|
|
|
<td colspan="27">
|
|
|
<a-radio-group v-model="value1">
|
|
@@ -38,8 +38,8 @@
|
|
|
</a-radio>
|
|
|
</a-radio-group>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
+ </tr> -->
|
|
|
+ <!-- <tr>
|
|
|
<td colspan="3">维修专业</td>
|
|
|
<td colspan="27">
|
|
|
<a-checkbox-group v-model="value2" @change="onChange">
|
|
@@ -88,6 +88,12 @@
|
|
|
</span></a-checkbox>
|
|
|
</a-checkbox-group>
|
|
|
</td>
|
|
|
+ </tr> -->
|
|
|
+ <tr>
|
|
|
+ <td colspan="3">委托单位</td>
|
|
|
+ <td colspan="12">{{ trustMap[value1] }}</td>
|
|
|
+ <td colspan="3">维修专业</td>
|
|
|
+ <td colspan="12"> {{ value2.map(item=>professorMap[item]).join() }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td colspan="3">生产装置</td>
|
|
@@ -96,9 +102,14 @@
|
|
|
<td colspan="12"> {{ this.model.callTime }}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
+ <td colspan="3">工作优选权</td>
|
|
|
+ <td colspan="12">{{ levelMap[value3] }}</td>
|
|
|
+ <td colspan="3">特殊作业类型</td>
|
|
|
+ <td colspan="12"> {{ value4.map(item=>repairTypeMap[item]).join() }}</td>
|
|
|
+ </tr>
|
|
|
+ <!-- <tr>
|
|
|
<td colspan="3">工作优选权</td>
|
|
|
<td colspan="27">
|
|
|
- <!-- {{ model.requireHours }}小时 -->
|
|
|
<a-radio-group v-model="value3">
|
|
|
<a-radio :value="1">
|
|
|
<a-icon class="check" v-show="value3 ==1" type="check" />24小时内
|
|
@@ -120,8 +131,8 @@
|
|
|
</a-radio>
|
|
|
</a-radio-group>
|
|
|
</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
+ </tr> -->
|
|
|
+ <!-- <tr>
|
|
|
<td colspan="3" rowspan="2">特殊作业类型</td>
|
|
|
<td colspan="27" style="text-align:center">
|
|
|
<a-checkbox-group v-model="value4" @change="onChange">
|
|
@@ -225,7 +236,7 @@
|
|
|
<a-icon class="checks" v-show="value4.includes(10)" type="check" /><span style="font-size: 13px;">管线、设备打开作业</span>
|
|
|
</span></a-checkbox>
|
|
|
</a-checkbox-group></td>
|
|
|
- </tr>
|
|
|
+ </tr> -->
|
|
|
<tr>
|
|
|
<td colspan="3">设备位号</td>
|
|
|
<td colspan="7">{{ this.model.sbNo }}</td>
|
|
@@ -439,9 +450,20 @@ export default {
|
|
|
'planStartTime': null,
|
|
|
'planEndTime': null,
|
|
|
'repairMin': null
|
|
|
- }
|
|
|
+ },
|
|
|
+ trustMap: {},
|
|
|
+ professorMap: {},
|
|
|
+ repairTypeMap: {},
|
|
|
+ levelMap: {}
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
+ created () {
|
|
|
+ this.trustMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.TRUST_DEPT_TYPE)
|
|
|
+ this.professorMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_PROFESSOR)
|
|
|
+ this.repairTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_TYPE)
|
|
|
+ this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LEVEL_TYPE)
|
|
|
+ },
|
|
|
methods: {
|
|
|
onChange (checkedValues) {
|
|
|
console.log(this.value8, this.value8.includes(1))
|