|
@@ -284,13 +284,22 @@
|
|
</a-checkbox-group>
|
|
</a-checkbox-group>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
+ <tr>
|
|
|
|
+ <td colspan="29">
|
|
|
|
+ <div style="display:flex;justify-content:space-around;align-items: center;">
|
|
|
|
+ <div style="flex:1">检维修前安全条件确认:</div>
|
|
|
|
+ <div style="flex:1">检修后安全条件确认:
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
<tr>
|
|
<tr>
|
|
<td colspan="29">
|
|
<td colspan="29">
|
|
<div style="display:flex;justify-content:space-around;align-items: center;">
|
|
<div style="display:flex;justify-content:space-around;align-items: center;">
|
|
<div style="flex:1">委修人:{{ model.caller }}</div>
|
|
<div style="flex:1">委修人:{{ model.caller }}</div>
|
|
<div style="flex:1">允许开工人: <span>
|
|
<div style="flex:1">允许开工人: <span>
|
|
- {{ model.trustDeptManager }}
|
|
|
|
- </span>
|
|
|
|
|
|
+ {{ model.trustDeptManager }}
|
|
|
|
+ </span>
|
|
<!-- <operation-button
|
|
<!-- <operation-button
|
|
v-if="(!model.trustDeptManager ||model.trustDeptManager ==='')"
|
|
v-if="(!model.trustDeptManager ||model.trustDeptManager ==='')"
|
|
:type="2"
|
|
:type="2"
|
|
@@ -332,11 +341,7 @@
|
|
<td colspan="29">
|
|
<td colspan="29">
|
|
<div>
|
|
<div>
|
|
1、维修工作描述:(派工工程师填写)<br />
|
|
1、维修工作描述:(派工工程师填写)<br />
|
|
- <a-textarea
|
|
|
|
- v-model="model.repairContent "
|
|
|
|
- style="resize:none;border:none;width:100%;"
|
|
|
|
- :rows="4"
|
|
|
|
- placeholder="(1)判断故障原因或明确改造内容;
|
|
|
|
|
|
+ <a-textarea v-model="model.repairContent " style="resize:none;border:none;width:100%;" :rows="4" placeholder="(1)判断故障原因或明确改造内容;
|
|
(2)简述维修方案或施工方案、步骤,分解工单任务;分解搭架、保温、其他专业维修需求等辅助工作;
|
|
(2)简述维修方案或施工方案、步骤,分解工单任务;分解搭架、保温、其他专业维修需求等辅助工作;
|
|
(3)维修/施工计划,使用人工时、机械台班;(后续制定相应作业维修包);
|
|
(3)维修/施工计划,使用人工时、机械台班;(后续制定相应作业维修包);
|
|
(4)所需备件。" />
|
|
(4)所需备件。" />
|
|
@@ -348,11 +353,7 @@
|
|
<td colspan="29">
|
|
<td colspan="29">
|
|
<div>
|
|
<div>
|
|
2、检修结果描述:(检维修人填写)<br />
|
|
2、检修结果描述:(检维修人填写)<br />
|
|
- <a-textarea
|
|
|
|
- v-model="model.repairResultContent "
|
|
|
|
- style="resize:none;border:none;width:100%;"
|
|
|
|
- :rows="4"
|
|
|
|
- placeholder="(1)检修前、技改施工前数据确认;
|
|
|
|
|
|
+ <a-textarea v-model="model.repairResultContent " style="resize:none;border:none;width:100%;" :rows="4" placeholder="(1)检修前、技改施工前数据确认;
|
|
(2)维修/施工步骤记录(检修数据或照片、损坏部位的微距拍摄;
|
|
(2)维修/施工步骤记录(检修数据或照片、损坏部位的微距拍摄;
|
|
(3)维修/施工结果,使用人工时、机械台班;
|
|
(3)维修/施工结果,使用人工时、机械台班;
|
|
(4)实际消耗备件。" />
|
|
(4)实际消耗备件。" />
|
|
@@ -396,8 +397,8 @@
|
|
<div style="flex:1">检维修人:{{ model.repairMan }}</div>
|
|
<div style="flex:1">检维修人:{{ model.repairMan }}</div>
|
|
<div style="flex:1">工时统计:{{ model.repairMin }}</div>
|
|
<div style="flex:1">工时统计:{{ model.repairMin }}</div>
|
|
<div style="flex:1">主管确认: <span>
|
|
<div style="flex:1">主管确认: <span>
|
|
- {{ model.repairManager }}
|
|
|
|
- </span>
|
|
|
|
|
|
+ {{ model.repairManager }}
|
|
|
|
+ </span>
|
|
<operation-button v-if="(!model.repairManager ||model.repairManager ==='')" :type="2" title="确定签字?" :showDivider="false" @confirm="handleSign('repairManager')">签字</operation-button>
|
|
<operation-button v-if="(!model.repairManager ||model.repairManager ==='')" :type="2" title="确定签字?" :showDivider="false" @confirm="handleSign('repairManager')">签字</operation-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -417,7 +418,7 @@
|
|
<script>
|
|
<script>
|
|
import { changeFieldTemplateData } from '@/api/repair/application-form'
|
|
import { changeFieldTemplateData } from '@/api/repair/application-form'
|
|
export default {
|
|
export default {
|
|
- data () {
|
|
|
|
|
|
+ data() {
|
|
return {
|
|
return {
|
|
visible: false,
|
|
visible: false,
|
|
disabled: false,
|
|
disabled: false,
|
|
@@ -453,16 +454,16 @@ export default {
|
|
planStartTime: null,
|
|
planStartTime: null,
|
|
planEndTime: null,
|
|
planEndTime: null,
|
|
repairMin: null,
|
|
repairMin: null,
|
|
- repairFormType: null
|
|
|
|
|
|
+ repairFormType: null,
|
|
},
|
|
},
|
|
trustMap: {},
|
|
trustMap: {},
|
|
professorMap: {},
|
|
professorMap: {},
|
|
repairTypeMap: {},
|
|
repairTypeMap: {},
|
|
levelMap: {},
|
|
levelMap: {},
|
|
- repairFormTypeMap: {}
|
|
|
|
|
|
+ repairFormTypeMap: {},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- created () {
|
|
|
|
|
|
+ created() {
|
|
this.repairFormTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_FORM_TYPE)
|
|
this.repairFormTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_FORM_TYPE)
|
|
this.trustMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.TRUST_DEPT_TYPE)
|
|
this.trustMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.TRUST_DEPT_TYPE)
|
|
this.professorMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_PROFESSOR)
|
|
this.professorMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REPAIR_APPLICATION_PROFESSOR)
|
|
@@ -470,14 +471,14 @@ export default {
|
|
this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LEVEL_TYPE)
|
|
this.levelMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LEVEL_TYPE)
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- onChange (checkedValues) {
|
|
|
|
|
|
+ onChange(checkedValues) {
|
|
console.log(this.value8, this.value8.includes(1))
|
|
console.log(this.value8, this.value8.includes(1))
|
|
},
|
|
},
|
|
- handleSign (val) {
|
|
|
|
|
|
+ handleSign(val) {
|
|
this.model[val] = this.$store.getters.userInfo.realName
|
|
this.model[val] = this.$store.getters.userInfo.realName
|
|
console.log(this.$store.getters.userInfo.realName)
|
|
console.log(this.$store.getters.userInfo.realName)
|
|
},
|
|
},
|
|
- base (record, id) {
|
|
|
|
|
|
+ base(record, id) {
|
|
this.visible = true
|
|
this.visible = true
|
|
this.model = record
|
|
this.model = record
|
|
this.id = id
|
|
this.id = id
|
|
@@ -490,7 +491,7 @@ export default {
|
|
this.value8 = this.model.repairUnitStatus || []
|
|
this.value8 = this.model.repairUnitStatus || []
|
|
this.value10 = this.model.exceptions || []
|
|
this.value10 = this.model.exceptions || []
|
|
},
|
|
},
|
|
- save () {
|
|
|
|
|
|
+ save() {
|
|
const params = {
|
|
const params = {
|
|
...this.model,
|
|
...this.model,
|
|
trustDept: this.value1,
|
|
trustDept: this.value1,
|
|
@@ -500,7 +501,7 @@ export default {
|
|
content: this.value5,
|
|
content: this.value5,
|
|
repairUnitStatus: this.value8,
|
|
repairUnitStatus: this.value8,
|
|
exceptions: this.value10,
|
|
exceptions: this.value10,
|
|
- id: this.id
|
|
|
|
|
|
+ id: this.id,
|
|
}
|
|
}
|
|
console.log(params)
|
|
console.log(params)
|
|
changeFieldTemplateData(params).then((res) => {
|
|
changeFieldTemplateData(params).then((res) => {
|
|
@@ -509,11 +510,11 @@ export default {
|
|
this.handleCancel()
|
|
this.handleCancel()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleCancel () {
|
|
|
|
|
|
+ handleCancel() {
|
|
this.visible = false
|
|
this.visible = false
|
|
this.$emit('ok')
|
|
this.$emit('ok')
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ },
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -533,7 +534,7 @@ export default {
|
|
position: relative;
|
|
position: relative;
|
|
table {
|
|
table {
|
|
min-width: 100%;
|
|
min-width: 100%;
|
|
- max-width: 830px;
|
|
|
|
|
|
+ max-width: 830px;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
border: 1px solid #d6d6d6;
|
|
border: 1px solid #d6d6d6;
|
|
border-radius: 6px;
|
|
border-radius: 6px;
|