diff --git a/backend/src/main/java/io/dataease/auth/config/F2CRealm.java b/backend/src/main/java/io/dataease/auth/config/F2CRealm.java
index 29c269f10f..1f0ee7e60d 100644
--- a/backend/src/main/java/io/dataease/auth/config/F2CRealm.java
+++ b/backend/src/main/java/io/dataease/auth/config/F2CRealm.java
@@ -60,10 +60,18 @@ public class F2CRealm extends AuthorizingRealm {
CacheUtils.get("lic_info", "lic");
}catch (Exception e) {
LogUtil.error(e);
+ throw new AuthenticationException("lic error");
}
- String token = (String) auth.getCredentials();
- // 解密获得username,用于和数据库进行对比
- TokenInfo tokenInfo = JWTUtils.tokenInfoByToken(token);
+ TokenInfo tokenInfo = null;
+ String token = null;
+ try {
+ token = (String) auth.getCredentials();
+ // 解密获得username,用于和数据库进行对比
+ tokenInfo = JWTUtils.tokenInfoByToken(token);
+ }catch (Exception e) {
+ throw new AuthenticationException(e);
+ }
+
Long userId = tokenInfo.getUserId();
String username = tokenInfo.getUsername();
if (username == null) {
diff --git a/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java b/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java
index 845ec708b1..6fd619b435 100644
--- a/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java
+++ b/backend/src/main/java/io/dataease/service/panel/PanelGroupService.java
@@ -141,7 +141,11 @@ public class PanelGroupService {
public PanelGroupWithBLOBs findOne(String panelId) {
- return panelGroupMapper.selectByPrimaryKey(panelId);
+ PanelGroupWithBLOBs panelGroupWithBLOBs = panelGroupMapper.selectByPrimaryKey(panelId);
+ if(panelGroupWithBLOBs!=null&& StringUtils.isNotEmpty(panelGroupWithBLOBs.getSource())){
+ return panelGroupMapper.selectByPrimaryKey(panelGroupWithBLOBs.getSource());
+ }
+ return panelGroupWithBLOBs;
}
diff --git a/frontend/src/components/business/condition-table/DeComplexInput.vue b/frontend/src/components/business/condition-table/DeComplexInput.vue
new file mode 100644
index 0000000000..9ff39ac3bf
--- /dev/null
+++ b/frontend/src/components/business/condition-table/DeComplexInput.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
diff --git a/frontend/src/components/business/condition-table/DeComplexOperator.vue b/frontend/src/components/business/condition-table/DeComplexOperator.vue
new file mode 100644
index 0000000000..1feec41b1d
--- /dev/null
+++ b/frontend/src/components/business/condition-table/DeComplexOperator.vue
@@ -0,0 +1,62 @@
+
+
+
+ {{ label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/main.js b/frontend/src/main.js
index ada2849a15..2dc827327e 100644
--- a/frontend/src/main.js
+++ b/frontend/src/main.js
@@ -20,6 +20,7 @@ import widgets from '@/components/widget'
import Treeselect from '@riophae/vue-treeselect'
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
import './utils/dialog'
+import DeComplexInput from '@/components/business/condition-table/DeComplexInput'
import '@/components/canvas/custom-component' // 注册自定义组件
Vue.config.productionTip = false
@@ -69,6 +70,7 @@ Vue.use(filter)
Vue.use(directives)
Vue.use(message)
Vue.component('Treeselect', Treeselect)
+Vue.component('DeComplexInput', DeComplexInput)
Vue.config.productionTip = false
Vue.prototype.hasDataPermission = function(pTarget, pSource) {
diff --git a/frontend/src/views/panel/list/PanelList.vue b/frontend/src/views/panel/list/PanelList.vue
index cc2a2ac2f4..fa8e991f71 100644
--- a/frontend/src/views/panel/list/PanelList.vue
+++ b/frontend/src/views/panel/list/PanelList.vue
@@ -575,9 +575,7 @@ export default {
this.activeTree = data.panelType
if (data.nodeType === 'panel') {
// 加载视图数据
- // 如果是默认仪表盘 需要查询原仪表板的详细数据
- const queryPanelId = data.panelType === 'system' ? data.source : data.id
- findOne(queryPanelId).then(response => {
+ findOne(data.id).then(response => {
const componentDatas = JSON.parse(response.data.panelData)
componentDatas.forEach(item => {
item.filters = (item.filters || [])
diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue
index 2cfa1a189c..fe93048dd3 100644
--- a/frontend/src/views/system/user/index.vue
+++ b/frontend/src/views/system/user/index.vue
@@ -162,7 +162,6 @@