From 2f6cbf3ac6bef41e2a428b1ca361246e4d9cb36c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 27 Jul 2022 18:58:11 +0800 Subject: [PATCH 1/8] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=BB=98=E8=AE=A4GMT=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/dataease/provider/engine/doris/DorisQueryProvider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java b/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java index ad15ab3251..b4be9342b8 100644 --- a/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java +++ b/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java @@ -1075,6 +1075,7 @@ public class DorisQueryProvider extends QueryProvider { } else if (StringUtils.containsIgnoreCase(request.getOperator(), "between")) { if (request.getDatasetTableField().getDeType() == 1) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + simpleDateFormat.setTimeZone(TimeZone.getTimeZone("GMT")); String startTime = simpleDateFormat.format(new Date(Long.parseLong(value.get(0)))); String endTime = simpleDateFormat.format(new Date(Long.parseLong(value.get(1)))); whereValue = String.format(DorisConstants.WHERE_BETWEEN, startTime, endTime); From 1d8f843d18254d5244971799af650fe4d06594d2 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 27 Jul 2022 21:46:27 +0800 Subject: [PATCH 2/8] =?UTF-8?q?revert(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=BB=98=E8=AE=A4GMT=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/dataease/provider/engine/doris/DorisQueryProvider.java | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java b/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java index b4be9342b8..ad15ab3251 100644 --- a/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java +++ b/backend/src/main/java/io/dataease/provider/engine/doris/DorisQueryProvider.java @@ -1075,7 +1075,6 @@ public class DorisQueryProvider extends QueryProvider { } else if (StringUtils.containsIgnoreCase(request.getOperator(), "between")) { if (request.getDatasetTableField().getDeType() == 1) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); - simpleDateFormat.setTimeZone(TimeZone.getTimeZone("GMT")); String startTime = simpleDateFormat.format(new Date(Long.parseLong(value.get(0)))); String endTime = simpleDateFormat.format(new Date(Long.parseLong(value.get(1)))); whereValue = String.format(DorisConstants.WHERE_BETWEEN, startTime, endTime); From c14c0a9cba8d45705b3814dd59c6344785abfdb7 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 28 Jul 2022 11:09:05 +0800 Subject: [PATCH 3/8] =?UTF-8?q?refactor(xpack):=20=E6=9D=83=E9=99=90?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BA=A4=E4=BA=92=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dataease/plugins/server/XAuthServer.java | 20 ++++++++++++++++++- frontend/src/lang/en.js | 3 ++- frontend/src/lang/tw.js | 3 ++- frontend/src/lang/zh.js | 3 ++- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/dataease/plugins/server/XAuthServer.java b/backend/src/main/java/io/dataease/plugins/server/XAuthServer.java index 9b1b32e2ef..331d6b1c58 100644 --- a/backend/src/main/java/io/dataease/plugins/server/XAuthServer.java +++ b/backend/src/main/java/io/dataease/plugins/server/XAuthServer.java @@ -9,19 +9,25 @@ import io.dataease.controller.handler.annotation.I18n; import io.dataease.dto.SysLogDTO; import io.dataease.listener.util.CacheUtils; import io.dataease.plugins.common.dto.DatasourceBaseType; +import io.dataease.plugins.common.dto.datasource.DataSourceType; import io.dataease.plugins.config.SpringContextUtil; import io.dataease.plugins.xpack.auth.dto.request.XpackBaseTreeRequest; import io.dataease.plugins.xpack.auth.dto.request.XpackSysAuthRequest; import io.dataease.plugins.xpack.auth.dto.response.XpackSysAuthDetail; import io.dataease.plugins.xpack.auth.dto.response.XpackSysAuthDetailDTO; import io.dataease.plugins.xpack.auth.dto.response.XpackVAuthModelDTO; +import io.dataease.service.datasource.DatasourceService; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.web.bind.annotation.*; import io.dataease.plugins.xpack.auth.service.AuthXpackService; import springfox.documentation.annotations.ApiIgnore; + +import javax.annotation.Resource; import java.util.*; +import java.util.stream.Collectors; + @ApiIgnore @RequestMapping("/plugin/auth") @RestController @@ -29,6 +35,9 @@ public class XAuthServer { private static final Set cacheTypes = new HashSet<>(); + @Resource + private DatasourceService datasourceService; + @RequiresPermissions("auth:read") @PostMapping("/authModels") @I18n @@ -149,7 +158,16 @@ public class XAuthServer { @GetMapping("/getDatasourceTypes") public List getDatasourceTypes(){ + Collection activeType = datasourceService.types(); + Map activeTypeMap = activeType.stream().collect(Collectors.toMap(DataSourceType::getType, DataSourceType::getName)); + activeTypeMap.put("all","所有数据源"); AuthXpackService sysAuthService = SpringContextUtil.getBean(AuthXpackService.class); - return sysAuthService.getDatasourceTypes(); + List presentTypes = sysAuthService.getDatasourceTypes(); + presentTypes.stream().forEach(datasourceBaseType -> { + if(activeTypeMap.get(datasourceBaseType.getType())!=null){ + datasourceBaseType.setName(activeTypeMap.get(datasourceBaseType.getType())); + } + }); + return presentTypes; } } diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index b4aaafe832..96bdeb3e6b 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -1880,7 +1880,8 @@ export default { }, auth: { - no_item_selected: 'Please select resources on the left', + no_item_selected: 'Please select organization、user or role on the left', + no_resource_selected: 'Please select resource on the left', search_pre: 'Search by ', search_suf: ' name', separate_auth: 'Separate Authorization', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 59e0f75302..73efb34234 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -1889,7 +1889,8 @@ export default { }, auth: { - no_item_selected: '请在左侧选择资源', + no_item_selected: '请在左侧选择组织、角色或用户', + no_resource_selected: '请在左侧选择资源', search_pre: '通过', search_suf: '名称来搜索', separate_auth: '单独授权', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 1ff2688228..ec097f9a7c 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -1898,7 +1898,8 @@ export default { }, auth: { - no_item_selected: '请在左侧选择资源', + no_item_selected: '请在左侧选择组织、角色或用户', + no_resource_selected: '请在左侧选择资源', search_pre: '通过', search_suf: '名称来搜索', separate_auth: '单独授权', From 45730d47fbdc368fb5260444f4f4a75310039974 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 28 Jul 2022 14:33:38 +0800 Subject: [PATCH 4/8] =?UTF-8?q?style(=E6=A8=A1=E6=9D=BF=E5=B8=82=E5=9C=BA)?= =?UTF-8?q?:=20=E6=A8=A1=E6=9D=BF=E5=B8=82=E5=9C=BA=E4=BA=A4=E4=BA=92?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/db/migration/V38__1.13.sql | 2 +- frontend/src/api/templateMarket/index.js | 2 +- frontend/src/icons/svg/no_result.svg | 5 ++ frontend/src/lang/en.js | 1 + frontend/src/lang/tw.js | 1 + frontend/src/lang/zh.js | 1 + .../component/MarketPreview.vue | 33 ++++++++--- .../component/TemplateMarketItem.vue | 2 +- .../component/TemplateMarketPreviewItem.vue | 4 +- .../src/views/panel/templateMarket/index.vue | 58 +++++++++++++++---- 10 files changed, 85 insertions(+), 24 deletions(-) create mode 100644 frontend/src/icons/svg/no_result.svg diff --git a/backend/src/main/resources/db/migration/V38__1.13.sql b/backend/src/main/resources/db/migration/V38__1.13.sql index 5d3e9f0ba5..82eb9a14dd 100644 --- a/backend/src/main/resources/db/migration/V38__1.13.sql +++ b/backend/src/main/resources/db/migration/V38__1.13.sql @@ -66,7 +66,7 @@ update area_mapping_global set county_code = concat('156', county_code); COMMIT; -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 (202, 0, 0, 1, '模板市场', 'template-market', 'panel/templateMarket/index', 7, 'dashboard', '/templateMarket', 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 (202, 0, 0, 1, '模板市场', 'template-market', 'panel/templateMarket/index', 5, 'dashboard', '/templateMarket', 0, 0, 0, null, NULL, NULL, NULL, 1620444227389); INSERT INTO `system_parameter` (`param_key`, `param_value`, `type`, `sort`) VALUES ('basic.templateAccessKey', 'dataease', 'text', NULL); INSERT INTO `system_parameter` (`param_key`, `param_value`, `type`, `sort`) VALUES ('basic.templateMarketUlr', 'https://dataease.io/templates', 'text', 4); diff --git a/frontend/src/api/templateMarket/index.js b/frontend/src/api/templateMarket/index.js index 74534221d3..56e34cce8d 100644 --- a/frontend/src/api/templateMarket/index.js +++ b/frontend/src/api/templateMarket/index.js @@ -15,6 +15,6 @@ export function getCategories() { url: '/template/market/categories', method: 'get', hideMsg: true, - loading: false + loading: true }) } diff --git a/frontend/src/icons/svg/no_result.svg b/frontend/src/icons/svg/no_result.svg new file mode 100644 index 0000000000..78a9df2c8f --- /dev/null +++ b/frontend/src/icons/svg/no_result.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 601ede8cb5..fd02cbac02 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -131,6 +131,7 @@ export default { default_login: 'Normal' }, commons: { + no_result: 'No Result', manage_member: 'Managing members', user_confirm_remove_cancel: 'Are you sure you want to remove the user from the role?', confirm_remove_cancel: 'Are you sure to delete the role?', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 80e5737eb0..8bc3716a97 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -131,6 +131,7 @@ export default { default_login: '普通登錄' }, commons: { + no_result: '没有找到相关内容', manage_member: '管理成員', user_confirm_remove_cancel: '確定將該用戶從角色中移除嗎?', confirm_remove_cancel: '確定刪除該角色嗎?', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 36c5806397..cb557a7e8e 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -131,6 +131,7 @@ export default { default_login: '普通登录' }, commons: { + no_result: '没有找到相关内容', manage_member: '管理成员', confirm_remove_cancel: '确定删除该角色吗?', user_confirm_remove_cancel: '确定将该用户从角色中移除吗?', diff --git a/frontend/src/views/panel/templateMarket/component/MarketPreview.vue b/frontend/src/views/panel/templateMarket/component/MarketPreview.vue index 546e06ace3..c27648e5b1 100644 --- a/frontend/src/views/panel/templateMarket/component/MarketPreview.vue +++ b/frontend/src/views/panel/templateMarket/component/MarketPreview.vue @@ -5,7 +5,7 @@ - {{$t('panel.template_preview')}} + {{ $t('panel.template_preview') }} @@ -41,12 +41,19 @@ :active="active(templateItem)" @previewTemplate="previewTemplate" /> + +
+ +
+ {{ $t('commons.no_result') }} +
+
{{ curTemplate.title }} - {{$t('panel.apply_this_template')}} + {{ $t('panel.apply_this_template') }} @@ -73,6 +80,7 @@ export default { }, data() { return { + hasResult: true, extFilterActive: false, asideActive: true, previewVisible: false, @@ -165,8 +173,12 @@ export default { }, initTemplateShow() { + this.hasResult = false this.currentMarketTemplateShowList.forEach(template => { template.showFlag = this.templateShow(template) + if (template.showFlag) { + this.hasResult = true + } }) }, templateShow(templateItem) { @@ -273,14 +285,15 @@ export default { } .custom-position { - height: 80vh; + height: 70vh; flex: 1; display: flex; align-items: center; justify-content: space-between; font-size: 14px; flex-flow: row nowrap; - color: #9ea6b2; + color: #646A73; + font-weight: 400; } .aside-active { @@ -288,7 +301,7 @@ export default { height: calc(100vh - 56px); overflow-x: hidden; overflow-y: auto; - border-right: 1px solid rgba(31,31,31,0.15); + background: #fff; } .aside-inActive{ @@ -366,8 +379,9 @@ export default { } .img-main{ border-radius: 4px; - box-shadow: 0 0 2px 0 rgba(31,31,31,0.15), 0 1px 2px 0 rgba(31,31,31,0.15); - border: solid 2px #fff; + background: #0F1114; + overflow-x: auto; + overflow-y: hidden; height: calc(100% - 50px)!important; } .open-button{ @@ -378,6 +392,11 @@ export default { top: 16px; z-index: 2; } + +//.open-button:hover{ +// transition: 0.5s; +// width: 50px; +//} .open-button:hover{ color: #3a8ee6; } diff --git a/frontend/src/views/panel/templateMarket/component/TemplateMarketItem.vue b/frontend/src/views/panel/templateMarket/component/TemplateMarketItem.vue index d9dbec95b0..79168ea8c2 100644 --- a/frontend/src/views/panel/templateMarket/component/TemplateMarketItem.vue +++ b/frontend/src/views/panel/templateMarket/component/TemplateMarketItem.vue @@ -66,7 +66,7 @@ export default { .testcase-template { position: relative; display: inline-block; - margin: 24px 0 0 24px; + margin: 24px 0 0 0; box-shadow: 0 0 2px 0 rgba(31,31,31,0.15), 0 1px 2px 0 rgba(31,31,31,0.15); border: solid 2px #fff; box-sizing: border-box; diff --git a/frontend/src/views/panel/templateMarket/component/TemplateMarketPreviewItem.vue b/frontend/src/views/panel/templateMarket/component/TemplateMarketPreviewItem.vue index 0e1588b8be..8ae016594f 100644 --- a/frontend/src/views/panel/templateMarket/component/TemplateMarketPreviewItem.vue +++ b/frontend/src/views/panel/templateMarket/component/TemplateMarketPreviewItem.vue @@ -78,7 +78,7 @@ export default { } .template-item-main-active{ - border: 2px solid #3370FF ; + border: 2px solid #3370FF!important; ; } .template-item-img{ @@ -106,7 +106,7 @@ export default { } .template-item-main:hover { - border: solid 2px gray; + border: solid 1px #3370FF; } diff --git a/frontend/src/views/panel/templateMarket/index.vue b/frontend/src/views/panel/templateMarket/index.vue index 09d7b88894..8f5dc9ba4f 100644 --- a/frontend/src/views/panel/templateMarket/index.vue +++ b/frontend/src/views/panel/templateMarket/index.vue @@ -17,20 +17,30 @@ - - + + - +
- + +
+ +
+ {{ $t('commons.no_result') }} +
+
+ {{ $t('panel.market_network_tips') }}
@@ -72,15 +82,18 @@ import { searchMarket, getCategories } from '@/api/templateMarket' import TemplateMarketItem from '@/views/panel/templateMarket/component/TemplateMarketItem' import { groupTree, panelSave } from '@/api/panel/panel' -import bus from '@/utils/bus' import { DEFAULT_COMMON_CANVAS_STYLE_STRING } from '@/views/panel/panel' import MarketPreview from '@/views/panel/templateMarket/component/MarketPreview' +import elementResizeDetectorMaker from 'element-resize-detector' export default { name: 'TemplateMarket', components: { MarketPreview, TemplateMarketItem }, data() { return { + hasResult: true, + templateMiniWidth: 350, + templateSpan: '25%', previewModel: false, previewVisible: false, templatePreviewId: '', @@ -119,6 +132,16 @@ export default { mounted() { this.initMarketTemplate() this.getGroupTree() + const _this = this + const erd = elementResizeDetectorMaker() + const templateMainDom = document.getElementById('template-main') + // 监听div变动事件 + erd.listenTo(templateMainDom, element => { + _this.$nextTick(() => { + _this.templateSpan = (100 / Math.trunc(templateMainDom.offsetWidth / _this.templateMiniWidth)) + '%' + console.log('templateSpan=' + _this.templateSpan) + }) + }) }, methods: { initMarketTemplate() { @@ -181,9 +204,16 @@ export default { }, initTemplateShow() { + let tempHasResult = false this.currentMarketTemplateShowList.forEach(template => { template.showFlag = this.templateShow(template) + if (template.showFlag) { + tempHasResult = true + } }) + if (this.currentMarketTemplateShowList.length > 0) { + this.hasResult = tempHasResult + } }, templateShow(templateItem) { let categoryMarch = false @@ -211,11 +241,13 @@ export default { From 1a4a3f6898b504e591616be66386320d44261716 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 28 Jul 2022 15:19:10 +0800 Subject: [PATCH 5/8] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=AA=E8=A1=A8=E6=9D=BF=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=8B=BC=E6=8E=A5http=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E6=94=B9=E4=B8=BA=E8=B7=B3=E8=BD=AC=E6=97=B6=E5=88=BB?= =?UTF-8?q?=E5=86=8D=E8=BF=9B=E8=A1=8C=E6=A3=80=E6=9F=A5=E6=8B=BC=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/custom-component/UserView.vue | 5 ++++- frontend/src/views/panel/LinkJumpSet/index.vue | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index 56b45d5e42..ef5975f605 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -128,6 +128,8 @@ import ChartComponentS2 from '@/views/chart/components/ChartComponentS2' import PluginCom from '@/views/system/plugin/PluginCom' import LabelNormalText from '@/views/chart/components/normal/LabelNormalText' import { viewPropsSave } from '@/api/chart/chart' +import { checkAddHttp } from '@/utils/urlUtils' + export default { name: 'UserView', components: { LabelNormalText, PluginCom, ChartComponentS2, EditBarView, ChartComponent, TableNormal, LabelNormal, DrillPath, ChartComponentG2 }, @@ -678,7 +680,8 @@ export default { } } else { const colList = [...param.dimensionList, ...param.quotaList] - const url = this.setIdValueTrans('id', 'value', jumpInfo.content, colList) + let url = this.setIdValueTrans('id', 'value', jumpInfo.content, colList) + url = checkAddHttp(url) window.open(url, jumpInfo.jumpType) } } else { diff --git a/frontend/src/views/panel/LinkJumpSet/index.vue b/frontend/src/views/panel/LinkJumpSet/index.vue index b05ea27d76..e64f89b917 100644 --- a/frontend/src/views/panel/LinkJumpSet/index.vue +++ b/frontend/src/views/panel/LinkJumpSet/index.vue @@ -236,7 +236,6 @@ import { queryPanelJumpInfo, queryWithViewId, updateJumpSet } from '@/api/panel/ import { groupTree } from '@/api/panel/panel' import { detailList } from '@/api/panel/panelView' import { mapState } from 'vuex' -import { checkAddHttp } from '@/utils/urlUtils' import draggable from 'vuedraggable' import { codemirror } from 'vue-codemirror' @@ -397,7 +396,6 @@ export default { }, save() { this.codemirrorShow = false - this.linkJumpInfo.content = checkAddHttp(this.linkJumpInfo.content) this.linkJumpInfoArray.forEach(jumpInfo => { jumpInfo.content = this.setNameIdTrans('sourceFieldName', 'sourceFieldId', jumpInfo.content) }) From 449d56b31b48d1a7e942d01017a7558ccda90f46 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Thu, 28 Jul 2022 15:51:12 +0800 Subject: [PATCH 6/8] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E9=9B=86):=20?= =?UTF-8?q?=E8=AF=86=E5=88=AB=20pg=20=E8=A1=A8=E7=9A=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../provider/datasource/JdbcProvider.java | 37 +++++++++++++------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java b/backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java index 6f00e03989..df26854263 100644 --- a/backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java +++ b/backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java @@ -95,22 +95,30 @@ public class JdbcProvider extends DefaultJdbcProvider { while (resultSet.next()) { String tableName = resultSet.getString("TABLE_NAME"); String database; - if (datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.ck.name()) || datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.impala.name())) { + if (datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.pg.name()) ||datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.ck.name()) || datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.impala.name())) { database = resultSet.getString("TABLE_SCHEM"); } else { database = resultSet.getString("TABLE_CAT"); } - if (database != null) { - if (tableName.equals(datasourceRequest.getTable()) && database.equalsIgnoreCase(getDatabase(datasourceRequest))) { - TableField tableField = getTableFiled(resultSet, datasourceRequest); - list.add(tableField); - } - } else { - if (tableName.equals(datasourceRequest.getTable())) { - TableField tableField = getTableFiled(resultSet, datasourceRequest); - list.add(tableField); - } - } + if(datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.pg.name())){ + if (tableName.equals(datasourceRequest.getTable()) && database.equalsIgnoreCase(getDsSchema(datasourceRequest))) { + TableField tableField = getTableFiled(resultSet, datasourceRequest); + list.add(tableField); + } + }else { + if (database != null) { + if (tableName.equals(datasourceRequest.getTable()) && database.equalsIgnoreCase(getDatabase(datasourceRequest))) { + TableField tableField = getTableFiled(resultSet, datasourceRequest); + list.add(tableField); + } + } else { + if (tableName.equals(datasourceRequest.getTable())) { + TableField tableField = getTableFiled(resultSet, datasourceRequest); + list.add(tableField); + } + } + } + } resultSet.close(); } catch (SQLException e) { @@ -191,6 +199,11 @@ public class JdbcProvider extends DefaultJdbcProvider { } } + private String getDsSchema(DatasourceRequest datasourceRequest) { + JdbcConfiguration jdbcConfiguration = new Gson().fromJson(datasourceRequest.getDatasource().getConfiguration(), JdbcConfiguration.class); + return jdbcConfiguration.getSchema(); + } + @Override public List fetchResultField(DatasourceRequest datasourceRequest) throws Exception { JdbcConfiguration jdbcConfiguration = new Gson().fromJson(datasourceRequest.getDatasource().getConfiguration(), JdbcConfiguration.class); From bd956d4333fed94aed0d98e6a8ef1eff86533aba Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 28 Jul 2022 16:15:19 +0800 Subject: [PATCH 7/8] =?UTF-8?q?style:=20=E6=9B=B4=E6=8D=A2favicon.ico?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/public/favicon.ico | Bin 5063 -> 6787 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico index 3bfb47b2304c7c3f23f27281e9979da227be2478..ffc2c831b5838c7cb3ec600d9d99a7686341b053 100644 GIT binary patch literal 6787 zcmW+*2Q*yY6INF5Ru`1asIpi<+Y;{ad23qVaiVpd=~d#JHbn5+mPi@*5^-;cpViHzbC-X~!G8!*WA_g-vVCD!2jWbe z-#z-#U+Q^L9K>e<6wT*~LRqi>YFFLXUv2uZ-(5!$(SG-Z7<8L?ND!Z(k2tJ^(bc|8fM40=;?>1m}U-S{7fH zpfndDM;G!X&EEiaTGbuzu50~LnWJTFuEE;LA(gb&_7N;8n-Yt=qQ;>OereW@<^tWIIT-CSm zc1vqHm8a1x1qcIWxENQkpT}QPeT`?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=-DdMGe9BV*m=gnjI{@GBcEl%qyD`;PhPR8V?jB1@k~ zzuKE|HOZm5MWDrZp1Mi6*sD=)hpEIb^=#;bvO7cgx*#qTy|a>9>dSnqBU{RmoqQ?P zc=VVbT|V&#BHoWPodL&r$tf`zXj^lc*z#`r(VE1XAHqjL%%x-V%E2JZ>xRA1Kz0u+vTVI85eWk#h`8j4oHh5q7mbd7RU ze2u$`N&_g=M5VRtex%4u@yoB_?R=QlH4YW9@MsvF{`IAR+T!D>(to#uFR}3p_NbIZtlL zJ<|buTEhU7R)MDejVVi|fxiD37bTVprAkYMU1x(~0e1OpyfNwhXl8{__1o|Hq^Ijs z=7v&Wauo)i<^ucK0D4 z)9{ek3AIiai^EAKSRQplDN7gp>YuXh@1&0;nlFDZ)60odYPYbWZ|?f<<2p9v5J+D3 za_s=Rb^<0B#l_S`cLHa^yw;0@mKW Wd@*qIN-47m2SAxzHm);tkNqEa_k@!G From ad93321cb0c610d6c8f9fd9f99d33cff33aa13c5 Mon Sep 17 00:00:00 2001 From: junjun Date: Thu, 28 Jul 2022 16:50:29 +0800 Subject: [PATCH 8/8] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=98=88=E5=80=BC=E5=B0=8F=E6=95=B0=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=9B=BE=E6=A0=87=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/components/senior/Threshold.vue | 2 +- .../views/chart/components/senior/dialog/TableThresholdEdit.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/components/senior/Threshold.vue b/frontend/src/views/chart/components/senior/Threshold.vue index 6440f8069a..4f57464334 100644 --- a/frontend/src/views/chart/components/senior/Threshold.vue +++ b/frontend/src/views/chart/components/senior/Threshold.vue @@ -68,7 +68,7 @@ - + {{ fieldItem.field.name }} diff --git a/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue b/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue index 853e14e663..f168f45f92 100644 --- a/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue +++ b/frontend/src/views/chart/components/senior/dialog/TableThresholdEdit.vue @@ -16,7 +16,7 @@