NGToolsAdmin/pages/uni-stat/pay-order/components/test.vue

65 lines
883 B
Vue
Raw Normal View History

2024-09-13 08:39:31 +00:00
<template>
<view>
</view>
</template>
<script>
import {
mapfields,
stringifyQuery,
stringifyField,
stringifyGroupField,
getTimeOfSomeDayAgo,
division,
format,
formatDate,
parseDateTime,
getFieldTotal,
debounce
} from '@/js_sdk/uni-stat/util.js'
import {
fieldsMap,
} from '../fieldsMap.js'
export default {
props: {
query: {
type: [Object],
default: function(){
return {}
}
},
},
data() {
return {
tableName: 'uni-stat-pay-result',
}
},
created() {
debounce(()=>{
this.getChartData(this.query)
})();
},
methods: {
getChartData(query) {
},
},
watch: {
query: {
deep: true,
handler(val) {
this.options.pageCurrent = 1 // 重置分页
debounce(()=>{
this.getChartData(this.query)
})();
}
}
},
}
</script>
<style lang="scss" scoped>
</style>