| | |
| | | from './modules/equipmentCalibrationOrder/EquipmentCalibrationOrderReportModal' |
| | | import EquipmentTechnologyStatusModal from './modules/equipmentCalibrationOrder/EquipmentTechnologyStatusModal' |
| | | import TechnologyStatusAuthenticateModal from './modules/equipmentCalibrationOrder/TechnologyStatusAuthenticateModal' |
| | | import { interceptorFunc } from 'vxe-table' |
| | | |
| | | export default { |
| | | name: 'EquipmentCalibrationOrder', |
| | |
| | | data() { |
| | | return { |
| | | description: '技术状态鉴定管理', |
| | | disableMixinCreated: true, |
| | | ipagination: { |
| | | current: 1, |
| | | pageSize: 20, |
| | |
| | | // align: 'center', |
| | | // dataIndex: 'createBy' |
| | | // }, |
| | | // { |
| | | // title: '创建日期', |
| | | // align: 'center', |
| | | // dataIndex: 'createTime' |
| | | // }, |
| | | { |
| | | title: '创建日期', |
| | | align: 'center', |
| | | dataIndex: 'createTime' |
| | | }, |
| | | // { |
| | | // title: '检定人', |
| | | // align: 'center', |
| | |
| | | importExcelUrl: function () { |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}` |
| | | } |
| | | }, |
| | | created() { |
| | | //从路由中获取查询条件 |
| | | if (this.$route.query) { |
| | | this.queryParam.equipmentId = this.$route.query.equipmentId; |
| | | //查询条件按时间倒序 |
| | | this.queryParam.sort = 'createTime'; |
| | | this.queryParam.order = 'desc'; |
| | | } |
| | | this.loadData() |
| | | this.initDictConfig(); |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | }, |
| | | handleFinal(record) { |
| | | this.$refs.finalModal.edit(record) |
| | | } |
| | | }, |
| | | |
| | | } |
| | | } |
| | | </script> |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <!-- 点击技术状态列,跳转到技术状态鉴定页面 --> |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | handleUpdateKeyEquipment() { |
| | | this.$refs.keyEquipmentUpdate.add(); |
| | | }, |
| | | //技术状态跳转 |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <!-- 点击技术状态列,跳转到技术状态鉴定页面 --> |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | |
| | | <template |
| | | slot="htmlSlot" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |
| | |
| | | :customRow="clickThenSelect" |
| | | @change="handleTableChange" |
| | | > |
| | | |
| | | <template |
| | | slot="technologyStatus" |
| | | slot-scope="text,record" |
| | | > |
| | | <a |
| | | href="javascript:eam/EquipmentCalibrationOrder;" |
| | | @click="handleTechnologyStatus(record)">{{record.technologyStatus_dictText}}</a> |
| | | </template> |
| | | <template |
| | | slot="htmlSlot" |
| | | slot-scope="text" |
| | |
| | | title: '技术状态', |
| | | align: "center", |
| | | dataIndex: 'technologyStatus_dictText', |
| | | scopedSlots: { customRender: 'technologyStatus' }, |
| | | }, |
| | | { |
| | | title: '技术状态鉴定类型', |
| | |
| | | }, |
| | | handleEditSpareParts(record) { |
| | | this.$refs.modalFormSpareParts.edit(record); |
| | | } |
| | | }, |
| | | handleTechnologyStatus(record) { |
| | | //路由是eam/EquipmentCalibrationOrder |
| | | this.$router.push({ |
| | | path: '/eam/EquipmentCalibrationOrder', |
| | | query: { |
| | | equipmentId: record.id, |
| | | technologyStatus: record.technologyStatus, |
| | | technologyStatusVerificationType: record.technologyStatusVerificationType, |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |