From fbc94ac4f22875fb8416876c0db1390730b502a2 Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Thu, 19 Jan 2023 18:00:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=9A=84=E5=88=97=E8=A1=A8=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Pagination/index.vue | 115 ++++++++++ src/components/index.js | 1 + src/i18n/langs/en.json | 1 + src/i18n/langs/ja.json | 1 + src/i18n/langs/zh.json | 1 + .../Applet/Applet/AppletDetail/Detail.vue | 88 +------ .../Applet/Applet/AppletDetail/index.vue | 40 ++-- .../settings/Applet/Applet/AppletList.vue | 57 +---- .../Applet/Applet/components/CardTable.vue | 217 ++++++++++++++++++ 9 files changed, 370 insertions(+), 151 deletions(-) create mode 100644 src/components/Pagination/index.vue create mode 100644 src/views/settings/Applet/Applet/components/CardTable.vue diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue new file mode 100644 index 000000000..a6fc0098d --- /dev/null +++ b/src/components/Pagination/index.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/components/index.js b/src/components/index.js index 2827e6f61..e17aa07a9 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -28,3 +28,4 @@ export { default as AssetRelationCard } from './AssetRelationCard' export { default as UserConfirmDialog } from './UserConfirmDialog' export { default as Announcement } from './Announcement' export { default as CronTab } from './CronTab' +export { default as Pagination } from './Pagination' diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 364ed1ec0..6ae7638cc 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -802,6 +802,7 @@ }, "route": { "": "", + "AppletDetail": "Remote apps", "CreateEndpoint": "Create endpoint", "UpdateEndpoint": "Update endpoint", "CreateEndpointRule": "Create endpoint rule", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index b237622e7..9149c9723 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -806,6 +806,7 @@ }, "route": { "": "", + "AppletDetail": "遠隔応用です", "AssignedTicketList": "割り当て済みワークオーダー", "CreateEndpoint": "エンドポイントを作成する", "UpdateEndpoint": "エンドポイントを更新", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 68a7d10e0..f69685201 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -995,6 +995,7 @@ }, "route": { "": "", + "AppletDetail": "远程应用", "AppletHostDetail": "远程应用发布机详情", "AppletHostCreate": "添加远程应用发布机", "AppletHostUpdate": "更新远程应用发布机", diff --git a/src/views/settings/Applet/Applet/AppletDetail/Detail.vue b/src/views/settings/Applet/Applet/AppletDetail/Detail.vue index 1508d8305..5b6a621e7 100644 --- a/src/views/settings/Applet/Applet/AppletDetail/Detail.vue +++ b/src/views/settings/Applet/Applet/AppletDetail/Detail.vue @@ -3,22 +3,16 @@ - - - diff --git a/src/views/settings/Applet/Applet/AppletList.vue b/src/views/settings/Applet/Applet/AppletList.vue index e197fc25d..ca5bb406f 100644 --- a/src/views/settings/Applet/Applet/AppletList.vue +++ b/src/views/settings/Applet/Applet/AppletList.vue @@ -1,17 +1,17 @@ + +