From 4d990026fa1d458d3154b34cdc99521b816fcde8 Mon Sep 17 00:00:00 2001 From: geting <13585118195@163.com> Date: Mon, 2 Dec 2024 16:46:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=85=E9=9A=9C=E7=A0=81=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/backend/theoreticalpowerCurve/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ui/dasadmin/src/views/backend/theoreticalpowerCurve/index.vue b/ui/dasadmin/src/views/backend/theoreticalpowerCurve/index.vue index 56edff34..354b45ed 100644 --- a/ui/dasadmin/src/views/backend/theoreticalpowerCurve/index.vue +++ b/ui/dasadmin/src/views/backend/theoreticalpowerCurve/index.vue @@ -65,7 +65,7 @@
- +
@@ -343,7 +343,7 @@ const update3 = (file: any) => { .then((res: any) => { if (res.success) { ElMessage.success('更新成功') - getRunLog() + getfaultCodeDict() } else { ElMessage.error(res.msg) } @@ -356,6 +356,7 @@ const update3 = (file: any) => { // 导出 const download3 = () => { console.log(currentRow) + console.log('🚀 ~ download3 ~ currentRow:', currentRow) exportfaultCodeDict({ id: currentRow.value.id }).then((res: any) => { const downloadUrl = window.URL.createObjectURL(res) const a = document.createElement('a') @@ -561,14 +562,14 @@ const handleCurrentChange2 = (val: any) => { const handleSizeChange3 = (val: any) => { paginationOptions3.pageSize = val paginationOptions3.current = 1 - runLogpageData.value = runLogData.value.slice(0, paginationOptions1.pageSize) + faultCodeDictpageData.value = faultCodeDictData.value.slice(0, paginationOptions3.pageSize) } // 当前页改变时触发 const handleCurrentChange3 = (val: any) => { paginationOptions3.current = val const start = (paginationOptions3.current - 1) * paginationOptions3.pageSize const end = start + paginationOptions3.pageSize - runLogpageData.value = runLogData.value.slice(start, end) + faultCodeDictpageData.value = faultCodeDictData.value.slice(start, end) } const getList = () => {