| | |
| | | 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); |