Commit cc8b061d authored by lvshibao's avatar lvshibao

group页面修改

parent d72a8084
......@@ -95,7 +95,11 @@
:value="item.id">
</el-option>
</el-select>
<el-select v-model="countryvalue" filterable placeholder="请选择县" @change="changeCountry">
<el-select v-model="countryvalue" v-if="country_chow == true" filterable placeholder="请选择县" @change="changeCountry">
<el-option
label="全部县"
value="">
</el-option>
<el-option
v-for="item in countryList"
:key="item.id"
......
......@@ -23,6 +23,7 @@ new Vue({
popcurrentPage: 1,
isHidePage: true,
scrollTop: 0,
country_chow: false,
BASEURL: window_url,
end_date:'',
sortObj:{
......@@ -69,7 +70,7 @@ new Vue({
this.sortObj = {
name: item.prop,
sort: order
}
};
this.getRule(this.cityvalue,this.countryvalue,this.start_date,this.end_date,this.takevalue); // 获取统计数据
},
changeRange(dateRange){
......@@ -117,6 +118,9 @@ new Vue({
} else {
that.cityList = data.data.city_list;
that.countryList = data.data.country_list;
if (that.countryList.length > 0) {
that.country_chow = true
}
that.cityvalue = data.data.city_id;
console.log(that.cityvalue);
that.init_simple = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment