From 16d59975f9e3087b4e5b345f326b6dbff408e3ca Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 3 Jun 2024 12:58:37 +0800 Subject: [PATCH 01/81] =?UTF-8?q?fix:=20=E8=A1=8C=E5=88=97=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- de-xpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de-xpack b/de-xpack index 141bb393aa..448c319f8e 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 141bb393aaf0e4cc519295f00d6900529af93b68 +Subproject commit 448c319f8e519be5f4b47663258136bcb6fc3faa From aa31cc9ec84197b20c4d97ffc3e1f5d63f32db61 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 3 Jun 2024 14:18:50 +0800 Subject: [PATCH 02/81] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6)?= =?UTF-8?q?:=20=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E5=88=87=E6=8D=A2=E6=89=8B=E5=8A=A8=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E7=BD=AE=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom-component/v-query/Component.vue | 2 +- .../v-query/QueryConditionConfiguration.vue | 45 +++++++++++++++---- .../src/custom-component/v-query/Select.vue | 10 +++-- 3 files changed, 44 insertions(+), 13 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index 7271cb437d..82c6a6f0ce 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -389,7 +389,7 @@ const autoStyle = computed(() => { + diff --git a/core/core-frontend/src/custom-component/v-query/Select.vue b/core/core-frontend/src/custom-component/v-query/Select.vue index 77ee7ecb1e..4cea917edd 100644 --- a/core/core-frontend/src/custom-component/v-query/Select.vue +++ b/core/core-frontend/src/custom-component/v-query/Select.vue @@ -334,15 +334,19 @@ watch( watch( () => config.value.optionValueSource, - val => { - debounceOptions(val) + (valNew, newOld) => { + if ([valNew, newOld].includes(2)) { + selectValue.value = Array.isArray(selectValue.value) ? [] : undefined + config.value.selectValue = cloneDeep(selectValue.value) + config.value.defaultValue = cloneDeep(selectValue.value) + } + debounceOptions(valNew) } ) watch( [() => config.value.checkedFields, () => config.value.checkedFieldsMap], () => { - if (!props.isConfig) return debounceOptions(config.value.optionValueSource) }, { From a0b4a458f2d3c08093075c59be7ee630d983cc8c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 3 Jun 2024 14:57:53 +0800 Subject: [PATCH 03/81] =?UTF-8?q?fix(X-Pack):=20=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E5=AF=BC=E6=8E=A5=E6=94=B6=E4=BA=BA=E3=80=81?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E3=80=81=E9=A3=9E=E4=B9=A6=E7=BE=A4=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E5=90=8C=E6=97=B6=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- de-xpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de-xpack b/de-xpack index 448c319f8e..1edc0e30b8 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit 448c319f8e519be5f4b47663258136bcb6fc3faa +Subproject commit 1edc0e30b8e8c4f3045cd2b5ff6b90598d833b7e From a4d797895387872e68fdc35df0e2a3a8c53141e8 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 3 Jun 2024 15:43:15 +0800 Subject: [PATCH 04/81] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F)?= =?UTF-8?q?:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=90=8E=E7=BB=84=E4=BB=B6=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E6=9C=89=E5=8F=98=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/canvasUtils.ts | 2 +- .../src/views/data-visualization/index.vue | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/core/core-frontend/src/utils/canvasUtils.ts b/core/core-frontend/src/utils/canvasUtils.ts index a59498aa2f..d1ff7e2468 100644 --- a/core/core-frontend/src/utils/canvasUtils.ts +++ b/core/core-frontend/src/utils/canvasUtils.ts @@ -152,7 +152,7 @@ export function initCanvasDataPrepare(dvId, busiFlag, callBack) { }) } -export function initCanvasData(dvId, busiFlag, callBack) { +export async function initCanvasData(dvId, busiFlag, callBack) { initCanvasDataPrepare( dvId, busiFlag, diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue index fc3775cbda..2f58c0be5f 100644 --- a/core/core-frontend/src/views/data-visualization/index.vue +++ b/core/core-frontend/src/views/data-visualization/index.vue @@ -79,7 +79,7 @@ const dvLayout = ref(null) const canvasCenterRef = ref(null) const state = reactive({ datasetTree: [], - scaleHistory: 100, + scaleHistory: null, canvasId: 'canvas-main', canvasInitStatus: false, sourcePid: null, @@ -204,10 +204,10 @@ const doUseCache = flag => { } } -const initLocalCanvasData = () => { +const initLocalCanvasData = async () => { const { opt, sourcePid, resourceId } = state const busiFlg = opt === 'copy' ? 'dataV-copy' : 'dataV' - initCanvasData(resourceId, busiFlg, function () { + await initCanvasData(resourceId, busiFlg, function () { state.canvasInitStatus = true // afterInit nextTick(() => { @@ -238,7 +238,9 @@ watch( () => editMode.value, val => { if (val === 'edit') { - canvasStyleData.value.scale = state.scaleHistory + if (state.scaleHistory) { + canvasStyleData.value.scale = state.scaleHistory + } initScroll() } else { previewScaleChange() @@ -288,7 +290,7 @@ onMounted(async () => { if (canvasCache) { canvasCacheOutRef.value?.dialogInit({ canvasType: 'dataV', resourceId: dvId }) } else { - initLocalCanvasData() + await initLocalCanvasData() } } else if (opt && opt === 'create') { state.canvasInitStatus = false From 24e0ffe23547fadd8021fbf55273155ce31bc09d Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Mon, 3 Jun 2024 16:20:51 +0800 Subject: [PATCH 05/81] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E6=BA=90):=20?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=95=B0=E6=8D=AE=E6=BA=90=EF=BC=8C=E6=98=8E?= =?UTF-8?q?=E6=96=87=E6=98=BE=E7=A4=BA=E5=AF=86=E7=A0=81=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=EF=BC=8C=E5=86=8D=E6=AC=A1=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=95=B0=E6=8D=AE=E7=95=8C=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E4=BB=8D=E7=84=B6=E6=98=AF=E6=98=8E=E6=96=87?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/visualized/data/dataset/ExportExcel.vue | 8 ++++---- .../src/views/visualized/data/datasource/form/index.vue | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue b/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue index cf28672629..33f5139ec7 100644 --- a/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue +++ b/core/core-frontend/src/views/visualized/data/dataset/ExportExcel.vue @@ -348,7 +348,7 @@ defineExpose({ @@ -358,15 +358,15 @@ defineExpose({ {{ $t('data_export.download_all') }} {{ $t('data_export.download') }} - {{ $t('data_export.del_all') }} - {{ $t('commons.delete') }}
diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/index.vue b/core/core-frontend/src/views/visualized/data/datasource/form/index.vue index 7b5e7db117..4f6bd7cf52 100644 --- a/core/core-frontend/src/views/visualized/data/datasource/form/index.vue +++ b/core/core-frontend/src/views/visualized/data/datasource/form/index.vue @@ -73,8 +73,8 @@ const selectDsType = (type: string) => { currentDsType.value = type activeStep.value = 1 activeApiStep.value = 1 - detail.value.initForm(type) nextTick(() => { + detail.value.initForm(type) if (!dsTree.value) return currentTypeList.value .map(ele => ele.dbList) @@ -493,7 +493,9 @@ const init = (nodeInfo: Form | Param, id?: string, res?: object) => { excel.value.appendReplaceExcel(res) }) } - detail.value.clearForm() + nextTick(() => { + detail.value.clearForm() + }) }) } } @@ -653,7 +655,7 @@ defineExpose({ :form="form" :editDs="editDs" :active-step="activeApiStep" - v-show="activeStep !== 0 && currentDsType && currentDsType !== 'Excel'" + v-if="activeStep !== 0 && currentDsType && currentDsType !== 'Excel' && visible" >