import Vue from 'vue'
import echarts from 'echarts'
import MagLoadParams from '../../stores/MagLoadParams'
import MagGetSaleParam from '../../stores/MagGetSaleParams'

/** **************************收费组件注册******************************/

export default function () {
  Vue.prototype.$echarts = echarts
  Vue.use(MagLoadParams)
  Vue.use(MagGetSaleParam)
  // 物联网表结算查询
  Vue.component('report-data-query', (resolve) => { require(['./ReportDataQuery'], resolve) })
  // 综合档案信息查询
  Vue.component('record-info-query', (resolve) => {
    require(['./RecordInfoQuery'], resolve)
  })
  // 表具查询
  Vue.component('meter-query', (resolve) => {
    require(['./MeterQuery'], resolve)
  })
}

