From 316b39d15b80a0c3de85658ec7a8e028b770b8d2 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Wed, 19 Jan 2022 11:23:18 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E5=A4=8D=E5=90=88=E8=B7=B3=E8=BD=AC=E9=9D=9E?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E7=BB=84=E7=BB=87404=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tickets/CommandConfirm/Detail/TicketDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/tickets/CommandConfirm/Detail/TicketDetail.vue b/src/views/tickets/CommandConfirm/Detail/TicketDetail.vue index aac6a2aae..43170ef20 100644 --- a/src/views/tickets/CommandConfirm/Detail/TicketDetail.vue +++ b/src/views/tickets/CommandConfirm/Detail/TicketDetail.vue @@ -75,7 +75,7 @@ export default { key: this.$t('tickets.ApplyFromSession'), value: this.object.meta.apply_from_session_id, formatter: function(item, value) { - const to = { name: 'SessionDetail', params: { id: value }} + const to = { name: 'SessionDetail', params: { id: value }, query: { oid: vm.object.org_id }} return {vm.$t('sessions.session')} } }, From c1ddc0f8e0f08364ea9a28fa85d3c7dc61454251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=80=80=E7=A3=8A=E2=80=9D?= <2280131253@qq.com> Date: Wed, 19 Jan 2022 12:52:08 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=BA=94=E7=94=A8=E4=BF=9D=E5=AD=98=E6=97=B6?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tickets/RequestApplicationPerm/CreateUpdate.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue b/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue index 231a39f41..bf67764a9 100644 --- a/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue +++ b/src/views/tickets/RequestApplicationPerm/CreateUpdate.vue @@ -232,10 +232,14 @@ export default { }, methods: { performSubmit(validValues) { - const applyCategoryType = validValues.meta.apply_category_type - validValues.meta.apply_category = applyCategoryType && applyCategoryType.length > 0 ? applyCategoryType[0] : '' - validValues.meta.apply_type = applyCategoryType && applyCategoryType.length > 0 ? applyCategoryType[1] : '' - delete validValues.meta['apply_category_type'] + const validMeta = validValues.meta + const applyCategoryType = validMeta.apply_category_type + const filter = (len, field) => { + return applyCategoryType && applyCategoryType.length > 0 ? applyCategoryType[len] : validMeta[field] + } + validMeta.apply_category = filter(0, 'apply_category') + validMeta.apply_type = filter(1, 'apply_type') + delete validMeta['apply_category_type'] return this.$axios['post'](`/api/v1/tickets/tickets/open/?type=apply_application`, validValues) } } From 537887553df6fe5fafb676261d7a317cabceeead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E6=80=80=E7=A3=8A=E2=80=9D?= <2280131253@qq.com> Date: Wed, 19 Jan 2022 11:18:37 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E3=80=81=E8=B4=A6=E5=8F=B7=E5=A4=87=E4=BB=BD?= =?UTF-8?q?=E3=80=81=E4=B8=8A=E4=BC=A0ssh=E5=AF=86=E9=92=A5=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=BF=BB=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1、替换了改密计划-资产改密,密码框组件 --- .../AccountListTable/UpdateSecretInfo.vue | 22 +++++++------------ src/i18n/langs/cn.json | 2 +- src/i18n/langs/en.json | 1 + .../accounts/AccountBackupPlan/fields.js | 2 ++ src/views/accounts/ChangeAuthPlan/fields.js | 4 +++- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/components/AccountListTable/UpdateSecretInfo.vue b/src/components/AccountListTable/UpdateSecretInfo.vue index a7be3023a..a02cb400b 100644 --- a/src/components/AccountListTable/UpdateSecretInfo.vue +++ b/src/components/AccountListTable/UpdateSecretInfo.vue @@ -8,7 +8,7 @@ @cancel="handleCancel()" v-on="$listeners" > - + @@ -18,8 +18,8 @@ - - + + @@ -30,10 +30,12 @@