forked from github/dataease
Merge pull request #4220 from dataease/pr@dev@fix_chat
fix(视图): 日期格式受数据源控制
This commit is contained in:
commit
541a1c70c2
@ -67,8 +67,8 @@
|
||||
>
|
||||
{{ $t('chart.total') }}
|
||||
<span>{{
|
||||
(chart.datasetMode === 0 && !not_support_page_dataset.includes(chart.datasourceType)) ? chart.totalItems : ((chart.data && chart.data.tableRow) ? chart.data.tableRow.length : 0)
|
||||
}}</span>
|
||||
(chart.datasetMode === 0 && !not_support_page_dataset.includes(chart.datasourceType)) ? chart.totalItems : ((chart.data && chart.data.tableRow) ? chart.data.tableRow.length : 0)
|
||||
}}</span>
|
||||
{{ $t('chart.items') }}
|
||||
</span>
|
||||
<de-pagination
|
||||
@ -351,9 +351,9 @@ export default {
|
||||
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 = {
|
||||
data: {
|
||||
dimensionList: dimensionList,
|
||||
@ -385,7 +385,7 @@ export default {
|
||||
dimensionList.push({ id: nameIdMap[key], value: rowData[key] })
|
||||
}
|
||||
}
|
||||
this.antVActionPost(dimensionList, nameIdMap[meta.field] || 'null')
|
||||
this.antVActionPost(dimensionList, nameIdMap[meta.field] || 'null', param)
|
||||
},
|
||||
setBackGroundBorder() {
|
||||
if (this.chart.customStyle) {
|
||||
|
@ -222,6 +222,7 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
bus.$on('reset-change-table', this.getItemTagType)
|
||||
this.getDateExtStatus()
|
||||
},
|
||||
beforeDestroy() {
|
||||
bus.$off('reset-change-table', this.getItemTagType)
|
||||
|
@ -241,6 +241,7 @@ export default {
|
||||
mounted() {
|
||||
bus.$on('reset-change-table', this.getItemTagType)
|
||||
this.init()
|
||||
this.getDateExtStatus()
|
||||
},
|
||||
beforeDestroy() {
|
||||
bus.$off('reset-change-table', this.getItemTagType)
|
||||
|
Loading…
Reference in New Issue
Block a user