| | |
| | | :gutter="16" |
| | | > |
| | | <a-col |
| | | :md="6" |
| | | :md="4" |
| | | :sm="24" |
| | | > |
| | | <equipment-category-left /> |
| | | </a-col> |
| | | <a-col |
| | | :md="24-6" |
| | | :md="24-4" |
| | | :sm="24" |
| | | > |
| | | <equipment-right /> |
| | |
| | | :gutter="16" |
| | | > |
| | | <a-col |
| | | :md="6" |
| | | :md="4" |
| | | :sm="24" |
| | | > |
| | | <inspection-project-category-left @clickTreeNode="getSelectNode" /> |
| | | </a-col> |
| | | <a-col |
| | | :md="24-6" |
| | | :md="24-4" |
| | | :sm="24" |
| | | > |
| | | <inspection-project-right :recordSelect="currentNodeSelect" /> |
| | |
| | | :gutter="16" |
| | | > |
| | | <a-col |
| | | :md="6" |
| | | :md="4" |
| | | :sm="24" |
| | | > |
| | | <maintenance-project-category-left @clickTreeNode="getSelectNode" /> |
| | | </a-col> |
| | | <a-col |
| | | :md="24-6" |
| | | :md="24-4" |
| | | :sm="24" |
| | | > |
| | | <maintenance-project-right :recordSelect="currentNodeSelect" /> |
| | |
| | | ref="SpecialyMaintenanceOrderExeDrawer" |
| | | @ok="modalFormOk" |
| | | ></specialy-maintenance-order-exe-drawer> |
| | | <specialty-maintenance-order-assign-modal |
| | | ref="SpecialtyMaintenanceOrderAssignModal" |
| | | <specialty-maintenance-order-assign-modal |
| | | ref="SpecialtyMaintenanceOrderAssignModal" |
| | | @ok="modalFormOk" |
| | | > |
| | | </specialty-maintenance-order-assign-modal> |
| | |
| | | align: "center", |
| | | dataIndex: 'teamName', |
| | | }, |
| | | { |
| | | title: '工时定额/每小时', |
| | | align: "center", |
| | | dataIndex: 'sumOfWorkingHourQuota', |
| | | }, |
| | | // { |
| | | // title: '工时定额/每小时', |
| | | // align: "center", |
| | | // dataIndex: 'sumOfWorkingHourQuota', |
| | | // }, |
| | | { |
| | | title: '计划开始时间', |
| | | align: "center", |
| | | dataIndex: 'planStartTime', |
| | | width:170 |
| | | |
| | | width: 170 |
| | | |
| | | }, |
| | | { |
| | | title: '计划结束时间', |
| | | align: "center", |
| | | dataIndex: 'planEndTime', |
| | | width:170 |
| | | width: 170 |
| | | }, |
| | | { |
| | | title: '实际开始时间', |
| | | align: "center", |
| | | dataIndex: 'actualStartTime', |
| | | width:170 |
| | | width: 170 |
| | | }, |
| | | { |
| | | title: '实际结束时间', |
| | | align: "center", |
| | | dataIndex: 'actualEndTime', |
| | | width:170 |
| | | width: 170 |
| | | }, |
| | | { |
| | | title: '实际用时', |
| | |
| | | title: '创建日期', |
| | | align: "center", |
| | | dataIndex: 'createTime', |
| | | width:170 |
| | | width: 170 |
| | | }, |
| | | { |
| | | title: '操作', |
| | |
| | | style="max-width:80px;font-size: 12px;font-style: italic;" |
| | | /> |
| | | <a-select |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '2'" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'" |
| | | :value="text" |
| | | :options="record.inspectionCycles" |
| | | @change="(e) => handleChange(e, record.key, col, index)" |
| | |
| | | /> |
| | | <a-input-number |
| | | :value="text" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '1'" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'" |
| | | :min="0" |
| | | :max="20000" |
| | | @change="(e)=>handleChange(e, record.key, col, index,record)" |
| | |
| | | if (target) { |
| | | |
| | | if (column.dataIndex == 'inspectionProjectResult') { |
| | | if (target.analysisMethod === "1") { |
| | | if (target.testValueType === "1") { |
| | | target[column.dataIndex] = value; |
| | | let maxValue = target.maxValue |
| | | let minValue = target.minValue |
| | |
| | | slot-scope="text, record" |
| | | > |
| | | <!-- class="table-operation" --> |
| | | <a |
| | | <!-- <a |
| | | href="javascript:;" |
| | | @click="equipmentStructuresShow(record)" |
| | | >设备结构</a> |
| | | <a-divider type="vertical" /> |
| | | <a-divider type="vertical" /> --> |
| | | <a |
| | | href="javascript:;" |
| | | @click="handleEdit(record)" |
| | |
| | | type="card" |
| | | defaultActiveKey="1" |
| | | > |
| | | <a-tab-pane key="1"> |
| | | <!-- <a-tab-pane key="1"> |
| | | <span slot="tab"> |
| | | <a-badge v-if="showTabsFlag">工艺参数 </a-badge> |
| | | <a-badge |
| | |
| | | > |
| | | <process-parameters-list ref="ProcessParametersList"></process-parameters-list> |
| | | </div> |
| | | </a-tab-pane> |
| | | </a-tab-pane> --> |
| | | |
| | | <a-tab-pane |
| | | key="2" |
| | |
| | | dataIndex: 'num', |
| | | }, |
| | | { |
| | | title: '资产编码', |
| | | align: "center", |
| | | dataIndex: 'assetNumber', |
| | | }, |
| | | { |
| | | title: '设备名称', |
| | | align: "center", |
| | | dataIndex: 'name', |
| | |
| | | dataIndex: 'specification', |
| | | }, |
| | | { |
| | | title: '资产编码', |
| | | align: "center", |
| | | dataIndex: 'assetNumber', |
| | | }, |
| | | { |
| | | title: '设备状态', |
| | | align: "center", |
| | | dataIndex: 'equipmentStatus_dictText', |
| | |
| | | { |
| | | title: '特种设备', |
| | | align: "center", |
| | | dataIndex: 'specificEquipment', |
| | | }, |
| | | { |
| | | title: '特种设备', |
| | | align: "center", |
| | | dataIndex: 'sourceId_dictText', |
| | | dataIndex: 'specificEquipment_dictText', |
| | | }, |
| | | { |
| | | title: '设备图片', |
| | |
| | | align: "center", |
| | | dataIndex: 'equipmentImportanceId_dictText', |
| | | }, |
| | | { |
| | | title: '工艺参数管理', |
| | | align: "center", |
| | | dataIndex: 'processParameters', |
| | | scopedSlots: { customRender: 'processParameters' }, |
| | | }, |
| | | { |
| | | title: '工艺参数模板', |
| | | align: "center", |
| | | dataIndex: 'processParametersTemplateName', |
| | | }, |
| | | // { |
| | | // title: '工艺参数管理', |
| | | // align: "center", |
| | | // dataIndex: 'processParameters', |
| | | // scopedSlots: { customRender: 'processParameters' }, |
| | | // }, |
| | | // { |
| | | // title: '工艺参数模板', |
| | | // align: "center", |
| | | // dataIndex: 'processParametersTemplateName', |
| | | // }, |
| | | { |
| | | title: '设备精度管理', |
| | | align: "center", |
| | |
| | | align: "center", |
| | | dataIndex: 'precisionParametersTemplateName', |
| | | }, |
| | | { |
| | | title: '检定管理', |
| | | align: "center", |
| | | dataIndex: 'verification', |
| | | scopedSlots: { customRender: 'verification' }, |
| | | }, |
| | | { |
| | | title: '检定周期/月', |
| | | align: "center", |
| | | dataIndex: 'verificationPeriod', |
| | | }, |
| | | { |
| | | title: '上次检定日期', |
| | | align: "center", |
| | | dataIndex: 'lastVerificationDate', |
| | | }, |
| | | { |
| | | title: '下次检定日期', |
| | | align: "center", |
| | | dataIndex: 'nextVerificationDate', |
| | | }, |
| | | // { |
| | | // title: '检定管理', |
| | | // align: "center", |
| | | // dataIndex: 'verification', |
| | | // scopedSlots: { customRender: 'verification' }, |
| | | // }, |
| | | // { |
| | | // title: '检定周期/月', |
| | | // align: "center", |
| | | // dataIndex: 'verificationPeriod', |
| | | // }, |
| | | // { |
| | | // title: '上次检定日期', |
| | | // align: "center", |
| | | // dataIndex: 'lastVerificationDate', |
| | | // }, |
| | | // { |
| | | // title: '下次检定日期', |
| | | // align: "center", |
| | | // dataIndex: 'nextVerificationDate', |
| | | // }, |
| | | // { |
| | | // title: '状态', |
| | | // align: 'center', |
| | |
| | | |
| | | onSelectChange(selectedRowKeys, selectionRows) { |
| | | if (selectedRowKeys.length == 1) { |
| | | this.$refs.ProcessParametersList.equipmentId = selectedRowKeys[0] |
| | | // this.$refs.ProcessParametersList.equipmentId = selectedRowKeys[0] |
| | | this.$refs.EquipmentFileList.equipmentId = selectedRowKeys[0] |
| | | this.$refs.PrecisionParametersList.equipmentId = selectedRowKeys[0] |
| | | } else { |
| | | this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | // this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | this.$refs.PrecisionParametersList.equipmentId = '-1' |
| | | this.$refs.EquipmentFileList.equipmentId = '-1' |
| | | } |
| | |
| | | } |
| | | this.selectedRowKeys = [] |
| | | this.selectionRows = [] |
| | | this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | // this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | this.$refs.PrecisionParametersList.equipmentId = '-1' |
| | | this.$refs.EquipmentFileList.equipmentId = '-1' |
| | | this.loadData(1); |
| | |
| | | searchQuery() { |
| | | this.selectedRowKeys = [] |
| | | this.selectionRows = [] |
| | | this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | // this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | this.$refs.PrecisionParametersList.equipmentId = '-1' |
| | | this.$refs.EquipmentFileList.equipmentId = '-1' |
| | | this.loadData(1); |
| | |
| | | //清空列表选中 |
| | | this.onClearSelected() |
| | | |
| | | this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | // this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | this.$refs.PrecisionParametersList.equipmentId = '-1' |
| | | this.$refs.EquipmentFileList.equipmentId = '-1' |
| | | }, |
| | |
| | | } |
| | | this.selectedRowKeys = [] |
| | | this.selectionRows = [] |
| | | this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | // this.$refs.ProcessParametersList.equipmentId = '-1' |
| | | this.$refs.PrecisionParametersList.equipmentId = '-1' |
| | | this.$refs.EquipmentFileList.equipmentId = '-1' |
| | | this.loadData(1); |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | <a-row style="width: 100%"> |
| | | <!-- <a-row style="width: 100%"> |
| | | <a-col :span="24 / 3"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row> --> |
| | | <a-row style="width: 100%"> |
| | | <a-col :span="24 / 3 "> |
| | | <!-- <a-col :span="24 / 3 "> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | |
| | | v-decorator="['processParametersTemplateName', validatorRules.processParametersTemplateName]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | <a-col :span="24 / 3"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row style="width: 100%"> |
| | | |
| | | <a-col :span="24 / 3"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row style="width: 100%"> |
| | | |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24"> |
| | |
| | | 'remark')); |
| | | this.form.setFieldsValue({ leaveFactoryDate: this.model.leaveFactoryDate ? moment(this.model.leaveFactoryDate, 'YYYY-MM-DD') : null }); |
| | | this.form.setFieldsValue({ acceptanceCheckDate: this.model.acceptanceCheckDate ? moment(this.model.acceptanceCheckDate, 'YYYY-MM-DD') : null }); |
| | | this.form.setFieldsValue({ lastVerificationDate: this.model.lastVerificationDate ? moment(this.model.lastVerificationDate, 'YYYY-MM-DD') : null }) |
| | | // this.form.setFieldsValue({ lastVerificationDate: this.model.lastVerificationDate ? moment(this.model.lastVerificationDate, 'YYYY-MM-DD') : null }) |
| | | }); |
| | | if (record.id) { |
| | | this.codeDisable = true; |
| | |
| | | // formData.equipmentPhoto = this.equipmentPhoto |
| | | formData.leaveFactoryDate = formData.leaveFactoryDate ? formData.leaveFactoryDate.format('YYYY-MM-DD') : null; |
| | | formData.acceptanceCheckDate = formData.acceptanceCheckDate ? formData.acceptanceCheckDate.format('YYYY-MM-DD') : null; |
| | | formData.lastVerificationDate = formData.lastVerificationDate ? formData.lastVerificationDate.format('YYYY-MM-DD') : null; |
| | | // formData.lastVerificationDate = formData.lastVerificationDate ? formData.lastVerificationDate.format('YYYY-MM-DD') : null; |
| | | if (that.model.precisionParameters != "1") { |
| | | formData.precisionParametersTemplateId = ""; |
| | | } else { |
| | | formData.precisionParametersTemplateId = this.precisionParametersTemplateId; |
| | | } |
| | | if (that.model.processParameters != "1") { |
| | | formData.processParametersTemplateId = ""; |
| | | } else { |
| | | formData.processParametersTemplateId = this.processParametersTemplateId; |
| | | } |
| | | // if (that.model.processParameters != "1") { |
| | | // formData.processParametersTemplateId = ""; |
| | | // } else { |
| | | // formData.processParametersTemplateId = this.processParametersTemplateId; |
| | | // } |
| | | let obj; |
| | | if (!this.model.id) { |
| | | formData.equipmentCategoryId = this.equipmentCategoryId |
| | |
| | | this.model.precisionParameters = '1' |
| | | } |
| | | }, |
| | | handle3Switch(verification) { |
| | | if ('1' == verification) { |
| | | this.model.verification = '0' |
| | | } else { |
| | | this.model.verification = '1' |
| | | } |
| | | }, |
| | | // handle3Switch(verification) { |
| | | // if ('1' == verification) { |
| | | // this.model.verification = '0' |
| | | // } else { |
| | | // this.model.verification = '1' |
| | | // } |
| | | // }, |
| | | |
| | | getSysDeparts() { |
| | | getAction(this.url.getSysDeparts).then((res) => { |
| | |
| | | 关闭 |
| | | </a-button> |
| | | <a-button |
| | | hidden |
| | | v-if="!this.model.id" |
| | | :disabled="disableSubmit || confirmLoading" |
| | | :loading="confirmLoading" |
| | |
| | | style="max-width:80px;font-size: 12px;font-style: italic;" |
| | | /> |
| | | <a-select |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '2'" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '2'" |
| | | :value="text" |
| | | :options="record.inspectionCycles" |
| | | @change="(e) => handleChange(e, record.key, col, index)" |
| | |
| | | /> |
| | | <a-input-number |
| | | :value="text" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.analysisMethod == '1'" |
| | | v-if="col.dataIndex == 'inspectionProjectResult' && record.testValueType == '1'" |
| | | :min="0" |
| | | :max="200" |
| | | @change="(e)=>handleChange(e, record.key, col, index,record)" |
| | |
| | | if (target) { |
| | | |
| | | if (column.dataIndex == 'inspectionProjectResult') { |
| | | if (target.analysisMethod === "1") { |
| | | if (target.testValueType == "1") { |
| | | target[column.dataIndex] = value; |
| | | let maxValue = target.maxValue |
| | | let minValue = target.minValue |
| | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | label="点检计划编码" |
| | | label="点检方案编码" |
| | | :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" |
| | | > |
| | | <a-input |
| | | allow-clear |
| | | :disabled="disableSubmit" |
| | | :placeholder="disableSubmit?'':'请输入点检计划编码'" |
| | | :placeholder="disableSubmit?'':'请输入点检方案编码'" |
| | | v-decorator="['num', validatorRules.num ]" |
| | | /> |
| | | </a-form-item> |
| | |
| | | <a-input |
| | | :disabled=true |
| | | placeholder="请输入图片名称" |
| | | v-decorator="['name', {} ]" |
| | | v-decorator="['name', validatorRules.name ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | for (let i = 0; i < this.dataSource.length; i++) { |
| | | ids.push(this.dataSource[i].specialtyInspectionStandardId); |
| | | } |
| | | debugger |
| | | let departId = dataDepartId.departId; |
| | | let inspectionCycleId = data.inspectionCycleId; |
| | | this.$refs.specialtyInspectionStandardModalForm.showModals(ids, departId, inspectionCycleId); |