forked from github/dataease
commit
6799b59e56
@ -36,10 +36,6 @@ public class DynamicMenuServiceImpl implements DynamicMenuService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<DynamicMenuDto> load(String userId) {
|
public List<DynamicMenuDto> load(String userId) {
|
||||||
// SysMenuExample sysMenuExample = new SysMenuExample();
|
|
||||||
// sysMenuExample.createCriteria().andTypeLessThanOrEqualTo(1);
|
|
||||||
// sysMenuExample.setOrderByClause(" menu_sort ");
|
|
||||||
// List<SysMenu> sysMenus = sysMenuMapper.selectByExample(sysMenuExample);
|
|
||||||
List<SysMenu> sysMenus = extSysMenuMapper.querySysMenu();
|
List<SysMenu> sysMenus = extSysMenuMapper.querySysMenu();
|
||||||
List<DynamicMenuDto> dynamicMenuDtos = sysMenus.stream().map(this::convert).collect(Collectors.toList());
|
List<DynamicMenuDto> dynamicMenuDtos = sysMenus.stream().map(this::convert).collect(Collectors.toList());
|
||||||
//增加插件中的菜单
|
//增加插件中的菜单
|
||||||
|
@ -558,7 +558,7 @@ export default {
|
|||||||
showClose: true
|
showClose: true
|
||||||
})
|
})
|
||||||
this.treeNode()
|
this.treeNode()
|
||||||
this.$store.dispatch('chart/setTable', new Date().getTime())
|
this.$emit('switchComponent', { name: '' })
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// this.$message({
|
// this.$message({
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row v-loading="loading" style="height: 100%;overflow-y: hidden;width: 100%;">
|
<el-row v-loading="loading" style="height: 100%;overflow-y: hidden;width: 100%;">
|
||||||
<el-row style="height: 40px;" class="padding-lr">
|
<el-row style="height: 40px;" class="padding-lr">
|
||||||
<span v-show="false">{{ refreshPage }}</span>
|
|
||||||
<span class="title-text" style="line-height: 40px;">{{ view.name }}</span>
|
<span class="title-text" style="line-height: 40px;">{{ view.name }}</span>
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="right-start"
|
placement="right-start"
|
||||||
@ -1106,10 +1105,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
refreshPage: function() {
|
|
||||||
this.getChart(this.param.id)
|
|
||||||
return this.$store.getters.chartTable
|
|
||||||
},
|
|
||||||
chartType() {
|
chartType() {
|
||||||
return this.chart.type
|
return this.chart.type
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row style="height: 100%;overflow-y: hidden;width: 100%;">
|
<el-row style="height: 100%;overflow-y: hidden;width: 100%;">
|
||||||
<span v-show="false">{{ refreshPage }}</span>
|
|
||||||
<el-row style="height: 26px;">
|
<el-row style="height: 26px;">
|
||||||
<span class="title-text" style="line-height: 26px;">
|
<span class="title-text" style="line-height: 26px;">
|
||||||
{{ table.name }}
|
{{ table.name }}
|
||||||
@ -108,10 +107,6 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
hideCustomDs: function() {
|
hideCustomDs: function() {
|
||||||
return this.$store.getters.hideCustomDs
|
return this.$store.getters.hideCustomDs
|
||||||
},
|
|
||||||
refreshPage: function() {
|
|
||||||
this.initTable(this.param.id)
|
|
||||||
return this.$store.getters.table
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -436,7 +436,7 @@ export default {
|
|||||||
_this.expandedArray.push(table.sceneId)
|
_this.expandedArray.push(table.sceneId)
|
||||||
_this.$refs.datasetTreeRef.setCurrentKey(table.id)
|
_this.$refs.datasetTreeRef.setCurrentKey(table.id)
|
||||||
_this.treeNode()
|
_this.treeNode()
|
||||||
this.$store.dispatch('dataset/setTable', new Date().getTime())
|
this.$emit('switchComponent', { name: '' })
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user