prod
parent
fb89433b7d
commit
b7ef67189d
@ -0,0 +1,38 @@
|
|||||||
|
import httpService from "@/request"
|
||||||
|
|
||||||
|
// 全车型竞争关系图谱
|
||||||
|
export function getSalesCompetitionALLList(params) {
|
||||||
|
let obj = Object.assign({action: 'getSalesCompetitionALLList', sType: 'Marketing'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 竞争分析
|
||||||
|
export function getSalesCompetitionList(params) {
|
||||||
|
let obj = Object.assign({action: 'getSalesCompetitionList', sType: 'Marketing'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 竞争分析单个车型添加
|
||||||
|
export function getSalesCompetitionAnalysis(params) {
|
||||||
|
let obj = Object.assign({action: 'getSalesCompetitionAnalysis', sType: 'Marketing'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
@ -0,0 +1,74 @@
|
|||||||
|
import httpService from "@/request"
|
||||||
|
|
||||||
|
// 下拉-国别
|
||||||
|
export function getCountryS(params) {
|
||||||
|
let obj = Object.assign({action: 'getCountryS'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 下拉-能源类型
|
||||||
|
export function getEnergyS(params) {
|
||||||
|
let obj = Object.assign({action: 'getEnergyS'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 下拉-价格区间
|
||||||
|
export function getPriceRangeS(params) {
|
||||||
|
let obj = Object.assign({action: 'getPriceRangeS'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 下拉-级别
|
||||||
|
export function getSpecName1(params) {
|
||||||
|
let obj = Object.assign({action: 'getSpecName1'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 下拉-排量
|
||||||
|
export function getDisplacementS(params) {
|
||||||
|
let obj = Object.assign({action: 'getDisplacementS'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 下拉-座位数
|
||||||
|
export function getSeatS(params) {
|
||||||
|
let obj = Object.assign({action: 'getSeatS'}, params)
|
||||||
|
return httpService({
|
||||||
|
url: `/api/v6.ashx`,
|
||||||
|
method: 'post',
|
||||||
|
data: obj,
|
||||||
|
headers: {
|
||||||
|
'content-type': 'application/x-www-form-urlencoded'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
@ -0,0 +1,69 @@
|
|||||||
|
import * as echarts from "echarts";
|
||||||
|
import { bigNumberTransform } from "@/utils/gol/dataTool"
|
||||||
|
export default function createOpt(data = [],extraData = []) {
|
||||||
|
return {
|
||||||
|
grid: {
|
||||||
|
left: '6%',
|
||||||
|
// top: '10%'
|
||||||
|
},
|
||||||
|
xAxis: {
|
||||||
|
splitLine: false,
|
||||||
|
scale: true,
|
||||||
|
axisLabel: {
|
||||||
|
color: '#FFF'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
yAxis: {
|
||||||
|
splitLine: false,
|
||||||
|
scale: true,
|
||||||
|
axisLabel: {
|
||||||
|
formatter: function(value) {
|
||||||
|
return value / 10000 + '万元'
|
||||||
|
},
|
||||||
|
color: '#FFF'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
series: [
|
||||||
|
{
|
||||||
|
name: 'total',
|
||||||
|
data: data,
|
||||||
|
type: 'scatter',
|
||||||
|
symbolSize: function (data) {
|
||||||
|
return data[2] / 600;
|
||||||
|
},
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
formatter: function (param) {
|
||||||
|
return param.data[3];
|
||||||
|
},
|
||||||
|
color: '#FFF',
|
||||||
|
fontSize: 12,
|
||||||
|
fontWeight: 550,
|
||||||
|
position: 'inside'
|
||||||
|
},
|
||||||
|
itemStyle: {
|
||||||
|
color: '#3373CC',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'extra',
|
||||||
|
data: extraData,
|
||||||
|
type: 'scatter',
|
||||||
|
symbolSize: function (data) {
|
||||||
|
return data[2] / 200;
|
||||||
|
},
|
||||||
|
label: {
|
||||||
|
show: true,
|
||||||
|
formatter: function (param) {
|
||||||
|
return param.data[3];
|
||||||
|
},
|
||||||
|
color: '##FFF',
|
||||||
|
position: 'inside'
|
||||||
|
},
|
||||||
|
itemStyle: {
|
||||||
|
color: '#CC9D12',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>中国乘用车市场销量分析</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'MarketSaleChina',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>中国乘用车市场销量分析-全车型竞争关系图谱</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mscEnergyType',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>中国乘用车市场销量分析-能源类型</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mscEnergyType',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>中国乘用车市场销量分析-总销量</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mscTotal',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>新能源车市场销量分析</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'MarketSaleNE',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>新能源车市场销量分析-国别占比</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mneCountryPercent',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>新能源车市场销量分析-能源类型</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mneEnergyType',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>新能源车市场销量分析-主销价格区间</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mneMainPrice',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>新能源车市场销量分析-细分车型</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mnePrecisionType',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>传统燃油车市场销量分析</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'MarketSaleTraditional',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>传统燃油车市场销量分析-国别占比</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mstCountryPercent',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>传统燃油车市场销量分析-主销价格占比</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mstMPPercent',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>传统燃油车市场销量分析-主销价格区间</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mstMainPrice',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>传统燃油车市场销量分析-细分车型</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mstPrecisionType',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div>传统燃油车市场销量分析-车型类别</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'mstSeriesType',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
|
||||||
|
</style>
|
Loading…
Reference in new issue