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
    客户 · 29488ba8
    王志慧 committed Jun 28, 2022
    29488ba8 Browse Files
clientMixin.js 486 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
import { customer } from '@/api'
export default {
  data() {
    return {
      now: new Date().format('yyyy-MM-dd hh:mm:ss')
    }
  },
  created() {
      console.log('测试')
    this.getClientData()
  },
  methods: {
    getClientData() {
      let params = {
        'req.corporateGroupName': '广汇',
        'req.queryItem': 'age',
        'req.queryTime': this.now
      }
      customer.overalldistribution(params).then(res => {
        console.log(res)
      })
    }
  }
}