| | |
| | | <a-tab-pane tab="基础信息"> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="统一编码" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <lx-search-equipment-select v-model="model.equipmentId" disabled/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="工单号" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input v-model="model.repairCode" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="故障类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <j-dict-select-tag dict-code="fault_type" v-model="model.faultType" disabled/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="报修人" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input v-model="model.reportPerson_dictText" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="维修开始时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input v-model="model.actualStartTime" readOnly/> |
| | | </a-form-model-item> |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="故障现象"> |
| | | <a-textarea :rows="5" v-model="model.faultPhenomenon" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="故障原因"> |
| | | <a-textarea v-model="model.faultReason" readOnly/> |
| | | <a-textarea :rows="5" v-model="model.faultReason" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="故障分析"> |
| | | <a-textarea v-model="model.faultAnalysis" readOnly/> |
| | | <a-textarea :rows="5" v-model="model.faultAnalysis" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="排故过程"> |
| | | <a-textarea v-model="model.faultProcess" readOnly/> |
| | | <a-textarea :rows="5" v-model="model.faultProcess" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="预防措施"> |
| | | <a-textarea v-model="model.faultPrevent" readOnly/> |
| | | <a-textarea :rows="5" v-model="model.faultPrevent" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | type: JVXETypes.normal |
| | | }, |
| | | { |
| | | title: '维修时长', |
| | | title: '维修时长(小时)', |
| | | key: 'repairDuration', |
| | | align: 'center', |
| | | type: JVXETypes.normal |
| | |
| | | * 主页面点击执行审批时触发 |
| | | * @param record 主页面列表行记录 |
| | | */ |
| | | async handleDetail(record) { |
| | | async handleApprove(record) { |
| | | this.spinning = true |
| | | this.activeTabKey = '1' |
| | | this.model = {} |
| | |
| | | * 主页面点击详情时触发 |
| | | * @param record 主页面列表行记录 |
| | | */ |
| | | recordDetail(record) { |
| | | handleDetail(record) { |
| | | this.spinning = true |
| | | this.activeTabKey = 1 |
| | | this.activeTabKey = '1' |
| | | this.model = Object.assign({}, record) |
| | | this.loadDetail(record.id) |
| | | }, |