| | |
| | | </a-divider> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="orderNum" label="工单号"> |
| | | <a-input placeholder="工单号系统自动生成" v-model="model.orderNum" disabled/> |
| | | <a-form-model-item prop="orderNum" label="工单号" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input v-model="model.orderNum" readOnly /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span='8'> |
| | | <a-form-model-item label="工单状态" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input readOnly v-model="model.maintenanceStatus_dictText"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | |
| | | disabled></maintenance-equipment-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="standardName" label="安装位置"> |
| | | <a-input v-model="model.installationPosition_dictText" readOnly /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="standardName" label="标准名称"> |
| | | <a-input placeholder="选择设备后自动带出" v-model="model.standardName" disabled/> |
| | | <a-input v-model="model.standardName" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="maintenancePeriod" label="保养周期"> |
| | | <a-input v-model="model.maintenancePeriod" readOnly /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="maintenanceDate" label="保养日期"> |
| | | <a-date-picker placeholder="请选择计划保养日期" v-model="model.maintenanceDate" format="YYYY-MM-DD" |
| | | disabled |
| | | style="width: 100%"/> |
| | | <a-input v-model="model.maintenanceDate" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="operator" label="保养人"> |
| | | <j-search-select-tag v-model="model.operator" placeholder="请选择保养人" disabled |
| | | :dictOptions="maintenanceOperatorOptions"/> |
| | | <a-input v-model="model.operator_dictText" readOnly/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="maintenancePeriod" label="保养周期"> |
| | | <a-input placeholder="选择设备后自动带出" v-model="model.maintenancePeriod" disabled/> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="保养人电话"> |
| | | <a-input v-model="model.operatorPhone_dictText" readOnly /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-form-model-item :labelCol="labelColLong" :wrapperCol="wrapperColLong" prop="remark" label="备注"> |
| | | <a-textarea placeholder="请输入备注" v-model="model.remark" disabled/> |
| | | <a-textarea v-model="model.remark" readOnly/> |
| | | </a-form-model-item> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | |
| | | :disabled="disableSubmit || completionDisable"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="6"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="finalAcceptanceFilesResult" |
| | | label="终验收附件"> |
| | | <lx-upload :returnUrl="false" |
| | | :isMultiple="true" |
| | | :disabled="disableSubmit || completionDisable" |
| | | v-model="model.finalAcceptanceFilesResult"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="finalRandomInspectionFlag" |
| | | label="抽检标记"> |
| | | <lx-switch |
| | | checked-children='是' |
| | | un-checked-children='否' |
| | | v-model="model.finalRandomInspectionFlag" |
| | | :disabled="disableSubmit || completionDisable" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | await this.loadDetail(item.dataId) |
| | | }, |
| | | |
| | | recordDetail(record) { |
| | | async recordDetail(record) { |
| | | console.log('record', record) |
| | | this.initParams() |
| | | this.model = Object.assign({}, record) |
| | | let res = await getAction(this.url.queryById, { id: record.id }) |
| | | this.model = Object.assign({}, res.result) |
| | | if (this.model.imageFiles) { |
| | | let obj = JSON.parse(this.model.imageFiles) |
| | | this.model.imageFilesResult = [...obj] |