Commit 1fc67647 authored by lvshibao's avatar lvshibao

rule页面修改

parent 6492e264
......@@ -95,7 +95,7 @@
:value="item.id">
</el-option>
</el-select>
<el-select v-model="countryvalue" v-if="country_chow == true" filterable placeholder="请选择县" @change="changeCountry">
<el-select v-model="countryvalue" v-if="country_show == true" filterable placeholder="请选择县" @change="changeCountry">
<el-option
label="全部县"
value="">
......
......@@ -100,9 +100,9 @@ new Vue({
} else {
that.countryList = data.data.country_list;
if (that.countryList.length > 0) {
that.country_chow = true;
that.country_show = true;
} else {
that.country_chow = false;
that.country_show = false;
};
}
})
......@@ -124,9 +124,9 @@ new Vue({
that.cityList = data.data.city_list;
that.countryList = data.data.country_list;
if (that.countryList.length > 0) {
that.country_chow = true;
that.country_show = true;
} else {
that.country_chow = false;
that.country_show = false;
};
that.cityvalue = data.data.city_id;
console.log(that.cityvalue);
......
......@@ -8,7 +8,7 @@ new Vue({
countryList:[],
cityvalue: null,
countryvalue: null,
country_chow: false,
country_show: false,
start_date: '',
isscrollTop: false,
currentPage:1,
......@@ -76,9 +76,9 @@ new Vue({
} else {
that.countryList = data.data.country_list;
if (that.countryList.length > 0) {
that.country_chow = true;
that.country_show = true;
} else {
that.country_chow = false;
that.country_show = false;
};
}
})
......@@ -100,9 +100,9 @@ new Vue({
that.cityList = data.data.city_list;
that.countryList = data.data.country_list;
if (that.countryList.length > 0) {
that.country_chow = true;
that.country_show = true;
} else {
that.country_chow = false;
that.country_show = false;
};
that.cityvalue = data.data.city_id;
console.log(that.cityvalue);
......
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