Commit 1fc67647 authored by lvshibao's avatar lvshibao

rule页面修改

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