forked from github/dataease
refactor(仪表板): 透视表跳转设置只保留指标字段
This commit is contained in:
parent
5523e21638
commit
64ea12f55d
@ -62,8 +62,7 @@ export default {
|
||||
'gauge',
|
||||
'text',
|
||||
'label',
|
||||
'word-cloud',
|
||||
'table-pivot'
|
||||
'word-cloud'
|
||||
],
|
||||
linkageExcludeViewType: [
|
||||
'richTextView',
|
||||
@ -71,8 +70,7 @@ export default {
|
||||
'gauge',
|
||||
'text',
|
||||
'label',
|
||||
'word-cloud',
|
||||
'table-pivot'
|
||||
'word-cloud'
|
||||
],
|
||||
copyData: null,
|
||||
hyperlinksSetVisible: false,
|
||||
|
@ -359,8 +359,12 @@ export default {
|
||||
init() {
|
||||
const chartDetails = JSON.parse(this.panelViewDetailsInfo[this.viewId])
|
||||
const checkAllAxisStr = chartDetails.xaxis + chartDetails.xaxisExt + chartDetails.yaxis + chartDetails.yaxisExt + chartDetails.drillFields
|
||||
const checkJumpStr = chartDetails.type.includes('table') ? checkAllAxisStr : chartDetails.xaxis + chartDetails.xaxisExt + chartDetails.drillFields
|
||||
|
||||
let checkJumpStr
|
||||
if (chartDetails.type === 'table-pivot') {
|
||||
checkJumpStr = chartDetails.yaxis + chartDetails.yaxisExt
|
||||
} else {
|
||||
checkJumpStr = checkAllAxisStr
|
||||
}
|
||||
// 获取可关联的仪表板
|
||||
groupTree({}).then(rsp => {
|
||||
this.panelList = rsp.data
|
||||
|
Loading…
Reference in New Issue
Block a user