From 159ae604ac40330fd1a6ac937f0961f2ad0f25a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BB=E8=B0=B1?= <144224541+xixiIBN5100@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:17:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(dataDisplay):=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E6=90=9C=E7=B4=A2=E5=92=8C=E8=BF=91=E6=9C=9F=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=8A=9F=E8=83=BD=20=20(#52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(dataDisplay): 增加了搜索和近期筛选功能 * feat(CD):新增CD workflows * feat(CI):为dev新增CI workflows * fix(node): CD node版本降级 * fix * feat(axios):新增axios依赖 (#49) * style:优化代码格式 * feat(axios):新增axios依赖 * fix(CD):修复github_token失效的问题 * test(CD):测试CD * Update package.json * Update package.json * Update package.json * Update package.json * Update package.json * Update cd.yml * Update package.json * Update axios.ts * Update package.json * feat(dataDisplay): 增加了搜索和近期筛选功能 * fix(apis): 修改为代理 --------- Co-authored-by: 离谱 <144224541+xixiIBN5100@users.noreply.github.com> * Update package.json --------- Co-authored-by: RosyrRais <145672957+RosyrRais@users.noreply.github.com> --- package.json | 2 +- src/apis/service/DataDisplay/getAnswersAPI.ts | 2 ++ src/pages/DataDisplay/index.vue | 20 +++++++++++++++---- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index fdf9474..26be506 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "text-ci", - "version": "0.1.0", + "version": "0.1.1", "private": true, "type": "module", "scripts": { diff --git a/src/apis/service/DataDisplay/getAnswersAPI.ts b/src/apis/service/DataDisplay/getAnswersAPI.ts index 07cf0cf..24f5909 100644 --- a/src/apis/service/DataDisplay/getAnswersAPI.ts +++ b/src/apis/service/DataDisplay/getAnswersAPI.ts @@ -4,6 +4,8 @@ const getAnswersAPI = (data:{ id:number, page_num: number, page_size: number, + text?: string, + unique: boolean, }) => { return request("/api/admin/list/answers", { params: data, diff --git a/src/pages/DataDisplay/index.vue b/src/pages/DataDisplay/index.vue index dfc304f..baa71e9 100644 --- a/src/pages/DataDisplay/index.vue +++ b/src/pages/DataDisplay/index.vue @@ -13,6 +13,8 @@