From 4b32e1f2157a9633cc79cb90eb74dc1a93030c8f Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Thu, 7 Nov 2024 16:17:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/machine/device/components/devicePopup.vue | 2 +- frontend/src/views/machine/device/index.vue | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/frontend/src/views/machine/device/components/devicePopup.vue b/frontend/src/views/machine/device/components/devicePopup.vue index 9a60cfa..ecbcdf0 100644 --- a/frontend/src/views/machine/device/components/devicePopup.vue +++ b/frontend/src/views/machine/device/components/devicePopup.vue @@ -267,7 +267,7 @@ { formContent.value.arrivedDate = dayjs(formContent.value.arrivedDate).format('YYYY-MM-DD'); } - console.log('1111'+formContent.value.arrivedDate) + //console.log('1111'+formContent.value.arrivedDate) if (formContent.value.id) { const result = await updatePqDev(formContent.value); if(result.code != 'A0000'){ diff --git a/frontend/src/views/machine/device/index.vue b/frontend/src/views/machine/device/index.vue index 631978c..96ace5e 100644 --- a/frontend/src/views/machine/device/index.vue +++ b/frontend/src/views/machine/device/index.vue @@ -149,23 +149,15 @@ const handleDelete = async (params: Device.ResPqDev) => { proTable.value?.getTableList() } - -<<<<<<< HEAD // 导出设备 const downloadFile = async () => { ElMessageBox.confirm('确认导出被检设备?', '温馨提示', { type: 'warning' }).then(() => - useDownload(exportPqDev, '被检设备导出数据', proTable.value?.searchParam, false,'.xls'), + useDownload(exportPqDev, '被检设备导出数据', proTable.value?.searchParam, false,'.xlsx'), ) } - //导入设备 -const importFile = () => { - ElMessageBox.confirm('确认批量导入被检设备?', '温馨提示', { type: 'warning' }).then(() => - - ) -======= -const deviceImportExcel = ref | null>("deviceExcel") +const deviceImportExcel = ref | null>(null) const importFile=async ()=>{ const params = { @@ -175,7 +167,6 @@ const importFile=async ()=>{ getTableList: proTable.value?.getTableList, } deviceImportExcel.value?.acceptParams(params) ->>>>>>> f08f45fb9ca7088c9b959b5952cef55fd7f4eeb6 } \ No newline at end of file