-
+
-
+
{{ $t('deDataset.select_data_source') }}
@@ -153,9 +153,11 @@
diff --git a/frontend/src/views/dataset/group/Group.vue b/frontend/src/views/dataset/group/Group.vue
index bbac9249ca..2629544d46 100644
--- a/frontend/src/views/dataset/group/Group.vue
+++ b/frontend/src/views/dataset/group/Group.vue
@@ -221,9 +221,7 @@
class="ds-icon-api"
/>
-
+
@@ -238,7 +236,13 @@
overflow: hidden;
text-overflow: ellipsis;
"
- :class="[{ 'de-fill-block': !['db', 'sql'].includes(data.modelInnerType)}]"
+ :class="[
+ {
+ 'de-fill-block': !['db', 'sql'].includes(
+ data.modelInnerType
+ )
+ }
+ ]"
:title="data.name"
>{{ data.name }}
@@ -496,7 +500,6 @@ export default {
},
isTreeSearch: false,
kettleRunning: false,
- pageCreated: false,
engineMode: 'local',
searchPids: [], // 查询命中的pid
filterText: '',
@@ -526,9 +529,13 @@ export default {
this.$refs.datasetTreeRef.filter(this.filterText)
}
},
- activated() {
- if (!this.pageCreated) return;
- const dataset = this.$refs.datasetTreeRef?.getCurrentNode()
+ created() {
+ this.kettleState()
+ engineMode().then((res) => {
+ this.engineMode = res.data
+ })
+ },
+ mounted() {
const { id, name } = this.$route.params
queryAuthModel({ modelType: 'dataset' }, true).then((res) => {
localStorage.setItem('dataset-tree', JSON.stringify(res.data))
@@ -537,28 +544,15 @@ export default {
this.$refs.datasetTreeRef?.filter(this.filterText)
if (id && name.includes(this.filterText)) {
this.dfsTableData(this.tData, id)
- } else if (dataset) {
- this.$refs.datasetTreeRef?.setCurrentNode(dataset)
- this.nodeClick(dataset)
}
})
})
- },
- created() {
- this.pageCreated = true;
- this.kettleState()
- engineMode().then((res) => {
- this.engineMode = res.data
- })
- },
- mounted() {
- this.treeNode(true)
this.refresh()
},
methods: {
dfsTableData(arr, id) {
- arr.some(ele => {
- if(ele.id === id) {
+ arr.some((ele) => {
+ if (ele.id === id) {
this.$refs.datasetTreeRef?.setCurrentNode(ele)
this.nodeClick(ele)
this.expandedArray.push(id)
@@ -567,7 +561,7 @@ export default {
this.dfsTableData(ele.children, id)
}
return false
- });
+ })
},
nameRepeat(value) {
if (!this.fileList || this.fileList.length === 0) {
From e39dd4fe8a86714f5c763547b74d9b6d5d44c268 Mon Sep 17 00:00:00 2001
From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com>
Date: Fri, 23 Sep 2022 17:49:28 +0800
Subject: [PATCH 15/20] =?UTF-8?q?fix:=20=E5=AD=97=E6=AE=B5=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=9B=BD=E9=99=85=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/views/dataset/data/FieldEdit.vue | 2 +-
frontend/src/views/system/datasource/DsForm.vue | 10 +---------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/frontend/src/views/dataset/data/FieldEdit.vue b/frontend/src/views/dataset/data/FieldEdit.vue
index 13ae6bae6c..7da11cf244 100644
--- a/frontend/src/views/dataset/data/FieldEdit.vue
+++ b/frontend/src/views/dataset/data/FieldEdit.vue
@@ -307,7 +307,7 @@
class="de-text-btn"
style="margin-left: 8px"
@click="editField(scope.row)"
- >{{ $t('deDataset.dataset.edit') }}{{ $t('dataset.edit') }}
{{ $t('commons.validate') }}
- {{ $t('commons.edit') }}
-
@@ -498,6 +489,7 @@ export default {
this.params.showModel &&
this.params.showModel === 'show' &&
!this.canEdit
+ this.changeEdit()
},
reset() {
this.$refs.dsForm.resetFields()
From feb67dba6ec3e07e3700fe039cca9e839fdb0087 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Fri, 23 Sep 2022 18:10:03 +0800
Subject: [PATCH 16/20] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B1=87=E6=80=BB=E8=A1=A8=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=AD=97=E6=AE=B5=E5=90=8E=E5=88=87=E6=8D=A2?=
=?UTF-8?q?=E6=98=8E=E7=BB=86=E8=A1=A8=E8=B7=B3=E8=BD=AC=E5=AD=97=E6=AE=B5?=
=?UTF-8?q?=E6=9C=AA=E6=B8=85=E7=A9=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/canvas/custom-component/DeRichTextView.vue | 2 +-
frontend/src/views/panel/LinkJumpSet/index.vue | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/frontend/src/components/canvas/custom-component/DeRichTextView.vue b/frontend/src/components/canvas/custom-component/DeRichTextView.vue
index 5ccbf081b9..1c78d8ac4f 100644
--- a/frontend/src/components/canvas/custom-component/DeRichTextView.vue
+++ b/frontend/src/components/canvas/custom-component/DeRichTextView.vue
@@ -194,8 +194,8 @@ export default {
if (this.editStatus&&this.canEdit===false) {
this.canEdit = true
this.element['editing'] = true
- this.reShow()
this.myValue = this.element.propValue.textValue
+ this.reShow()
}
},
reShow() {
diff --git a/frontend/src/views/panel/LinkJumpSet/index.vue b/frontend/src/views/panel/LinkJumpSet/index.vue
index 26cef164c6..62c567cce5 100644
--- a/frontend/src/views/panel/LinkJumpSet/index.vue
+++ b/frontend/src/views/panel/LinkJumpSet/index.vue
@@ -362,8 +362,10 @@ export default {
const checkAllAxisStr = chartDetails.xaxis + chartDetails.xaxisExt + chartDetails.yaxis + chartDetails.yaxisExt + chartDetails.drillFields
let checkJumpStr
if (chartDetails.type === 'table-pivot') {
- checkJumpStr = chartDetails.yaxis + chartDetails.yaxisExt
- } else {
+ checkJumpStr = chartDetails.yaxis + chartDetails.yaxisExt + chartDetails.drillFields
+ }else if(chartDetails.type === 'table-info') {
+ checkJumpStr = chartDetails.xaxis + chartDetails.drillFields
+ }else {
checkJumpStr = checkAllAxisStr
}
// 获取可关联的仪表板
From 4b4e9f135f76046555d1b9cf10f374ed7610fb3a Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Fri, 23 Sep 2022 18:12:52 +0800
Subject: [PATCH 17/20] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E5=AD=97=E7=BB=84=E4=BB=B6=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E5=AD=97=E5=8F=B7=E6=97=B6=E6=95=B0=E5=AD=97=E5=8F=98?=
=?UTF-8?q?=E5=8A=A8=E5=BC=82=E5=B8=B8=20#3099?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/components/canvas/components/TextAttr.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/src/components/canvas/components/TextAttr.vue b/frontend/src/components/canvas/components/TextAttr.vue
index 6ebdf399ca..ab6926eefb 100644
--- a/frontend/src/components/canvas/components/TextAttr.vue
+++ b/frontend/src/components/canvas/components/TextAttr.vue
@@ -218,7 +218,7 @@ export default {
innerOpacity: 0,
mainWidthOffset: 600,
initFontSize: 12,
- miniFontSize: 12,
+ miniFontSize: 0,
maxFontSize: 128,
textAlignOptions: [
{
From 4356d01c33f839a03875621b96a01289329706d1 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Fri, 23 Sep 2022 18:31:49 +0800
Subject: [PATCH 18/20] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E5=9B=BD?=
=?UTF-8?q?=E9=99=85=E5=8C=96=E6=96=87=E6=A1=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/src/main/resources/i18n/messages_en_US.properties | 1 +
backend/src/main/resources/i18n/messages_zh_CN.properties | 1 +
backend/src/main/resources/i18n/messages_zh_TW.properties | 1 +
frontend/src/lang/en.js | 4 ++--
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/backend/src/main/resources/i18n/messages_en_US.properties b/backend/src/main/resources/i18n/messages_en_US.properties
index afd8a15af0..f7592ca718 100644
--- a/backend/src/main/resources/i18n/messages_en_US.properties
+++ b/backend/src/main/resources/i18n/messages_en_US.properties
@@ -43,6 +43,7 @@
\u91CD\u7F6E\u5BC6\u7801=Reset Password
\u5173\u4E8E=About Us
\u9996\u9875=Home Page
+\u7528\u6237key=User Key
i18n_auth_view=View
i18n_auth_use=Use
i18n_auth_export=Export
diff --git a/backend/src/main/resources/i18n/messages_zh_CN.properties b/backend/src/main/resources/i18n/messages_zh_CN.properties
index e0efdd38d8..946d37a153 100644
--- a/backend/src/main/resources/i18n/messages_zh_CN.properties
+++ b/backend/src/main/resources/i18n/messages_zh_CN.properties
@@ -43,6 +43,7 @@
\u91CD\u7F6E\u5BC6\u7801=\u91CD\u7F6E\u5BC6\u7801
\u5173\u4E8E=\u5173\u4E8E
\u9996\u9875=\u9996\u9875
+\u7528\u6237key=\u7528\u6237key
i18n_auth_view=\u67E5\u770B
i18n_auth_use=\u4F7F\u7528
i18n_auth_export=\u5BFC\u51FA
diff --git a/backend/src/main/resources/i18n/messages_zh_TW.properties b/backend/src/main/resources/i18n/messages_zh_TW.properties
index 022e0606ac..eddffe3e99 100644
--- a/backend/src/main/resources/i18n/messages_zh_TW.properties
+++ b/backend/src/main/resources/i18n/messages_zh_TW.properties
@@ -43,6 +43,7 @@
\u91CD\u7F6E\u5BC6\u7801=\u91CD\u7F6E\u5BC6\u78BC
\u5173\u4E8E=\u95DC\u65BC
\u9996\u9875=\u9996\u9801
+\u7528\u6237key=\u7528\u6236key
i18n_auth_view=\u67E5\u770B
i18n_auth_use=\u4F7F\u7528
i18n_auth_export=\u5C0E\u51FA
diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js
index a46b9dd1be..3ad71ba535 100644
--- a/frontend/src/lang/en.js
+++ b/frontend/src/lang/en.js
@@ -1633,8 +1633,8 @@ export default {
desensitization: 'Desensitization'
},
row_permissions: 'Row Permissions',
- column_permissions: '列权限',
- row_column_permissions: '行列权限',
+ column_permissions: 'Column Permissions',
+ row_column_permissions: 'Row And Column Permissions',
union_data: 'Union Dataset',
add_union_table: 'Add Union Dataset',
edit_union: 'Edit Union Dataset',
From 73dd7bec01db73bd9ce2fc167e8226b4311c96d9 Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Fri, 23 Sep 2022 18:35:44 +0800
Subject: [PATCH 19/20] =?UTF-8?q?revert:=20=E6=9A=82=E6=97=B6=E5=B1=8F?=
=?UTF-8?q?=E8=94=BD=E5=BA=94=E7=94=A8=E5=B8=82=E5=9C=BA=E8=8F=9C=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
backend/src/main/resources/db/migration/V40__1.15.sql | 2 --
1 file changed, 2 deletions(-)
diff --git a/backend/src/main/resources/db/migration/V40__1.15.sql b/backend/src/main/resources/db/migration/V40__1.15.sql
index b4b31501c6..add04004e1 100644
--- a/backend/src/main/resources/db/migration/V40__1.15.sql
+++ b/backend/src/main/resources/db/migration/V40__1.15.sql
@@ -26,8 +26,6 @@ INSERT INTO `task_instance` (`task_id`) VALUES ('Datasource_check_status');
update sys_menu set menu_sort=10 where menu_id=1;
-INSERT INTO `sys_menu` (`menu_id`, `pid`, `sub_count`, `type`, `title`, `name`, `component`, `menu_sort`, `icon`, `path`, `i_frame`, `cache`, `hidden`, `permission`, `create_by`, `update_by`, `create_time`, `update_time`) VALUES (41, 1, 1, 1, '应用管理', 'system-app-template', 'panel/appTemplate/index', 13, 'sys-param', 'panel/appTemplate/index', 0, 0, 0, NULL, NULL, NULL, NULL, 1620444227389);
-INSERT INTO `sys_menu` (`menu_id`, `pid`, `sub_count`, `type`, `title`, `name`, `component`, `menu_sort`, `icon`, `path`, `i_frame`, `cache`, `hidden`, `permission`, `create_by`, `update_by`, `create_time`, `update_time`) VALUES (203, 0, 0, 1, '应用市场', 'app-template-market', 'panel/appTemplateMarket/index', 6, 'dashboard', '/appTemplateMarket', 0, 0, 0, NULL, NULL, NULL, NULL, 1620444227389);
-- ----------------------------
-- Table structure for panel_app_template
-- ----------------------------
From 8f90e9bfe2c348f4e681b06fe7a4a1a71d3f62f4 Mon Sep 17 00:00:00 2001
From: dataeaseShu <106045316+dataeaseShu@users.noreply.github.com>
Date: Mon, 26 Sep 2022 10:09:52 +0800
Subject: [PATCH 20/20] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E9=9B=86?=
=?UTF-8?q?=E6=80=BB=E6=9D=A1=E6=95=B0=20=E6=95=B0=E6=8D=AE=E9=9B=86?=
=?UTF-8?q?=E5=8A=A0=E8=BD=BDloading?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/dataset/data/TabDataPreview.vue | 22 +--------
frontend/src/views/dataset/group/Group.vue | 47 ++++++++++++-------
2 files changed, 30 insertions(+), 39 deletions(-)
diff --git a/frontend/src/views/dataset/data/TabDataPreview.vue b/frontend/src/views/dataset/data/TabDataPreview.vue
index b72ce33586..c964b5875a 100644
--- a/frontend/src/views/dataset/data/TabDataPreview.vue
+++ b/frontend/src/views/dataset/data/TabDataPreview.vue
@@ -1,26 +1,6 @@
-
-
- {{ $t('dataset.preview_total') }}
- {{ page.total }}
- {{ $t('dataset.preview_item') }}
-
-
- {{ $t('dataset.preview_show') }}
- {{ currentPage.show }}
- {{ $t('dataset.preview_item') }}
- ,{{ $t('dataset.preview_total') }}
- {{ page.total }}
- {{ $t('dataset.preview_item') }}
-
-
-
- {{ $t('dataset.preview_show') }}
- {{ page.total }}
- {{ $t('dataset.preview_item') }}
-
{{ $t('deDataset.display') }} {{ form.row }}
{{ $t('deDataset.row') }}
diff --git a/frontend/src/views/dataset/group/Group.vue b/frontend/src/views/dataset/group/Group.vue
index 2629544d46..9261a9e947 100644
--- a/frontend/src/views/dataset/group/Group.vue
+++ b/frontend/src/views/dataset/group/Group.vue
@@ -69,7 +69,7 @@
-
+
{{ $t('deDataset.no_dataset_click') }}
clickAdd()" class="no-tdata-new">{{
$t('deDataset.create')
@@ -424,6 +424,7 @@ export default {
data() {
return {
sceneMode: false,
+ treeLoading: false,
dialogTitle: '',
search: '',
editGroup: false,
@@ -537,16 +538,21 @@ export default {
},
mounted() {
const { id, name } = this.$route.params
- queryAuthModel({ modelType: 'dataset' }, true).then((res) => {
- localStorage.setItem('dataset-tree', JSON.stringify(res.data))
- this.tData = res.data
- this.$nextTick(() => {
- this.$refs.datasetTreeRef?.filter(this.filterText)
- if (id && name.includes(this.filterText)) {
- this.dfsTableData(this.tData, id)
- }
+ this.treeLoading = true
+ queryAuthModel({ modelType: 'dataset' }, true)
+ .then((res) => {
+ localStorage.setItem('dataset-tree', JSON.stringify(res.data))
+ this.tData = res.data
+ this.$nextTick(() => {
+ this.$refs.datasetTreeRef?.filter(this.filterText)
+ if (id && name.includes(this.filterText)) {
+ this.dfsTableData(this.tData, id)
+ }
+ })
+ })
+ .finally(() => {
+ this.treeLoading = false
})
- })
this.refresh()
},
methods: {
@@ -765,15 +771,20 @@ export default {
if (userCache) {
this.tData = JSON.parse(modelInfo)
}
- queryAuthModel({ modelType: 'dataset' }, !userCache).then((res) => {
- localStorage.setItem('dataset-tree', JSON.stringify(res.data))
- if (!userCache) {
- this.tData = res.data
- }
- this.$nextTick(() => {
- this.$refs.datasetTreeRef?.filter(this.filterText)
+ this.treeLoading = true
+ queryAuthModel({ modelType: 'dataset' }, !userCache)
+ .then((res) => {
+ localStorage.setItem('dataset-tree', JSON.stringify(res.data))
+ if (!userCache) {
+ this.tData = res.data
+ }
+ this.$nextTick(() => {
+ this.$refs.datasetTreeRef?.filter(this.filterText)
+ })
+ })
+ .finally(() => {
+ this.treeLoading = false
})
- })
},
tableTree() {