Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
7ebb015b
提交
7ebb015b
authored
5月 19, 2021
作者:
wangjiahao
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/main' into main
上级
50be91cc
f7cc4599
隐藏空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
321 行增加
和
59 行删除
+321
-59
ExtSysMenuMapper.java
...in/java/io/dataease/base/mapper/ext/ExtSysMenuMapper.java
+13
-0
ExtSysMenuMapper.xml
...ain/java/io/dataease/base/mapper/ext/ExtSysMenuMapper.xml
+21
-0
SysMenuController.java
...in/java/io/dataease/controller/sys/SysMenuController.java
+17
-0
MenuService.java
...nd/src/main/java/io/dataease/service/sys/MenuService.java
+57
-7
link.html
frontend/public/link.html
+1
-1
chart.js
frontend/src/api/chart/chart.js
+9
-0
menu.js
frontend/src/api/system/menu.js
+9
-1
Preview.vue
frontend/src/components/canvas/components/Editor/Preview.vue
+1
-1
en.js
frontend/src/lang/en.js
+6
-0
tw.js
frontend/src/lang/tw.js
+6
-0
zh.js
frontend/src/lang/zh.js
+6
-0
link.js
frontend/src/link/link.js
+2
-0
index.js
frontend/src/utils/index.js
+15
-0
chart.js
frontend/src/views/chart/chart/chart.js
+1
-0
TitleSelector.vue
.../views/chart/components/component-style/TitleSelector.vue
+2
-2
ChartEdit.vue
frontend/src/views/chart/view/ChartEdit.vue
+64
-15
index.vue
frontend/src/views/link/generate/index.vue
+7
-7
index.vue
frontend/src/views/link/view/index.vue
+2
-2
filterDialog.vue
frontend/src/views/panel/filter/filterDialog.vue
+1
-1
index.vue
frontend/src/views/system/dept/index.vue
+14
-10
index.vue
frontend/src/views/system/menu/index.vue
+60
-8
index.vue
frontend/src/views/system/role/index.vue
+3
-2
index.vue
frontend/src/views/system/user/index.vue
+4
-2
没有找到文件。
backend/src/main/java/io/dataease/base/mapper/ext/ExtSysMenuMapper.java
0 → 100644
浏览文件 @
7ebb015b
package
io
.
dataease
.
base
.
mapper
.
ext
;
import
io.dataease.base.mapper.ext.query.GridExample
;
import
io.dataease.controller.sys.request.SimpleTreeNode
;
import
java.util.List
;
public
interface
ExtSysMenuMapper
{
List
<
SimpleTreeNode
>
allNodes
();
List
<
SimpleTreeNode
>
nodesByExample
(
GridExample
example
);
}
backend/src/main/java/io/dataease/base/mapper/ext/ExtSysMenuMapper.xml
0 → 100644
浏览文件 @
7ebb015b
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"io.dataease.base.mapper.ext.ExtSysMenuMapper"
>
<resultMap
id=
"simpleNode"
type=
"io.dataease.controller.sys.request.SimpleTreeNode"
>
<id
property=
"id"
column=
"id"
javaType=
"java.lang.Long"
/>
<result
property=
"pid"
column=
"pid"
javaType=
"java.lang.Long"
/>
</resultMap>
<select
id=
"allNodes"
resultMap=
"simpleNode"
>
select menu_id as id, pid from sys_menu
</select>
<select
id=
"nodesByExample"
parameterType=
"io.dataease.base.mapper.ext.query.GridExample"
resultMap=
"simpleNode"
>
select menu_id as id, pid from sys_menu
<include
refid=
"io.dataease.base.mapper.ext.query.GridSql.gridCondition"
/>
</select>
</mapper>
backend/src/main/java/io/dataease/controller/sys/SysMenuController.java
浏览文件 @
7ebb015b
...
@@ -5,8 +5,11 @@ import io.dataease.base.domain.SysMenu;
...
@@ -5,8 +5,11 @@ import io.dataease.base.domain.SysMenu;
import
io.dataease.commons.utils.BeanUtils
;
import
io.dataease.commons.utils.BeanUtils
;
import
io.dataease.controller.handler.annotation.I18n
;
import
io.dataease.controller.handler.annotation.I18n
;
import
io.dataease.controller.sys.base.BaseGridRequest
;
import
io.dataease.controller.sys.request.MenuCreateRequest
;
import
io.dataease.controller.sys.request.MenuCreateRequest
;
import
io.dataease.controller.sys.request.MenuDeleteRequest
;
import
io.dataease.controller.sys.request.MenuDeleteRequest
;
import
io.dataease.controller.sys.request.SimpleTreeNode
;
import
io.dataease.controller.sys.response.DeptNodeResponse
;
import
io.dataease.controller.sys.response.MenuNodeResponse
;
import
io.dataease.controller.sys.response.MenuNodeResponse
;
import
io.dataease.controller.sys.response.MenuTreeNode
;
import
io.dataease.controller.sys.response.MenuTreeNode
;
import
io.dataease.service.sys.MenuService
;
import
io.dataease.service.sys.MenuService
;
...
@@ -37,6 +40,20 @@ public class SysMenuController {
...
@@ -37,6 +40,20 @@ public class SysMenuController {
return
menuService
.
convert
(
nodes
);
return
menuService
.
convert
(
nodes
);
}
}
@ApiOperation
(
"搜索菜单树"
)
@I18n
@PostMapping
(
"/search"
)
public
List
<
MenuNodeResponse
>
search
(
@RequestBody
BaseGridRequest
request
)
{
List
<
SysMenu
>
nodes
=
menuService
.
nodesTreeByCondition
(
request
);
List
<
MenuNodeResponse
>
nodeResponses
=
nodes
.
stream
().
map
(
node
->
{
MenuNodeResponse
menuNodeResponse
=
BeanUtils
.
copyBean
(
new
MenuNodeResponse
(),
node
);
menuNodeResponse
.
setHasChildren
(
node
.
getSubCount
()
>
0
);
menuNodeResponse
.
setTop
(
node
.
getPid
()
==
menuService
.
MENU_ROOT_PID
);
return
menuNodeResponse
;
}).
collect
(
Collectors
.
toList
());
return
nodeResponses
;
}
@ApiOperation
(
"新增菜单"
)
@ApiOperation
(
"新增菜单"
)
...
...
backend/src/main/java/io/dataease/service/sys/MenuService.java
浏览文件 @
7ebb015b
package
io
.
dataease
.
service
.
sys
;
package
io
.
dataease
.
service
.
sys
;
import
io.dataease.base.domain.SysDept
;
import
io.dataease.base.domain.SysMenu
;
import
io.dataease.base.domain.SysMenu
;
import
io.dataease.base.domain.SysMenuExample
;
import
io.dataease.base.domain.SysMenuExample
;
import
io.dataease.base.mapper.SysMenuMapper
;
import
io.dataease.base.mapper.SysMenuMapper
;
import
io.dataease.base.mapper.ext.ExtMenuMapper
;
import
io.dataease.base.mapper.ext.ExtMenuMapper
;
import
io.dataease.base.mapper.ext.ExtSysMenuMapper
;
import
io.dataease.commons.utils.BeanUtils
;
import
io.dataease.commons.utils.BeanUtils
;
import
io.dataease.controller.sys.base.BaseGridRequest
;
import
io.dataease.controller.sys.request.MenuCreateRequest
;
import
io.dataease.controller.sys.request.MenuCreateRequest
;
import
io.dataease.controller.sys.request.MenuDeleteRequest
;
import
io.dataease.controller.sys.request.MenuDeleteRequest
;
import
io.dataease.controller.sys.re
sponse.Dept
TreeNode
;
import
io.dataease.controller.sys.re
quest.Simple
TreeNode
;
import
io.dataease.controller.sys.response.MenuNodeResponse
;
import
io.dataease.controller.sys.response.MenuNodeResponse
;
import
io.dataease.controller.sys.response.MenuTreeNode
;
import
io.dataease.controller.sys.response.MenuTreeNode
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.HashSet
;
import
java.util.*
;
import
java.util.List
;
import
java.util.Optional
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
@Service
@Service
...
@@ -34,6 +32,8 @@ public class MenuService {
...
@@ -34,6 +32,8 @@ public class MenuService {
@Resource
@Resource
private
SysMenuMapper
sysMenuMapper
;
private
SysMenuMapper
sysMenuMapper
;
@Resource
private
ExtSysMenuMapper
extSysMenuMapper
;
@Resource
@Resource
private
ExtMenuMapper
extMenuMapper
;
private
ExtMenuMapper
extMenuMapper
;
...
@@ -173,4 +173,54 @@ public class MenuService {
...
@@ -173,4 +173,54 @@ public class MenuService {
}
}
public
List
<
SysMenu
>
nodesTreeByCondition
(
BaseGridRequest
request
){
List
<
SimpleTreeNode
>
allNodes
=
allNodes
();
List
<
SimpleTreeNode
>
targetNodes
=
nodeByCondition
(
request
);
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isEmpty
(
targetNodes
)){
return
new
ArrayList
<>();
}
List
<
Long
>
ids
=
upTree
(
allNodes
,
targetNodes
);
SysMenuExample
example
=
new
SysMenuExample
();
if
(
org
.
apache
.
commons
.
collections
.
CollectionUtils
.
isNotEmpty
(
ids
)){
SysMenuExample
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andMenuIdIn
(
ids
);
}
List
<
SysMenu
>
sysMenus
=
sysMenuMapper
.
selectByExample
(
example
);
return
sysMenus
;
}
public
List
<
SimpleTreeNode
>
allNodes
()
{
List
<
SimpleTreeNode
>
allNodes
=
extSysMenuMapper
.
allNodes
();
return
allNodes
;
}
public
List
<
SimpleTreeNode
>
nodeByCondition
(
BaseGridRequest
request
)
{
List
<
SimpleTreeNode
>
simpleTreeNodes
=
extSysMenuMapper
.
nodesByExample
(
request
.
convertExample
());
return
simpleTreeNodes
;
}
/**
* 找出目标节点所在路径上的所有节点 向上找
* @param allNodes 所有节点
* @param targetNodes 目标节点
* @return
*/
private
List
<
Long
>
upTree
(
List
<
SimpleTreeNode
>
allNodes
,
List
<
SimpleTreeNode
>
targetNodes
){
final
Map
<
Long
,
SimpleTreeNode
>
map
=
allNodes
.
stream
().
collect
(
Collectors
.
toMap
(
SimpleTreeNode:
:
getId
,
node
->
node
));
List
<
Long
>
results
=
targetNodes
.
parallelStream
().
flatMap
(
targetNode
->
{
//向上逐级找爹
List
<
Long
>
ids
=
new
ArrayList
<>();
SimpleTreeNode
node
=
targetNode
;
while
(
node
!=
null
)
{
ids
.
add
(
node
.
getId
());
Long
pid
=
node
.
getPid
();
node
=
map
.
get
(
pid
);
}
return
ids
.
stream
();
}).
distinct
().
collect
(
Collectors
.
toList
());
return
results
;
}
}
}
frontend/public/link.html
浏览文件 @
7ebb015b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<link
rel=
"shortcut icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"shortcut icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
DataEase
</title>
<title>
DataEase
</title>
</head>
</head>
<body>
<body
style=
"height: 100%;"
>
<div
id=
"link"
></div>
<div
id=
"link"
></div>
</body>
</body>
</html>
</html>
frontend/src/api/chart/chart.js
浏览文件 @
7ebb015b
...
@@ -9,6 +9,15 @@ export function post(url, data) {
...
@@ -9,6 +9,15 @@ export function post(url, data) {
})
})
}
}
export
function
ajaxGetData
(
id
,
data
)
{
return
request
({
url
:
'/chart/view/getData/'
+
id
,
method
:
'post'
,
loading
:
true
,
hideMsg
:
true
,
data
})
}
export
function
getChartTree
(
data
)
{
export
function
getChartTree
(
data
)
{
return
request
({
return
request
({
...
...
frontend/src/api/system/menu.js
浏览文件 @
7ebb015b
...
@@ -53,4 +53,12 @@ export function treeByMenuId(menuId) {
...
@@ -53,4 +53,12 @@ export function treeByMenuId(menuId) {
})
})
}
}
export
default
{
addMenu
,
editMenu
,
delMenu
,
getMenusTree
,
getChild
,
treeByMenuId
}
export
function
queryCondition
(
data
)
{
return
request
({
url
:
'/api/menu/search'
,
method
:
'post'
,
data
})
}
export
default
{
addMenu
,
editMenu
,
delMenu
,
getMenusTree
,
getChild
,
treeByMenuId
,
queryCondition
}
frontend/src/components/canvas/components/Editor/Preview.vue
浏览文件 @
7ebb015b
<
template
>
<
template
>
<div
id=
"canvasInfo"
:style=
"customStyle"
class=
"bg"
>
<div
id=
"canvasInfo"
:style=
"customStyle"
class=
"bg"
>
<el-row
v-if=
"componentDataShow.length===0"
style=
"height: 100%;"
class=
"custom-position"
>
<el-row
v-if=
"componentDataShow.length===0"
style=
"height: 100%;"
class=
"custom-position"
>
{{
$t
(
'panel.panel_null'
)
}}
<!--
{{
$t
(
'panel.panel_null'
)
}}
-->
</el-row>
</el-row>
<ComponentWrapper
<ComponentWrapper
v-for=
"(item, index) in componentDataInfo"
v-for=
"(item, index) in componentDataInfo"
...
...
frontend/src/lang/en.js
浏览文件 @
7ebb015b
...
@@ -807,6 +807,12 @@ export default {
...
@@ -807,6 +807,12 @@ export default {
delete_warning
:
'Confirm to delete?'
delete_warning
:
'Confirm to delete?'
},
},
panel
:
{
panel
:
{
copy_link_passwd
:
'Copy link and password'
,
copy_link
:
'Copy link'
,
passwd_protect
:
'Password Protect'
,
link
:
'Link'
,
link_share
:
'Share Link'
,
link_share_desc
:
'After opening the link, anyone can access the dashboard through this link.'
,
share
:
'Share'
,
share
:
'Share'
,
datalist
:
'Chart List'
,
datalist
:
'Chart List'
,
group
:
'Catalogue'
,
group
:
'Catalogue'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
7ebb015b
...
@@ -806,6 +806,12 @@ export default {
...
@@ -806,6 +806,12 @@ export default {
delete_warning
:
'確認刪除?'
delete_warning
:
'確認刪除?'
},
},
panel
:
{
panel
:
{
copy_link_passwd
:
'複製鏈接及密碼'
,
copy_link
:
'複製鏈接'
,
passwd_protect
:
'密碼保護'
,
link
:
'鏈接'
,
link_share
:
'鏈接分享'
,
link_share_desc
:
'開啟鏈接後,任何人可通過此鏈接訪問儀表板。'
,
share
:
'分享'
,
share
:
'分享'
,
datalist
:
'視圖列表'
,
datalist
:
'視圖列表'
,
group
:
'目錄'
,
group
:
'目錄'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
7ebb015b
...
@@ -808,6 +808,12 @@ export default {
...
@@ -808,6 +808,12 @@ export default {
delete_warning
:
'确定要删除吗?'
delete_warning
:
'确定要删除吗?'
},
},
panel
:
{
panel
:
{
copy_link_passwd
:
'复制链接及密码'
,
copy_link
:
'复制链接'
,
passwd_protect
:
'密码保护'
,
link
:
'链接'
,
link_share
:
'链接分享'
,
link_share_desc
:
'开启链接后,任何人可通过此链接访问仪表板。'
,
share
:
'分享'
,
share
:
'分享'
,
datalist
:
'视图列表'
,
datalist
:
'视图列表'
,
group
:
'目录'
,
group
:
'目录'
,
...
...
frontend/src/link/link.js
浏览文件 @
7ebb015b
...
@@ -6,9 +6,11 @@ import '@/styles/index.scss' // global css
...
@@ -6,9 +6,11 @@ import '@/styles/index.scss' // global css
import
i18n
from
'../lang'
// internationalization
import
i18n
from
'../lang'
// internationalization
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
import
'@/components/canvas/custom-component'
// 注册自定义组件
import
'@/components/canvas/custom-component'
// 注册自定义组件
import
widgets
from
'@/components/widget'
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
Vue
.
prototype
.
$echarts
=
echarts
Vue
.
prototype
.
$echarts
=
echarts
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
Vue
.
use
(
widgets
)
Vue
.
use
(
ElementUI
,
{
Vue
.
use
(
ElementUI
,
{
i18n
:
(
key
,
value
)
=>
i18n
.
t
(
key
,
value
)
i18n
:
(
key
,
value
)
=>
i18n
.
t
(
key
,
value
)
...
...
frontend/src/utils/index.js
浏览文件 @
7ebb015b
...
@@ -162,6 +162,21 @@ export function formatCondition(param) {
...
@@ -162,6 +162,21 @@ export function formatCondition(param) {
return
result
return
result
}
}
export
function
formatQuickCondition
(
param
,
quickField
)
{
let
quickObj
=
null
if
(
!
param
||
!
(
quickObj
=
param
.
quick
)
||
!
quickField
)
{
quickObj
&&
delete
param
.
quick
return
param
}
param
[
quickField
]
=
{
field
:
quickField
,
operator
:
'like'
,
value
:
quickObj
.
value
}
delete
param
.
quick
return
param
}
export
function
getQueryVariable
(
variable
)
{
export
function
getQueryVariable
(
variable
)
{
const
query
=
window
.
location
.
search
.
substring
(
1
)
const
query
=
window
.
location
.
search
.
substring
(
1
)
const
vars
=
query
.
split
(
'&'
)
const
vars
=
query
.
split
(
'&'
)
...
...
frontend/src/views/chart/chart/chart.js
浏览文件 @
7ebb015b
...
@@ -48,6 +48,7 @@ export const DEFAULT_LABEL = {
...
@@ -48,6 +48,7 @@ export const DEFAULT_LABEL = {
export
const
DEFAULT_TOOLTIP
=
{
export
const
DEFAULT_TOOLTIP
=
{
show
:
true
,
show
:
true
,
trigger
:
'item'
,
trigger
:
'item'
,
confine
:
true
,
textStyle
:
{
textStyle
:
{
fontSize
:
'10'
,
fontSize
:
'10'
,
color
:
'#909399'
color
:
'#909399'
...
...
frontend/src/views/chart/components/component-style/TitleSelector.vue
浏览文件 @
7ebb015b
...
@@ -73,8 +73,8 @@ export default {
...
@@ -73,8 +73,8 @@ export default {
}
else
{
}
else
{
customStyle
=
JSON
.
parse
(
chart
.
customStyle
)
customStyle
=
JSON
.
parse
(
chart
.
customStyle
)
}
}
if
(
customStyle
.
background
)
{
if
(
customStyle
.
text
)
{
this
.
colorForm
=
customStyle
.
background
this
.
titleForm
=
customStyle
.
text
}
}
}
}
}
}
...
...
frontend/src/views/chart/view/ChartEdit.vue
浏览文件 @
7ebb015b
...
@@ -218,9 +218,15 @@
...
@@ -218,9 +218,15 @@
</el-row>
</el-row>
</el-row>
</el-row>
<div
ref=
"imageWrapper"
style=
"height: 100%"
>
<div
ref=
"imageWrapper"
style=
"height: 100%"
>
<chart-component
v-if=
"chart.type && !chart.type.includes('table') && !chart.type.includes('text')"
:chart-id=
"chart.id"
:chart=
"chart"
class=
"chart-class"
/>
<chart-component
v-if=
"httpRequest.status && chart.type && !chart.type.includes('table') && !chart.type.includes('text')"
:chart-id=
"chart.id"
:chart=
"chart"
class=
"chart-class"
/>
<table-normal
v-if=
"chart.type && chart.type.includes('table')"
:chart=
"chart"
class=
"table-class"
/>
<table-normal
v-if=
"httpRequest.status && chart.type && chart.type.includes('table')"
:chart=
"chart"
class=
"table-class"
/>
<label-normal
v-if=
"chart.type && chart.type.includes('text')"
:chart=
"chart"
class=
"table-class"
/>
<label-normal
v-if=
"httpRequest.status && chart.type && chart.type.includes('text')"
:chart=
"chart"
class=
"table-class"
/>
<div
v-if=
"!httpRequest.status"
style=
";width: 100%;height: 100%;background-color: #ece7e7; text-align: center"
>
<div
style=
"font-size: 12px; color: #9ea6b2;"
>
{{
$t
(
'panel.error_data'
)
}}
<br>
{{
httpRequest
.
msg
}}
</div>
</div>
</div>
</div>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -272,7 +278,7 @@
...
@@ -272,7 +278,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
post
}
from
'@/api/dataset/datase
t'
import
{
post
,
ajaxGetData
}
from
'@/api/chart/char
t'
import
draggable
from
'vuedraggable'
import
draggable
from
'vuedraggable'
import
DimensionItem
from
'../components/drag-item/DimensionItem'
import
DimensionItem
from
'../components/drag-item/DimensionItem'
import
QuotaItem
from
'../components/drag-item/QuotaItem'
import
QuotaItem
from
'../components/drag-item/QuotaItem'
...
@@ -357,11 +363,16 @@ export default {
...
@@ -357,11 +363,16 @@ export default {
},
},
itemFormRules
:
{
itemFormRules
:
{
name
:
[
name
:
[
{
required
:
true
,
message
:
this
.
$t
(
'commons.input_content'
),
trigger
:
'change'
}
{
required
:
true
,
message
:
this
.
$t
(
'commons.input_content'
),
trigger
:
'change'
},
{
max
:
50
,
message
:
this
.
$t
(
'commons.char_can_not_more_50'
),
trigger
:
'change'
}
]
]
},
},
tabStatus
:
false
,
tabStatus
:
false
,
data
:
{}
data
:
{},
httpRequest
:
{
status
:
true
,
msg
:
''
}
}
}
},
},
computed
:
{
computed
:
{
...
@@ -393,6 +404,11 @@ export default {
...
@@ -393,6 +404,11 @@ export default {
post
(
'/dataset/table/get/'
+
id
,
null
).
then
(
response
=>
{
post
(
'/dataset/table/get/'
+
id
,
null
).
then
(
response
=>
{
this
.
table
=
response
.
data
this
.
table
=
response
.
data
this
.
initTableField
(
id
)
this
.
initTableField
(
id
)
}).
catch
(
err
=>
{
this
.
resetView
()
this
.
httpRequest
.
status
=
false
this
.
httpRequest
.
msg
=
err
return
true
})
})
}
}
},
},
...
@@ -400,6 +416,11 @@ export default {
...
@@ -400,6 +416,11 @@ export default {
post
(
'/dataset/table/getFieldsFromDE'
,
this
.
table
).
then
(
response
=>
{
post
(
'/dataset/table/getFieldsFromDE'
,
this
.
table
).
then
(
response
=>
{
this
.
dimension
=
response
.
data
.
dimension
this
.
dimension
=
response
.
data
.
dimension
this
.
quota
=
response
.
data
.
quota
this
.
quota
=
response
.
data
.
quota
}).
catch
(
err
=>
{
this
.
resetView
()
this
.
httpRequest
.
status
=
false
this
.
httpRequest
.
msg
=
err
return
true
})
})
},
},
save
(
getData
)
{
save
(
getData
)
{
...
@@ -463,7 +484,7 @@ export default {
...
@@ -463,7 +484,7 @@ export default {
})
})
},
},
closeEdit
()
{
closeEdit
()
{
if
(
this
.
view
.
title
.
length
>
50
)
{
if
(
this
.
view
.
title
&&
this
.
view
.
title
.
length
>
50
)
{
this
.
$warning
(
this
.
$t
(
'chart.title_limit'
))
this
.
$warning
(
this
.
$t
(
'chart.title_limit'
))
return
return
}
}
...
@@ -521,7 +542,7 @@ export default {
...
@@ -521,7 +542,7 @@ export default {
},
},
getData
(
id
)
{
getData
(
id
)
{
if
(
id
)
{
if
(
id
)
{
post
(
'/chart/view/getData/'
+
id
,
{
ajaxGetData
(
id
,
{
filter
:
[]
filter
:
[]
}).
then
(
response
=>
{
}).
then
(
response
=>
{
this
.
initTableData
(
response
.
data
.
tableId
)
this
.
initTableData
(
response
.
data
.
tableId
)
...
@@ -535,6 +556,12 @@ export default {
...
@@ -535,6 +556,12 @@ export default {
this
.
chart
=
response
.
data
this
.
chart
=
response
.
data
this
.
data
=
response
.
data
.
data
this
.
data
=
response
.
data
.
data
// console.log(JSON.stringify(this.chart))
// console.log(JSON.stringify(this.chart))
this
.
httpRequest
.
status
=
true
}).
catch
(
err
=>
{
this
.
resetView
()
this
.
httpRequest
.
status
=
false
this
.
httpRequest
.
msg
=
err
return
true
})
})
}
else
{
}
else
{
this
.
view
=
{}
this
.
view
=
{}
...
@@ -553,6 +580,13 @@ export default {
...
@@ -553,6 +580,13 @@ export default {
response
.
data
.
data
=
this
.
data
response
.
data
.
data
=
this
.
data
this
.
chart
=
response
.
data
this
.
chart
=
response
.
data
this
.
httpRequest
.
status
=
true
}).
catch
(
err
=>
{
this
.
resetView
()
this
.
httpRequest
.
status
=
false
this
.
httpRequest
.
msg
=
err
return
true
})
})
}
else
{
}
else
{
this
.
view
=
{}
this
.
view
=
{}
...
@@ -739,13 +773,19 @@ export default {
...
@@ -739,13 +773,19 @@ export default {
this
.
renameItem
=
true
this
.
renameItem
=
true
},
},
saveRename
()
{
saveRename
()
{
if
(
this
.
itemForm
.
renameType
===
'quota'
)
{
this
.
$refs
[
'itemForm'
].
validate
((
valid
)
=>
{
this
.
view
.
yaxis
[
this
.
itemForm
.
index
].
name
=
this
.
itemForm
.
name
if
(
valid
)
{
}
else
if
(
this
.
itemForm
.
renameType
===
'dimension'
)
{
if
(
this
.
itemForm
.
renameType
===
'quota'
)
{
this
.
view
.
xaxis
[
this
.
itemForm
.
index
].
name
=
this
.
itemForm
.
name
this
.
view
.
yaxis
[
this
.
itemForm
.
index
].
name
=
this
.
itemForm
.
name
}
}
else
if
(
this
.
itemForm
.
renameType
===
'dimension'
)
{
this
.
save
(
true
)
this
.
view
.
xaxis
[
this
.
itemForm
.
index
].
name
=
this
.
itemForm
.
name
this
.
closeRename
()
}
this
.
save
(
true
)
this
.
closeRename
()
}
else
{
return
false
}
})
},
},
closeRename
()
{
closeRename
()
{
this
.
renameItem
=
false
this
.
renameItem
=
false
...
@@ -760,6 +800,15 @@ export default {
...
@@ -760,6 +800,15 @@ export default {
},
},
hideTab
()
{
hideTab
()
{
this
.
tabStatus
=
false
this
.
tabStatus
=
false
},
resetView
()
{
this
.
dimension
=
[]
this
.
quota
=
[]
this
.
view
=
{
xAxis
:
[],
yAxis
:
[],
type
:
''
}
}
}
}
}
}
}
...
...
frontend/src/views/link/generate/index.vue
浏览文件 @
7ebb015b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<el-form
ref=
"createOrganization"
inline
:model=
"form"
size=
"small"
label-width=
"80px"
>
<el-form
ref=
"createOrganization"
inline
:model=
"form"
size=
"small"
label-width=
"80px"
>
<el-form-item
label=
"链接分享
"
>
<el-form-item
:label=
"$t('panel.link_share')
"
>
<el-switch
<el-switch
v-model=
"valid"
v-model=
"valid"
style=
"width: 370px;"
style=
"width: 370px;"
...
@@ -12,9 +12,9 @@
...
@@ -12,9 +12,9 @@
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
" "
>
<el-form-item
label=
" "
>
<el-link
class=
"de-link"
style=
"width: 370px;"
disabled
>
开启链接后,任何人可通过此链接访问仪表板。
</el-link>
<el-link
class=
"de-link"
style=
"width: 370px;"
disabled
>
{{
$t
(
'panel.link_share_desc'
)
}}
</el-link>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"valid"
label=
"链接
"
>
<el-form-item
v-if=
"valid"
:label=
"$t('panel.link')
"
>
<el-input
<el-input
v-model
.
number=
"form.uri"
v-model
.
number=
"form.uri"
disabled
disabled
...
@@ -23,17 +23,17 @@
...
@@ -23,17 +23,17 @@
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"valid"
label=
" "
>
<el-form-item
v-if=
"valid"
label=
" "
>
<el-checkbox
v-model=
"form.enablePwd"
@
change=
"resetEnablePwd"
>
密码保护
</el-checkbox>
<el-checkbox
v-model=
"form.enablePwd"
@
change=
"resetEnablePwd"
>
{{
$t
(
'panel.passwd_protect'
)
}}
</el-checkbox>
<span
v-if=
"form.enablePwd"
class=
"de-span"
>
{{
form
.
pwd
}}
</span>
<span
v-if=
"form.enablePwd"
class=
"de-span"
>
{{
form
.
pwd
}}
</span>
<span
v-if=
"form.enablePwd"
class=
"de-span"
@
click=
"resetPwd"
><el-link
:underline=
"false"
type=
"primary"
>
重置
</el-link></span>
<span
v-if=
"form.enablePwd"
class=
"de-span"
@
click=
"resetPwd"
><el-link
:underline=
"false"
type=
"primary"
>
{{
$t
(
'commons.reset'
)
}}
</el-link></span>
</el-form-item>
</el-form-item>
<div
v-if=
"valid"
class=
"auth-root-class"
>
<div
v-if=
"valid"
class=
"auth-root-class"
>
<span
slot=
"footer"
>
<span
slot=
"footer"
>
<el-button
v-if=
"!form.enablePwd"
v-clipboard:copy=
"form.uri"
v-clipboard:success=
"onCopy"
v-clipboard:error=
"onError"
size=
"mini"
type=
"primary"
>
复制链接
</el-button>
<el-button
v-if=
"!form.enablePwd"
v-clipboard:copy=
"form.uri"
v-clipboard:success=
"onCopy"
v-clipboard:error=
"onError"
size=
"mini"
type=
"primary"
>
{{
$t
(
'panel.copy_link'
)
}}
</el-button>
<el-button
v-if=
"form.enablePwd"
v-clipboard:copy=
"form.uri + '
密码: '+ form.pwd"
v-clipboard:success=
"onCopy"
v-clipboard:error=
"onError"
size=
"mini"
type=
"primary"
>
复制链接及密码
</el-button>
<el-button
v-if=
"form.enablePwd"
v-clipboard:copy=
"form.uri + '
Password: '+ form.pwd"
v-clipboard:success=
"onCopy"
v-clipboard:error=
"onError"
size=
"mini"
type=
"primary"
>
{{
$t
(
'panel.copy_link_passwd'
)
}}
</el-button>
</span>
</span>
</div>
</div>
...
...
frontend/src/views/link/view/index.vue
浏览文件 @
7ebb015b
<
template
>
<
template
>
<div
style=
"width: 100%;height: 100
%
;background-color: #f7f8fa"
>
<div
style=
"width: 100%;height: 100
vh
;background-color: #f7f8fa"
>
<Preview
v-if=
"show"
/>
<Preview
v-if=
"show"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
})
})
},
},
resetID
(
data
)
{
resetID
(
data
)
{
if
(
data
)
{
if
(
data
)
{
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
item
.
id
=
uuid
.
v1
()
item
.
id
=
uuid
.
v1
()
})
})
...
...
frontend/src/views/panel/filter/filterDialog.vue
浏览文件 @
7ebb015b
...
@@ -316,7 +316,7 @@ export default {
...
@@ -316,7 +316,7 @@ export default {
const
viewIds
=
this
.
componentData
const
viewIds
=
this
.
componentData
.
filter
(
item
=>
item
.
type
===
'view'
&&
item
.
propValue
&&
item
.
propValue
.
viewId
)
.
filter
(
item
=>
item
.
type
===
'view'
&&
item
.
propValue
&&
item
.
propValue
.
viewId
)
.
map
(
item
=>
item
.
propValue
.
viewId
)
.
map
(
item
=>
item
.
propValue
.
viewId
)
viewsWithIds
(
viewIds
).
then
(
res
=>
{
view
Ids
&&
viewIds
.
length
>
0
&&
view
sWithIds
(
viewIds
).
then
(
res
=>
{
const
datas
=
res
.
data
const
datas
=
res
.
data
this
.
viewInfos
=
datas
this
.
viewInfos
=
datas
})
})
...
...
frontend/src/views/system/dept/index.vue
浏览文件 @
7ebb015b
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
import
LayoutContent
from
'@/components/business/LayoutContent'
import
LayoutContent
from
'@/components/business/LayoutContent'
import
TreeTable
from
'@/components/business/tree-table'
import
TreeTable
from
'@/components/business/tree-table'
import
Treeselect
from
'@riophae/vue-treeselect'
import
Treeselect
from
'@riophae/vue-treeselect'
import
{
formatCondition
}
from
'@/utils/index'
import
{
formatCondition
,
formatQuickCondition
}
from
'@/utils/index'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
{
LOAD_CHILDREN_OPTIONS
,
LOAD_ROOT_OPTIONS
}
from
'@riophae/vue-treeselect'
import
{
LOAD_CHILDREN_OPTIONS
,
LOAD_ROOT_OPTIONS
}
from
'@riophae/vue-treeselect'
import
{
checkPermission
}
from
'@/utils/permission'
import
{
checkPermission
}
from
'@/utils/permission'
...
@@ -149,10 +149,9 @@ export default {
...
@@ -149,10 +149,9 @@ export default {
],
],
searchConfig
:
{
searchConfig
:
{
useQuickSearch
:
true
,
useQuickSearch
:
true
,
useComplexSearch
:
false
,
quickPlaceholder
:
'按名称搜索'
,
quickPlaceholder
:
'按名称搜索'
,
components
:
[
components
:
[
{
field
:
'name'
,
label
:
this
.
$t
(
'organization.name'
),
component
:
'FuComplexInput'
}
]
]
},
},
...
@@ -260,17 +259,18 @@ export default {
...
@@ -260,17 +259,18 @@ export default {
},
},
// 加载表格数据
// 加载表格数据
search
(
condition
)
{
search
(
condition
)
{
// this.setTableAttr()
condition
=
formatQuickCondition
(
condition
,
'name'
)
let
conditionExist
=
false
const
temp
=
formatCondition
(
condition
)
this
.
tableData
=
[]
this
.
tableData
=
[]
let
param
=
{}
let
param
=
{}
if
(
condition
&&
condition
.
quick
)
{
if
(
temp
&&
temp
.
conditions
&&
temp
.
conditions
.
length
!==
0
)
{
con
st
con
=
this
.
quick_condition
(
condition
)
con
ditionExist
=
true
param
=
formatCondition
(
con
)
param
=
temp
}
else
{
}
else
{
param
=
{
conditions
:
[
this
.
defaultCondition
]
}
param
=
{
conditions
:
[
this
.
defaultCondition
]
}
}
}
// param.conditions.push(this.defaultCondition)
loadTable
(
param
).
then
(
res
=>
{
loadTable
(
param
).
then
(
res
=>
{
let
data
=
res
.
data
let
data
=
res
.
data
data
=
data
.
map
(
obj
=>
{
data
=
data
.
map
(
obj
=>
{
...
@@ -280,11 +280,15 @@ export default {
...
@@ -280,11 +280,15 @@ export default {
return
obj
return
obj
})
})
if
(
condition
&&
condition
.
quick
)
{
if
(
condition
Exist
)
{
data
=
this
.
buildTree
(
data
)
data
=
this
.
buildTree
(
data
)
// this.setTableAttr(true)
}
}
this
.
tableData
=
data
this
.
tableData
=
data
this
.
$nextTick
(()
=>
{
this
.
tableData
.
forEach
(
node
=>
{
this
.
$refs
.
table
.
toggleRowExpansion
(
node
,
conditionExist
)
})
})
this
.
depts
=
null
this
.
depts
=
null
})
})
},
},
...
...
frontend/src/views/system/menu/index.vue
浏览文件 @
7ebb015b
...
@@ -2,9 +2,8 @@
...
@@ -2,9 +2,8 @@
<layout-content
v-loading=
"$store.getters.loadingMap[$store.getters.currentPath]"
>
<layout-content
v-loading=
"$store.getters.loadingMap[$store.getters.currentPath]"
>
<tree-table
<tree-table
:columns=
"columns"
:columns=
"columns"
:search-config=
"searchConfig"
:search-config=
"searchConfig"
@
search=
"
initTableData
"
@
search=
"
search
"
>
>
<template
#
toolbar
>
<template
#
toolbar
>
<fu-table-button
v-permission=
"['menu:add']"
icon=
"el-icon-circle-plus-outline"
:label=
"$t('menu.create')"
@
click=
"create"
/>
<fu-table-button
v-permission=
"['menu:add']"
icon=
"el-icon-circle-plus-outline"
:label=
"$t('menu.create')"
@
click=
"create"
/>
...
@@ -15,7 +14,6 @@
...
@@ -15,7 +14,6 @@
:data=
"tableData"
:data=
"tableData"
lazy
lazy
:load=
"initTableData"
:load=
"initTableData"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
row-key=
"menuId"
row-key=
"menuId"
>
>
...
@@ -120,7 +118,8 @@ import Treeselect from '@riophae/vue-treeselect'
...
@@ -120,7 +118,8 @@ import Treeselect from '@riophae/vue-treeselect'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
{
LOAD_CHILDREN_OPTIONS
,
LOAD_ROOT_OPTIONS
}
from
'@riophae/vue-treeselect'
import
{
LOAD_CHILDREN_OPTIONS
,
LOAD_ROOT_OPTIONS
}
from
'@riophae/vue-treeselect'
import
{
checkPermission
}
from
'@/utils/permission'
import
{
checkPermission
}
from
'@/utils/permission'
import
{
addMenu
,
editMenu
,
delMenu
,
getMenusTree
}
from
'@/api/system/menu'
import
{
addMenu
,
editMenu
,
delMenu
,
getMenusTree
,
queryCondition
}
from
'@/api/system/menu'
import
{
formatCondition
,
formatQuickCondition
}
from
'@/utils/index'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -169,11 +168,10 @@ export default {
...
@@ -169,11 +168,10 @@ export default {
],
],
searchConfig
:
{
searchConfig
:
{
useQuickSearch
:
true
,
useQuickSearch
:
true
,
useComplexSearch
:
false
,
quickPlaceholder
:
'按标题搜索'
,
quickPlaceholder
:
'按姓名搜索'
,
components
:
[
components
:
[
// { field: 'name', label: '姓名', component: 'FuComplexInput' },
{
field
:
'title'
,
label
:
this
.
$t
(
'menu.tile'
),
component
:
'FuComplexInput'
}
// {
// {
// field: 'enabled',
// field: 'enabled',
...
@@ -204,7 +202,61 @@ export default {
...
@@ -204,7 +202,61 @@ export default {
this
.
$router
.
push
({
name
:
'system-menu-form'
})
this
.
$router
.
push
({
name
:
'system-menu-form'
})
},
},
search
(
condition
)
{
search
(
condition
)
{
console
.
log
(
condition
)
condition
=
formatQuickCondition
(
condition
,
'title'
)
const
temp
=
formatCondition
(
condition
)
if
(
!
temp
||
!
temp
.
conditions
||
temp
.
conditions
.
length
===
0
)
{
this
.
initTableData
()
this
.
$nextTick
(()
=>
{
this
.
tableData
.
forEach
(
node
=>
{
this
.
$refs
.
table
.
toggleRowExpansion
(
node
,
false
)
})
})
return
}
const
param
=
temp
||
{}
queryCondition
(
param
).
then
(
res
=>
{
let
data
=
res
.
data
data
=
data
.
map
(
obj
=>
{
if
(
obj
.
subCount
>
0
)
{
obj
.
hasChildren
=
true
}
return
obj
})
if
(
condition
)
{
data
=
data
.
map
(
node
=>
{
delete
(
node
.
hasChildren
)
return
node
})
this
.
tableData
=
this
.
buildTree
(
data
)
this
.
$nextTick
(()
=>
{
data
.
forEach
(
node
=>
{
this
.
$refs
.
table
.
toggleRowExpansion
(
node
,
true
)
})
})
}
else
{
this
.
tableData
=
data
}
})
},
buildTree
(
arrs
)
{
const
idMapping
=
arrs
.
reduce
((
acc
,
el
,
i
)
=>
{
acc
[
el
.
menuId
]
=
i
return
acc
},
{})
const
roots
=
[]
arrs
.
forEach
(
el
=>
{
// 判断根节点
if
(
el
.
pid
===
null
||
el
.
pid
===
0
)
{
roots
.
push
(
el
)
return
}
// 用映射表找到父元素
const
parentEl
=
arrs
[
idMapping
[
el
.
pid
]]
// 把当前元素添加到父元素的`children`数组中
parentEl
.
children
=
[...(
parentEl
.
children
||
[]),
el
]
})
return
roots
},
},
// edit(row) {
// edit(row) {
...
...
frontend/src/views/system/role/index.vue
浏览文件 @
7ebb015b
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
import
LayoutContent
from
'@/components/business/LayoutContent'
import
LayoutContent
from
'@/components/business/LayoutContent'
import
ComplexTable
from
'@/components/business/complex-table'
import
ComplexTable
from
'@/components/business/complex-table'
import
{
formatCondition
}
from
'@/utils/index'
import
{
formatCondition
,
formatQuickCondition
}
from
'@/utils/index'
import
{
addRole
,
editRole
,
delRole
,
roleGrid
,
addRoleMenus
,
menuIds
}
from
'@/api/system/role'
import
{
addRole
,
editRole
,
delRole
,
roleGrid
,
addRoleMenus
,
menuIds
}
from
'@/api/system/role'
import
{
getMenusTree
,
getChild
}
from
'@/api/system/menu'
import
{
getMenusTree
,
getChild
}
from
'@/api/system/menu'
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
}
}
],
],
searchConfig
:
{
searchConfig
:
{
useQuickSearch
:
fals
e
,
useQuickSearch
:
tru
e
,
quickPlaceholder
:
this
.
$t
(
'role.search_by_name'
),
quickPlaceholder
:
this
.
$t
(
'role.search_by_name'
),
components
:
[
components
:
[
{
field
:
'name'
,
label
:
this
.
$t
(
'role.role_name'
),
component
:
'FuComplexInput'
}
{
field
:
'name'
,
label
:
this
.
$t
(
'role.role_name'
),
component
:
'FuComplexInput'
}
...
@@ -151,6 +151,7 @@ export default {
...
@@ -151,6 +151,7 @@ export default {
this
.
$router
.
push
({
name
:
'system-role-form'
})
this
.
$router
.
push
({
name
:
'system-role-form'
})
},
},
search
(
condition
)
{
search
(
condition
)
{
condition
=
formatQuickCondition
(
condition
,
'name'
)
const
temp
=
formatCondition
(
condition
)
const
temp
=
formatCondition
(
condition
)
const
param
=
temp
||
{}
const
param
=
temp
||
{}
roleGrid
(
this
.
paginationConfig
.
currentPage
,
this
.
paginationConfig
.
pageSize
,
param
).
then
(
response
=>
{
roleGrid
(
this
.
paginationConfig
.
currentPage
,
this
.
paginationConfig
.
pageSize
,
param
).
then
(
response
=>
{
...
...
frontend/src/views/system/user/index.vue
浏览文件 @
7ebb015b
...
@@ -145,7 +145,7 @@ import LayoutContent from '@/components/business/LayoutContent'
...
@@ -145,7 +145,7 @@ import LayoutContent from '@/components/business/LayoutContent'
import
ComplexTable
from
'@/components/business/complex-table'
import
ComplexTable
from
'@/components/business/complex-table'
import
{
checkPermission
}
from
'@/utils/permission'
import
{
checkPermission
}
from
'@/utils/permission'
import
{
formatCondition
}
from
'@/utils/index'
import
{
formatCondition
,
formatQuickCondition
}
from
'@/utils/index'
import
{
PHONE_REGEX
}
from
'@/utils/validate'
import
{
PHONE_REGEX
}
from
'@/utils/validate'
import
{
LOAD_CHILDREN_OPTIONS
,
LOAD_ROOT_OPTIONS
}
from
'@riophae/vue-treeselect'
import
{
LOAD_CHILDREN_OPTIONS
,
LOAD_ROOT_OPTIONS
}
from
'@riophae/vue-treeselect'
import
Treeselect
from
'@riophae/vue-treeselect'
import
Treeselect
from
'@riophae/vue-treeselect'
...
@@ -176,7 +176,8 @@ export default {
...
@@ -176,7 +176,8 @@ export default {
],
],
searchConfig
:
{
searchConfig
:
{
useQuickSearch
:
true
,
useQuickSearch
:
true
,
quickPlaceholder
:
'按姓名搜索'
,
useComplexSearch
:
true
,
quickPlaceholder
:
'按名称搜索'
,
components
:
[
components
:
[
{
field
:
'nick_name'
,
label
:
'姓名'
,
component
:
'FuComplexInput'
},
{
field
:
'nick_name'
,
label
:
'姓名'
,
component
:
'FuComplexInput'
},
{
{
...
@@ -290,6 +291,7 @@ export default {
...
@@ -290,6 +291,7 @@ export default {
},
},
search
(
condition
)
{
search
(
condition
)
{
condition
=
formatQuickCondition
(
condition
,
'username'
)
const
temp
=
formatCondition
(
condition
)
const
temp
=
formatCondition
(
condition
)
const
param
=
temp
||
{}
const
param
=
temp
||
{}
const
{
currentPage
,
pageSize
}
=
this
.
paginationConfig
const
{
currentPage
,
pageSize
}
=
this
.
paginationConfig
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论