Commit 665fccf1 by 前端

Merge branch 'xuyl_dev_v1.0.0' into 'v1.0.0'

更新地图代码

See merge request !1
2 parents 14b0c506 7775d926
// 当月进行中门店--区域(省份_地图)分布(参数:新车洽谈/新车交付/0~12个月/12个月以上)
const getMerchantInProgressThisMonth = params => {
return window.$HTTP.get('saasValueaddedTransformation/getMerchantInProgressThisMonth', params)
}
export default {
getMerchantInProgressThisMonth,
}
......@@ -17,11 +17,11 @@ class Request {
},
method
}
params.req.corporateGroupName = '广汇'
const { reportParams } = window.vm.$store.state.app
if (reportParams) {
if (reportParams.brand) params.req.brandName = reportParams.brand.name
}
// params.req.corporateGroupName = '广汇'
// const { reportParams } = window.vm.$store.state.app
// if (reportParams) {
// if (reportParams.brand) params.req.brandName = reportParams.brand.name
// }
if (method === 'GET') {
var paramsArray = []
Object.keys(params.req).forEach(key => paramsArray.push('req.' + key + '=' + params.req[key]))
......
......@@ -20,6 +20,9 @@ import { fetchConfig, cfg } from '@/config'
import '@/assets/css/index.scss'
import './utils/util'
import 'components'
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.prototype.to = function (name, params) {
if (name === -1) {
router.go(-1)
......
......@@ -21,7 +21,7 @@ export default {
},
methods: {
getClientData() {
let clientApi = !this.isBrand ? 'overalldistribution' : 'merchantOveralldistribution'
let clientApi = !this.isBrand ? '' : 'merchantOveralldistribution'
const params = {
req: {
queryItem: this.type,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!