From b47c8f0ba0604f9a2462cf420aa91b659e0c706b Mon Sep 17 00:00:00 2001 From: GoldenZqqq <1361001127@qq.com> Date: Wed, 21 Aug 2024 15:03:17 +0800 Subject: [PATCH 01/25] =?UTF-8?q?refactor:=20=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80=E4=B8=8E?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/svgs/send.svg | 1 + .../bpm/processInstance/detail/index_new.vue | 493 ++++++++++++++++++ 2 files changed, 494 insertions(+) create mode 100644 src/assets/svgs/send.svg create mode 100644 src/views/bpm/processInstance/detail/index_new.vue diff --git a/src/assets/svgs/send.svg b/src/assets/svgs/send.svg new file mode 100644 index 00000000..eb16fc13 --- /dev/null +++ b/src/assets/svgs/send.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/bpm/processInstance/detail/index_new.vue b/src/views/bpm/processInstance/detail/index_new.vue new file mode 100644 index 00000000..41db5958 --- /dev/null +++ b/src/views/bpm/processInstance/detail/index_new.vue @@ -0,0 +1,493 @@ + + + + From d22a2933b6116f31fbb27c58f8047e7165b8ea11 Mon Sep 17 00:00:00 2001 From: GoldenZqqq <1361001127@qq.com> Date: Wed, 21 Aug 2024 16:57:59 +0800 Subject: [PATCH 02/25] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bpm/processInstance/detail/index_new.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/bpm/processInstance/detail/index_new.vue b/src/views/bpm/processInstance/detail/index_new.vue index 41db5958..7a23c2e2 100644 --- a/src/views/bpm/processInstance/detail/index_new.vue +++ b/src/views/bpm/processInstance/detail/index_new.vue @@ -8,7 +8,7 @@
{{ processInstance.name }}
@@ -32,7 +32,7 @@ - 审批意见 +
审批意见
.form-box { - :deep(.el-card){ - border: none + :deep(.el-card) { + border: none; } } - From 6586ba43a86244298aa2e1dc05d0777c02021fcd Mon Sep 17 00:00:00 2001 From: preschooler Date: Wed, 21 Aug 2024 13:29:15 +0800 Subject: [PATCH 03/25] =?UTF-8?q?=F0=9F=8E=88=20perf:=E4=BC=98=E5=8C=96ifr?= =?UTF-8?q?ame=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IFrame/src/IFrame.vue | 33 ++++++++++++++----- src/views/infra/druid/index.vue | 4 +-- src/views/infra/server/index.vue | 2 +- src/views/infra/skywalking/index.vue | 2 +- src/views/infra/swagger/index.vue | 4 +-- .../delivery/pickUpStore/PickUpStoreForm.vue | 15 ++------- src/views/report/goview/index.vue | 1 + src/views/report/jmreport/index.vue | 4 +-- 8 files changed, 35 insertions(+), 30 deletions(-) diff --git a/src/components/IFrame/src/IFrame.vue b/src/components/IFrame/src/IFrame.vue index 19de51a3..64ffc0e5 100644 --- a/src/components/IFrame/src/IFrame.vue +++ b/src/components/IFrame/src/IFrame.vue @@ -7,26 +7,41 @@ const props = defineProps({ src: propTypes.string.def('') }) const loading = ref(true) -const height = ref('') const frameRef = ref(null) const init = () => { - height.value = document.documentElement.clientHeight - 94.5 + 'px' - loading.value = false + nextTick(() => { + loading.value = true + if (!frameRef.value) return + frameRef.value.onload = () => { + loading.value = false + } + }) } onMounted(() => { - setTimeout(() => { - init() - }, 300) + init() }) +watch( + () => props.src, + () => { + init() + } +) diff --git a/src/views/infra/druid/index.vue b/src/views/infra/druid/index.vue index bc047d76..2ac99d23 100644 --- a/src/views/infra/druid/index.vue +++ b/src/views/infra/druid/index.vue @@ -2,8 +2,8 @@ - - + +