1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <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>
|