From 41964c5c5856883bb1f842948f4d7f37ced84910 Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Fri, 5 Feb 2021 10:16:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/i18n/messages_zh_TW.properties | 2 +- .../track/case/components/CustomHeader.vue | 136 ++++++++++++++++++ .../track/case/components/TestCaseList.vue | 31 +++- 3 files changed, 161 insertions(+), 8 deletions(-) create mode 100644 frontend/src/business/components/track/case/components/CustomHeader.vue diff --git a/backend/src/main/resources/i18n/messages_zh_TW.properties b/backend/src/main/resources/i18n/messages_zh_TW.properties index 4e9f9ffff4..485b69f6d6 100644 --- a/backend/src/main/resources/i18n/messages_zh_TW.properties +++ b/backend/src/main/resources/i18n/messages_zh_TW.properties @@ -185,4 +185,4 @@ automation_exec_info=沒有測試步驟,無法執行 #authsource authsource_name_already_exists=認證源名稱已經存在 authsource_name_is_null=認證源名稱不能為空 -authsource_configuration_is_null=認證源配置不能為空 \ No newline at end of file +authsource_configuration_is_null=認證源配置不能為空 diff --git a/frontend/src/business/components/track/case/components/CustomHeader.vue b/frontend/src/business/components/track/case/components/CustomHeader.vue new file mode 100644 index 0000000000..4cf16a5018 --- /dev/null +++ b/frontend/src/business/components/track/case/components/CustomHeader.vue @@ -0,0 +1,136 @@ + + + + + diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index f63ddc8a7d..3830f25a35 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -39,10 +39,10 @@ type="selection"/> + :page-size="pageSize > total ? total : pageSize" + :total="total" + @selectPageAll="isSelectDataAll(false)" + @selectAll="isSelectDataAll(true)"/> - + + - + + @@ -169,6 +174,7 @@ +