提交 9124a921 authored 作者: junjie's avatar junjie

feat(backend):fix

上级 f56889e9
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<select id="search" resultMap="BaseResultMapDTO"> <select id="search" resultMap="BaseResultMapDTO">
select select
id, `name`, scene_id, data_source_id, `type`, `mode`, create_by, create_time, id, `name`, scene_id, data_source_id, `type`, `mode`,`info`, create_by, create_time,
get_auths(id,'dataset',#{userId}) as `privileges` get_auths(id,'dataset',#{userId}) as `privileges`
from dataset_table from dataset_table
<where> <where>
......
...@@ -30,7 +30,10 @@ ...@@ -30,7 +30,10 @@
<el-row> <el-row>
<span class="header-title"> <span class="header-title">
{{ $t('panel.panel') }} {{ $t('panel.panel') }}
<el-button style="float: right;padding-right: 7px;" type="text" icon="el-icon-circle-plus" @click="showEditPanel(newFolder)" /> <!-- <el-button style="float: right;padding-right: 7px;" type="text" @click="showEditPanel(newFolder)" />-->
<el-button style="float: right;" type="primary" size="mini" @click="showEditPanel(newFolder)">
{{ $t('panel.groupAdd') }}
</el-button>
</span> </span>
</el-row> </el-row>
<el-col class="custom-tree-container"> <el-col class="custom-tree-container">
...@@ -331,12 +334,14 @@ export default { ...@@ -331,12 +334,14 @@ export default {
this.editPanel.panelInfo.name = this.$t('panel.panelAdd') this.editPanel.panelInfo.name = this.$t('panel.panelAdd')
this.editPanel.panelInfo.pid = param.data.id this.editPanel.panelInfo.pid = param.data.id
this.editPanel.panelInfo.level = param.data.level + 1 this.editPanel.panelInfo.level = param.data.level + 1
this.editPanel.panelInfo.panelType = 'self'
break break
case 'newFirstFolder': case 'newFirstFolder':
this.editPanel.titlePre = this.$t('commons.create') this.editPanel.titlePre = this.$t('commons.create')
this.editPanel.panelInfo.name = '' this.editPanel.panelInfo.name = ''
this.editPanel.panelInfo.pid = null this.editPanel.panelInfo.pid = null
this.editPanel.panelInfo.level = 0 this.editPanel.panelInfo.level = 0
this.editPanel.panelInfo.panelType = 'self'
break break
case 'edit': case 'edit':
case 'rename': case 'rename':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论