From 20d98bf09eaa4daa1e6e4a9bd93c0e0d6ae38c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com>
Date: Thu, 18 Jan 2024 18:10:45 +0800
Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=9B=B4=E5=A4=9A?=
=?UTF-8?q?=E6=93=8D=E4=BD=9C=E9=AB=98=E5=BA=A6=EF=BC=9B=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E5=BF=AB=E6=8D=B7=E5=91=BD=E4=BB=A4=E5=8F=B3=E4=BE=A7=E5=9B=BE?=
=?UTF-8?q?=E6=A0=87=EF=BC=9B=E4=BC=98=E5=8C=96=E8=B4=A6=E5=8F=B7=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=88=97=E8=A1=A8-=E5=AE=9A=E6=9C=9F=E6=89=A7?=
=?UTF-8?q?=E8=A1=8C=E5=9C=A8=E4=B8=AD=E3=80=81=E8=8B=B1=E6=96=87=E7=8A=B6?=
=?UTF-8?q?=E6=80=81=E4=B8=8B=E7=9A=84=E5=AE=BD=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Table/ListTable/TableAction/index.vue | 6 ++++++
src/icons/svg/help.svg | 1 +
src/icons/svg/load-file.svg | 1 +
src/icons/svg/save-line.svg | 1 +
.../AccountChangeSecret/AccountChangeSecretList.vue | 2 +-
src/views/accounts/AccountGather/AccountGatherTaskList.vue | 2 +-
src/views/accounts/AccountPush/AccountPushList.vue | 3 +++
src/views/ops/Job/QuickJob.vue | 6 +++---
src/views/profile/ProfileUpdate/index.vue | 1 +
9 files changed, 18 insertions(+), 5 deletions(-)
create mode 100644 src/icons/svg/help.svg
create mode 100644 src/icons/svg/load-file.svg
create mode 100644 src/icons/svg/save-line.svg
diff --git a/src/components/Table/ListTable/TableAction/index.vue b/src/components/Table/ListTable/TableAction/index.vue
index 6a5920fea..571d685ef 100644
--- a/src/components/Table/ListTable/TableAction/index.vue
+++ b/src/components/Table/ListTable/TableAction/index.vue
@@ -209,6 +209,12 @@ export default {
.left-side {
float: left;
display: block;
+ &>>> .action-item.el-dropdown {
+ height: 33px;
+ &> .el-button {
+ height: 100%;
+ }
+ }
}
.right-side {
diff --git a/src/icons/svg/help.svg b/src/icons/svg/help.svg
new file mode 100644
index 000000000..c926bfc79
--- /dev/null
+++ b/src/icons/svg/help.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/load-file.svg b/src/icons/svg/load-file.svg
new file mode 100644
index 000000000..ff7912e10
--- /dev/null
+++ b/src/icons/svg/load-file.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/icons/svg/save-line.svg b/src/icons/svg/save-line.svg
new file mode 100644
index 000000000..fb0533df8
--- /dev/null
+++ b/src/icons/svg/save-line.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue b/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue
index c4ca707b4..30a09f9a1 100644
--- a/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue
+++ b/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue
@@ -54,7 +54,7 @@ export default {
formatterArgs: {
showFalse: false
},
- width: '80px'
+ width: '152px'
},
periodic_display: {
label: vm.$t('accounts.AccountChangeSecret.TimerPeriod'),
diff --git a/src/views/accounts/AccountGather/AccountGatherTaskList.vue b/src/views/accounts/AccountGather/AccountGatherTaskList.vue
index bb0917505..e90399d72 100644
--- a/src/views/accounts/AccountGather/AccountGatherTaskList.vue
+++ b/src/views/accounts/AccountGather/AccountGatherTaskList.vue
@@ -47,7 +47,7 @@ export default {
formatterArgs: {
showFalse: false
},
- width: '80px'
+ width: '152px'
},
periodic_display: {
label: vm.$t('accounts.AccountChangeSecret.TimerPeriod'),
diff --git a/src/views/accounts/AccountPush/AccountPushList.vue b/src/views/accounts/AccountPush/AccountPushList.vue
index d5dd69659..403b56669 100644
--- a/src/views/accounts/AccountPush/AccountPushList.vue
+++ b/src/views/accounts/AccountPush/AccountPushList.vue
@@ -63,6 +63,9 @@ export default {
label: vm.$t('accounts.AccountChangeSecret.NodeAmount'),
width: '80px'
},
+ is_periodic: {
+ width: '152px'
+ },
periodic_display: {
label: vm.$t('accounts.AccountChangeSecret.TimerPeriod'),
width: '150px'
diff --git a/src/views/ops/Job/QuickJob.vue b/src/views/ops/Job/QuickJob.vue
index 29beda350..0e7ef7afc 100644
--- a/src/views/ops/Job/QuickJob.vue
+++ b/src/views/ops/Job/QuickJob.vue
@@ -226,7 +226,7 @@ export default {
openCommand: {
type: 'button',
align: 'right',
- icon: 'fa-folder-open',
+ icon: 'load-file',
tip: this.$t('ops.OpenCommand'),
callback: (val, setting) => {
this.showOpenAdhocDialog = true
@@ -235,7 +235,7 @@ export default {
saveCommand: {
type: 'button',
align: 'right',
- icon: 'save',
+ icon: 'save-line',
tip: this.$t('ops.SaveCommand'),
callback: (val, setting) => {
if (!this.command) {
@@ -248,7 +248,7 @@ export default {
help: {
type: 'button',
align: 'right',
- icon: 'fa fa-question-circle',
+ icon: 'help',
tip: this.$t('ops.Help'),
callback: (val, setting) => {
this.showHelpDialog = true
diff --git a/src/views/profile/ProfileUpdate/index.vue b/src/views/profile/ProfileUpdate/index.vue
index 369ebff74..be500f3f6 100644
--- a/src/views/profile/ProfileUpdate/index.vue
+++ b/src/views/profile/ProfileUpdate/index.vue
@@ -29,6 +29,7 @@ export default {
activeMenu: 'ProfileUpdate',
submenu: this.getSubmenu(),
hasRightSide: false,
+ hasActivity: false,
actions: {
detailApiUrl: '/api/v1/users/profile/'
}