forked from github/dataease
fix(视图): 日期格式受数据源控制
This commit is contained in:
parent
92044889c2
commit
f64ebd65ab
@ -351,9 +351,9 @@ export default {
|
|||||||
dimensionList.push({ id: nameIdMap[key], value: rowData[key] })
|
dimensionList.push({ id: nameIdMap[key], value: rowData[key] })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.antVActionPost(dimensionList, nameIdMap[meta.valueField] || 'null')
|
this.antVActionPost(dimensionList, nameIdMap[meta.valueField] || 'null', param)
|
||||||
},
|
},
|
||||||
antVActionPost(dimensionList, name) {
|
antVActionPost(dimensionList, name, param) {
|
||||||
this.pointParam = {
|
this.pointParam = {
|
||||||
data: {
|
data: {
|
||||||
dimensionList: dimensionList,
|
dimensionList: dimensionList,
|
||||||
@ -385,7 +385,7 @@ export default {
|
|||||||
dimensionList.push({ id: nameIdMap[key], value: rowData[key] })
|
dimensionList.push({ id: nameIdMap[key], value: rowData[key] })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.antVActionPost(dimensionList, nameIdMap[meta.field] || 'null')
|
this.antVActionPost(dimensionList, nameIdMap[meta.field] || 'null', param)
|
||||||
},
|
},
|
||||||
setBackGroundBorder() {
|
setBackGroundBorder() {
|
||||||
if (this.chart.customStyle) {
|
if (this.chart.customStyle) {
|
||||||
|
@ -222,6 +222,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
bus.$on('reset-change-table', this.getItemTagType)
|
bus.$on('reset-change-table', this.getItemTagType)
|
||||||
|
this.getDateExtStatus()
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
bus.$off('reset-change-table', this.getItemTagType)
|
bus.$off('reset-change-table', this.getItemTagType)
|
||||||
|
@ -241,6 +241,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
bus.$on('reset-change-table', this.getItemTagType)
|
bus.$on('reset-change-table', this.getItemTagType)
|
||||||
this.init()
|
this.init()
|
||||||
|
this.getDateExtStatus()
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
bus.$off('reset-change-table', this.getItemTagType)
|
bus.$off('reset-change-table', this.getItemTagType)
|
||||||
|
Loading…
Reference in New Issue
Block a user