From 614522465b28f198c9fee693a9e272ee187bd259 Mon Sep 17 00:00:00 2001 From: Yuan Date: Tue, 6 Jun 2023 13:17:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8A=A5=E9=94=99=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/DraftApi.ts | 6 +++--- src/pages/DraftManage.vue | 2 +- tsconfig.json | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/api/DraftApi.ts b/src/api/DraftApi.ts index 4eea281..af88d88 100644 --- a/src/api/DraftApi.ts +++ b/src/api/DraftApi.ts @@ -1,6 +1,6 @@ import { api } from 'src/boot/axios'; -const DraftUriBase = '/api/draft/layout'; +const DraftUriBase = '/api/drafting'; /** * 分页查询 @@ -8,11 +8,11 @@ const DraftUriBase = '/api/draft/layout'; * @returns */ export function pageQuery(query: { - pageNum: number; + pages: number; size: number; name: string; }) { - return api.get(`${DraftUriBase}/page`, { params: query }); + return api.get(`${DraftUriBase}/paging`, { params: query }); } /** diff --git a/src/pages/DraftManage.vue b/src/pages/DraftManage.vue index 9680784..0d4ff4a 100644 --- a/src/pages/DraftManage.vue +++ b/src/pages/DraftManage.vue @@ -164,7 +164,7 @@ async function onRequest(props: any) { loading.value = true; try { let response = await pageQuery({ - pageNum: page, + pages: page, size: rowsPerPage, name: filter.name, }); diff --git a/tsconfig.json b/tsconfig.json index ee0d9cf..483ae96 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,5 +2,7 @@ "extends": "@quasar/app-vite/tsconfig-preset", "compilerOptions": { "baseUrl": "." - } -} \ No newline at end of file + }, + "include": ["src/**/*"], + "exclude": ["/graphic-pixi/*/**.ts"] +}