From 791dca6ef1297daaf5c971856518f7200bf6da85 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 10:33:08 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6):?= =?UTF-8?q?=20=E6=97=B6=E9=97=B4=E8=8C=83=E5=9B=B4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=8D=95=E8=AF=8D=E6=9F=A5=E8=AF=A2=E6=95=B0=E5=80=BC?= =?UTF-8?q?=E6=A1=86=E5=85=81=E8=AE=B8=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/panel/filter/filterMain/RangeFilterTime.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/core/frontend/src/views/panel/filter/filterMain/RangeFilterTime.vue b/core/frontend/src/views/panel/filter/filterMain/RangeFilterTime.vue index 049578f806..ce5ce4ae6e 100644 --- a/core/frontend/src/views/panel/filter/filterMain/RangeFilterTime.vue +++ b/core/frontend/src/views/panel/filter/filterMain/RangeFilterTime.vue @@ -161,6 +161,7 @@ From 86e3f1ee9a2c4cb737ea5603f47cbe5c044c1e57 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 10:33:32 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6):?= =?UTF-8?q?=20=E4=B8=8B=E6=8B=89=E7=BB=84=E4=BB=B6=E5=8D=95=E9=80=89?= =?UTF-8?q?=E6=A1=86=E9=80=89=E4=B8=AD=E5=90=8E=E6=97=A0=E6=B3=95=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../panel/filter/filterMain/FilterHead.vue | 40 +++++++++++++++---- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue index a8b044646b..45f183f3f8 100644 --- a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue +++ b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue @@ -55,6 +55,26 @@ >{{ $t('commons.required') }} + + 当前组件的展示风格为平铺,如果设为非必填,那么组件的展示风格将切换为下拉展示。 +
+ + {{ $t('commons.cancel') }} + {{ $t('commons.confirm') }} + +
+
@@ -77,18 +97,22 @@ export default { }, data() { return { - targets: [] + dialogVisible: false } - }, - computed: { - - }, - - created() { - }, methods: { + sureRequired() { + this.element.options.attrs.required = false + this.dialogVisible = false + }, requiredChange(val) { + if (val === false && (this.element.style.showMode && this.element.style.showMode === 'radio' && !this.element.options.attrs.multiple)) { + this.dialogVisible = true + this.$nextTick(() => { + this.element.options.attrs.required = true + }) + return + } this.$emit('required-change', val) }, getTableName(tableId) { From 984f616f000c4a9f9bf58b202840f198d92ab4fe Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 10:33:58 +0800 Subject: [PATCH 3/5] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6):?= =?UTF-8?q?=20=E7=BB=84=E4=BB=B6=E7=BC=96=E8=BE=91-=E3=80=90=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E3=80=91=E6=8C=89=E9=92=AE=E9=BB=98=E8=AE=A4=E8=89=B2?= =?UTF-8?q?=E5=80=BC=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/panel/filter/filterMain/FilterControl.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/views/panel/filter/filterMain/FilterControl.vue b/core/frontend/src/views/panel/filter/filterMain/FilterControl.vue index e776099dc7..97c5a8bc6e 100644 --- a/core/frontend/src/views/panel/filter/filterMain/FilterControl.vue +++ b/core/frontend/src/views/panel/filter/filterMain/FilterControl.vue @@ -520,7 +520,6 @@ export default { margin-right: -4px; margin-left: 6px; border-radius: 4px; - color: #3370FF; font-size: 14px; font-weight: 400; line-height: 22px; @@ -528,6 +527,7 @@ export default { justify-content: center; &:hover { background: #3370FF1A; + color: #3370FF; } &.icon-icon-more::before { From d8dd664cb7a2ff92994a3ac1b09f7b0702d8fd7c Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 1 Apr 2024 10:34:22 +0800 Subject: [PATCH 4/5] =?UTF-8?q?fix(=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6):?= =?UTF-8?q?=20=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6-=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F-=E5=B1=95=E7=A4=BA=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E6=95=B0=E5=8F=AF=E4=BB=A5=E8=BE=93=E5=85=A5=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/background/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/frontend/src/views/background/index.vue b/core/frontend/src/views/background/index.vue index 4321d6c761..aff49709ae 100644 --- a/core/frontend/src/views/background/index.vue +++ b/core/frontend/src/views/background/index.vue @@ -236,7 +236,7 @@ -