From bd3dbca8e1b05a8e5dfea4afc0a1b45add35d20f Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Thu, 1 Aug 2024 14:36:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/tableStore.ts | 20 +++++++++---------- .../terminal/components/substationLedger.vue | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/utils/tableStore.ts b/src/utils/tableStore.ts index 8837fff7..4a50e358 100644 --- a/src/utils/tableStore.ts +++ b/src/utils/tableStore.ts @@ -5,18 +5,18 @@ import { Method } from 'axios' import { mainHeight } from '@/utils/layout' interface TableStoreParams { - url: string - pk?: string + url: string // 请求地址 + pk?: string column: TableColumn[] - params?: anyObj - method?: Method + params?: anyObj + method?: Method // 请求方式 isWebPaging?: boolean // 是否前端分页 - showPage?: boolean - paramsPOST?: boolean - publicHeight?: number - resetCallback?: () => void - loadCallback?: () => void - beforeSearchFun?: () => void + showPage?: boolean //是否需要分页 + paramsPOST?: boolean // post请求 params传参 + publicHeight?: number //计算高度 + resetCallback?: () => void // 重置 + loadCallback?: () => void // 接口调用后的回调 + beforeSearchFun?: () => void // 接口调用前的回调 } export default class TableStore { diff --git a/src/views/pqs/supervise/terminal/components/substationLedger.vue b/src/views/pqs/supervise/terminal/components/substationLedger.vue index 0d311fb4..9d92c2ba 100644 --- a/src/views/pqs/supervise/terminal/components/substationLedger.vue +++ b/src/views/pqs/supervise/terminal/components/substationLedger.vue @@ -5,7 +5,7 @@