张雄 3 years ago
parent 08a9a425e4
commit a53ce96429

@ -49,7 +49,7 @@ export default {
data.forEach(ele => { data.forEach(ele => {
let key = ele.key; let key = ele.key;
let value = ele.value; let value = ele.value;
dx.push(key); dx.push(key);
ds.push(value); ds.push(value);
}); });
this.opt = createOpt(dx, ds); this.opt = createOpt(dx, ds);

@ -116,7 +116,7 @@ export default {
} }
hotTopArr.push(obj); hotTopArr.push(obj);
dataI = dataI + 1; dataI = dataI + 1;
}) })
this.urlArr = urlArr; this.urlArr = urlArr;
// //
for(let i = 0; i<hotTopArr.length; i++) { for(let i = 0; i<hotTopArr.length; i++) {

@ -8,6 +8,7 @@
* @FilePath: /data-show/src/views/Index/salesRank/opt.js * @FilePath: /data-show/src/views/Index/salesRank/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool"; import { bigNumberTransform } from "@/utils/gol/dataTool";
export default function createOpt(dx, ds) { export default function createOpt(dx, ds) {
return { return {
@ -39,9 +40,13 @@ export default function createOpt(dx, ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
// axisLabel :{ axisLabel :{
// interval:0, interval:0,
// }, formatter: (value) => {
let res = doStr(value, 4);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/Index/spreadTheSound/opt.js * @FilePath: /data-show/src/views/Index/spreadTheSound/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
let colors = ['rgba(84,111,197,1)', 'rgba(145,203,116,1)', 'rgba(90,203,156,1)', 'rgba(248,200,87,1)', 'rgba(237,101,101,1)', "rgba(114,191,222,1)", 'rgba(58,162,114,1)', 'rgba(251,131,81,1)'] let colors = ['rgba(84,111,197,1)', 'rgba(145,203,116,1)', 'rgba(90,203,156,1)', 'rgba(248,200,87,1)', 'rgba(237,101,101,1)', "rgba(114,191,222,1)", 'rgba(58,162,114,1)', 'rgba(251,131,81,1)']
//['#546fc5', '#91cb74', '#f9c857', '#ed6565', '#72bfde', '#3aa272', '#fb8351'] //['#546fc5', '#91cb74', '#f9c857', '#ed6565', '#72bfde', '#3aa272', '#fb8351']
@ -90,6 +91,13 @@ export default function createOpt(dx = [], ds = []) {
}, },
xAxis: { xAxis: {
type: 'category', type: 'category',
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 4);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -219,7 +219,7 @@ export default {
} }
} }
.modal-table { .modal-table {
width: 1200px; width: 1400px;
height: 460px; height: 460px;
.tb-inner { .tb-inner {
width: 100%; width: 100%;

@ -7,6 +7,7 @@
* @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js * @FilePath: /data-show/src/views/BrandInsight/brandTop/opt.js
*/ */
import * as echarts from "echarts"; import * as echarts from "echarts";
import {doStr} from "@/utils/gol/dataTool"
import { bigNumberTransform } from "@/utils/gol/dataTool" import { bigNumberTransform } from "@/utils/gol/dataTool"
export default function createOpt(dx,ds) { export default function createOpt(dx,ds) {
return { return {
@ -38,6 +39,13 @@ export default function createOpt(dx,ds) {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
axisLabel :{
interval:0,
formatter: (value) => {
let res = doStr(value, 7);
return res
}
},
axisTick: { axisTick: {
show: false, show: false,
}, },

@ -13,12 +13,12 @@
<a-button @click="onSearch" style="margin-left: 40px" type="primary">查询</a-button> <a-button @click="onSearch" style="margin-left: 40px" type="primary">查询</a-button>
</div> </div>
<div class="d3"> <div class="d3">
<v-table v-if="activeIndex == 0" ref="rtable" :columns="columns" :loading="tableLoad" :pagination="pagination" :data="tbData"> <v-table v-if="activeIndex == 0" ref="rtable" :columns="columns" :loading="tableLoad" :pagination="pagination" @change="handlerPagnation" :data="tbData">
<template slot="about" slot-scope="text, record"> <template slot="about" slot-scope="text, record">
<a-button @click="onSalePro(record)"></a-button> <a-button @click="onSalePro(record)"></a-button>
</template> </template>
</v-table> </v-table>
<v-table v-if="activeIndex == 1" ref="rtable" :columns="columns2" :loading="tableLoad" :pagination="pagination" :data="tbData2"> <v-table v-if="activeIndex == 1" ref="rtable" :columns="columns2" :loading="tableLoad" :pagination="pagination2" @change="handlerPagnation2" :data="tbData2">
<template slot="about" slot-scope="text, record"> <template slot="about" slot-scope="text, record">
<a-button @click="onSaleCity(record)"></a-button> <a-button @click="onSaleCity(record)"></a-button>
</template> </template>
@ -83,7 +83,14 @@ export default {
tbData: [], tbData: [],
tbData2: [], tbData2: [],
pagination: { pagination: {
pageSize: 20 total: 0,
current: 1,
pageSize: 20,
},
pagination2: {
total: 0,
current: 1,
pageSize: 20,
}, },
//1 //1
visible: false, visible: false,
@ -148,11 +155,13 @@ export default {
} }
getSalesType1(obj).then(res => { getSalesType1(obj).then(res => {
let data = res.data; let data = res.data;
this.pagination.total = res.totalNum
this.tbData = data this.tbData = data
this.tableLoad = false; this.tableLoad = false;
}); });
getSalesType0(obj).then(res => { getSalesType0(obj).then(res => {
let data = res.data; let data = res.data;
this.pagination2.total = res.totalNum
this.tbData2 = data; this.tbData2 = data;
this.tableLoad = false; this.tableLoad = false;
}) })
@ -180,11 +189,13 @@ export default {
this.form.sEndTime = this.selTime[1]; this.form.sEndTime = this.selTime[1];
getSalesType1(this.form).then(res => { getSalesType1(this.form).then(res => {
let data = res.data; let data = res.data;
this.pagination.total = res.totalNum
this.tbData = data this.tbData = data
this.tableLoad = false; this.tableLoad = false;
}); });
getSalesType0(this.form).then(res => { getSalesType0(this.form).then(res => {
let data = res.data; let data = res.data;
this.pagination2.total = res.totalNum
this.tbData2 = data; this.tbData2 = data;
this.tableLoad = false; this.tableLoad = false;
}) })
@ -205,6 +216,7 @@ export default {
this.dataProCity = data this.dataProCity = data
}) })
getSalesType6(obj).then(res => { getSalesType6(obj).then(res => {
console.log(res)
let data = res.data; let data = res.data;
this.dataProBrand = data this.dataProBrand = data
}) })
@ -234,6 +246,31 @@ export default {
}) })
this.visible2 = true; this.visible2 = true;
}, },
//
handlerPagnation(page) {
this.tableLoading = true;
let cur = page.current;
this.pagination.current = cur;
this.form.iPageIndex = cur;
getSalesType1(this.form).then(res => {
let data = res.data;
this.pagination.total = res.totalNum
this.tbData = data;
this.tableLoading = false
})
},
handlerPagnation2(page) {
this.tableLoading = true;
let cur = page.current;
this.pagination.current = cur;
this.form.iPageIndex = cur;
getSalesType0(this.form).then(res => {
let data = res.data;
this.pagination2.total = res.totalNum
this.tbData = data;
this.tableLoading = false
})
},
// //
handlerProMode(activeIndex) { handlerProMode(activeIndex) {
this.pValue = activeIndex this.pValue = activeIndex

@ -45,7 +45,7 @@ export default {
let data = res.data; let data = res.data;
this.seriesList = data; this.seriesList = data;
this.chosenSeries = undefined; this.chosenSeries = undefined;
this.isLoding = false this.isLoding = false;
}) })
}, },
//选择车型 //选择车型

Loading…
Cancel
Save