Commit f6fb253d authored by lvshibao's avatar lvshibao

seat接口修改

parent 9e1d6ec6
...@@ -64,6 +64,23 @@ new Vue({ ...@@ -64,6 +64,23 @@ new Vue({
this.getRule(this.cityvalue, this.countryvalue, this.start_date, this.end_date, this.seatvalue); // 获取统计数据 this.getRule(this.cityvalue, this.countryvalue, this.start_date, this.end_date, this.seatvalue); // 获取统计数据
console.log(msg); console.log(msg);
}, },
getCountry() {
let that = this;
RquestsGet('api/v1/agency/country/?city_id=' + this.cityvalue).then(data => {
//console.log(data);
if (data.code != 0) {
that.$message('服务器错误')
} else {
that.countryList = data.data.country_list;
if (that.countryList.length > 0) {
that.country_show = true;
} else {
that.country_show = false;
};
}
})
},
getCity(){ getCity(){
let that = this; let that = this;
var request = new XMLHttpRequest(); var request = new XMLHttpRequest();
......
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