From 4bf8212c10eb9a1421e52b60e7407922d081ba8c Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 09 六月 2025 13:44:29 +0800 Subject: [PATCH] 1、设备TEEP页面大数据导出格式由xls调整为xlsx 2、大数据导出参数增加为查询区域所有字段 --- src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanModal.vue | 87 +++++++++++++++++++++++-------------------- 1 files changed, 46 insertions(+), 41 deletions(-) diff --git a/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanModal.vue b/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanModal.vue index bb240ac..8c96797 100644 --- a/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanModal.vue +++ b/src/views/eam/modules/maintenancePlan/EquipmentMaintenancePlanModal.vue @@ -7,57 +7,62 @@ switchFullscreen @ok="handleOk" :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" - @cancel="handleCancel"> - <equipment-maintenance-plan-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"/> + @cancel="handleCancel" + > + <equipment-maintenance-plan-form + ref="realForm" + @ok="submitCallback" + :disabled="disableSubmit" + /> </j-modal> </template> <script> - import EquipmentMaintenancePlanForm from './EquipmentMaintenancePlanForm' +import EquipmentMaintenancePlanForm from './EquipmentMaintenancePlanForm' - export default { - name: 'EquipmentMaintenancePlanModal', - components: { - EquipmentMaintenancePlanForm +export default { + name: 'EquipmentMaintenancePlanModal', + components: { + EquipmentMaintenancePlanForm + }, + data() { + return { + title: '', + width: 800, + visible: false, + disableSubmit: false + } + }, + methods: { + add() { + this.visible = true + this.$nextTick(() => { + this.$refs.realForm.add(); + }) }, - data() { - return { - title:'', - width:800, - visible: false, - disableSubmit: false - } + edit(record) { + this.visible = true + this.$nextTick(() => { + this.$refs.realForm.edit(record); + }) }, - methods:{ - add () { - this.visible=true - this.$nextTick(()=>{ - this.$refs.realForm.add(); - }) - }, - edit (record) { - this.visible=true - this.$nextTick(()=>{ - this.$refs.realForm.edit(record); - }) - }, - close () { - this.$emit('close'); - this.visible = false; - }, - handleOk () { - this.$refs.realForm.handleOk(); - }, - submitCallback(){ - this.$emit('ok'); - this.visible = false; - }, - handleCancel () { - this.close() - } + close() { + this.$emit('close'); + this.visible = false; + }, + handleOk() { + this.$refs.realForm.handleOk(); + }, + submitCallback() { + this.$emit('ok'); + this.visible = false; + }, + handleCancel() { + this.close() } } +} </script> <style scoped> -- Gitblit v1.9.3