Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

gh / data-view

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • data-view
  • src
  • mixins
  • clientMixin.js
  • 王志慧's avatar
    comit · adcf4e60
    王志慧 committed Jun 28, 2022
    adcf4e60
clientMixin.js 496 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
export default {
  data() {
    return {
      now: new Date().format('yyyy-MM-dd')
    }
  },
  created() {
    this.getClientData()
  },
  methods: {
    getClientData() {
        const params = {
            req: {
              corporateGroupName: '广汇',
              queryItem:  'age',
              queryTime:  this.now,
              queryType: 0
            }
          }
      this.api.customer.overalldistribution(params).then(res => {
        console.log(res)
      })
    }
  }
}