| | |
| | | <a-spin :spinning="spinning"> |
| | | <a-form-model ref='form' :model='tableRowRecord' :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | :rules="validatorRules"> |
| | | <a-row :gutter="48"> |
| | | <a-col :span="10"> |
| | | <a-tabs default-active-key="1"> |
| | | <a-row :gutter="24" id="outer-row"> |
| | | <a-col :span="8" class="scroll-col"> |
| | | <a-tabs> |
| | | <a-tab-pane tab="基础信息" key="1"> |
| | | <a-row> |
| | | <a-col :span="span"> |
| | |
| | | </a-col> |
| | | </a-row> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </a-col> |
| | | |
| | | <a-tab-pane key="2" tab="保养项明细" forceRender> |
| | | <a-col :span="10" class="scroll-col"> |
| | | <a-tabs default-active-key="1"> |
| | | <a-tab-pane key="1" tab="保养项明细"> |
| | | <j-vxe-table ref="editableDetailTable" :rowNumber="false" :bordered="true" |
| | | :alwaysEdit="true" :toolbar="false" keep-source :loading="detail.loading" |
| | | :dataSource="detail.dataSource" :columns="detail.columns"> |
| | |
| | | </template> |
| | | </j-vxe-table> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </a-col> |
| | | |
| | | <a-col :span="8"> |
| | | <a-tabs> |
| | | <template v-if="selectShenpiData.procInstId"> |
| | | <a-tab-pane tab='流程图'> |
| | | <a-tab-pane tab='流程图' forceRender> |
| | | <img :src="imageSrc" width="100%" v-if="imageSrc"/> |
| | | </a-tab-pane> |
| | | </template> |
| | | </a-tabs> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-col :span="6" class="scroll-col"> |
| | | <a-tabs> |
| | | <a-tab-pane tab="维修主任审批"> |
| | | <a-row :gutter="24"> |
| | |
| | | </a-col> |
| | | |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="repairManagerApproveComment" label="处理意见"> |
| | | <a-textarea placeholder="请输入处理意见" |
| | | <a-form-model-item label="处理意见"> |
| | | <a-textarea placeholder="请输入意见" |
| | | :disabled="disableSubmit||tableRowRecord.standardStatus!=='WAIT_REPAIR_DIRECTOR'" |
| | | v-model="tableRowRecord.repairManagerApproveComment"/> |
| | | </a-form-model-item> |
| | |
| | | </a-col> |
| | | |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="technicalManagerApproveComment" label="处理意见"> |
| | | <a-textarea placeholder="请输入处理意见" v-model="tableRowRecord.technicalManagerApproveComment"/> |
| | | <a-form-model-item label="处理意见"> |
| | | <a-textarea placeholder="请输入意见" v-model="tableRowRecord.technicalManagerApproveComment"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | repairManagerApproveResult: [ |
| | | { required: true, message: '请选择处理类型' } |
| | | ], |
| | | repairManagerApproveComment: [ |
| | | { required: true, message: '请输入处理意见' } |
| | | ], |
| | | technicalManagerApproveResult: [ |
| | | { required: true, message: '请选择处理类型' } |
| | | ], |
| | | technicalManagerApproveComment: [ |
| | | { required: true, message: '请输入处理意见' } |
| | | ] |
| | | }, |
| | | imageSrc: null, |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | <style scoped lang="less"> |
| | | /deep/ .ant-select-dropdown-menu { |
| | | text-align: left; |
| | | } |
| | | |
| | | /deep/ .ant-spin-nested-loading { |
| | | height: 100%; |
| | | |
| | | .ant-spin-container { |
| | | height: 100%; |
| | | |
| | | .ant-form { |
| | | height: 100%; |
| | | |
| | | #outer-row { |
| | | height: 100%; |
| | | |
| | | .scroll-col { |
| | | height: 100%; |
| | | overflow: auto; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |