|
|
@ -5,6 +5,9 @@
|
|
|
|
</v-label-div>
|
|
|
|
</v-label-div>
|
|
|
|
<div class="d2">
|
|
|
|
<div class="d2">
|
|
|
|
<v-tab-group :value="tValue" :style="{ background: 'transparent' }" :btns="btnTimes" @change="handlerTime"></v-tab-group>
|
|
|
|
<v-tab-group :value="tValue" :style="{ background: 'transparent' }" :btns="btnTimes" @change="handlerTime"></v-tab-group>
|
|
|
|
|
|
|
|
<a-select placeholder="请选择城市" v-if="activeIndex == 1" style="width: 160px;margin-left:20px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</a-select>
|
|
|
|
<a-month-picker style="width: 160px;margin-left:20px" v-model="selTime[0]" :disabled-date="disabledDate" valueFormat="YYYY-MM" placeholder="请选择开始日期"></a-month-picker>
|
|
|
|
<a-month-picker style="width: 160px;margin-left:20px" v-model="selTime[0]" :disabled-date="disabledDate" valueFormat="YYYY-MM" placeholder="请选择开始日期"></a-month-picker>
|
|
|
|
<a-month-picker style="width: 160px;margin-left:40px" v-model="selTime[1]" :disabled-date="disabledDate" valueFormat="YYYY-MM" placeholder="请选择结束日期"></a-month-picker>
|
|
|
|
<a-month-picker style="width: 160px;margin-left:40px" v-model="selTime[1]" :disabled-date="disabledDate" valueFormat="YYYY-MM" placeholder="请选择结束日期"></a-month-picker>
|
|
|
|
<a-button @click="onSearch" style="margin-left: 40px" type="primary">查询</a-button>
|
|
|
|
<a-button @click="onSearch" style="margin-left: 40px" type="primary">查询</a-button>
|
|
|
@ -44,6 +47,7 @@
|
|
|
|
import {getSalesType1,getSalesType0} from "@/api/SaleRankCity";
|
|
|
|
import {getSalesType1,getSalesType0} from "@/api/SaleRankCity";
|
|
|
|
import {getSalesType6,getSalesType7} from "@/api/SaleRankCity";
|
|
|
|
import {getSalesType6,getSalesType7} from "@/api/SaleRankCity";
|
|
|
|
import {getExcleTime} from "@/api/SaleRankCity";
|
|
|
|
import {getExcleTime} from "@/api/SaleRankCity";
|
|
|
|
|
|
|
|
import {getSalesCity} from "@/api/SaleRankCity";
|
|
|
|
import moment from "moment";
|
|
|
|
import moment from "moment";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'CitySale',
|
|
|
|
name: 'CitySale',
|
|
|
@ -153,6 +157,10 @@ export default {
|
|
|
|
this.tableLoad = false;
|
|
|
|
this.tableLoad = false;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
getSalesCity(o).then(res => {
|
|
|
|
|
|
|
|
let data = res.data;
|
|
|
|
|
|
|
|
console.log(data)
|
|
|
|
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//切换类型
|
|
|
|
//切换类型
|
|
|
|
handlerTime(activeIndex) {
|
|
|
|
handlerTime(activeIndex) {
|
|
|
|