Commit ea3c554d authored by 黄奎's avatar 黄奎

线路权限修改

parent 8f312e2b
......@@ -398,7 +398,7 @@
export default {
data() {
return {
DefaultSelectValue:0,
DefaultSelectValue: 0,
//酒店列表
HotelList: [],
msg: {
......@@ -411,8 +411,8 @@
currentPage: 1,
//只查询日本
Country: "651",
Province:0,
City:0,
Province: 0,
City: 0,
},
DataList: [],
loading: true,
......@@ -504,12 +504,12 @@
Id: ID
};
if (type == 1) {
this.msg.Province=0;
this.msg.City=0;
this.msg.Province = 0;
this.msg.City = 0;
this.provinceList = [];
this.cityList = [];
} else if (type == 2) {
this.msg.City=0;
this.msg.City = 0;
this.cityList = [];
}
this.apipost(
......@@ -530,8 +530,9 @@
mounted() {
this.msg.HotelId = this.$route.query.HotelId === undefined ? 0 : this.$route.query.HotelId;
this.GetHotelList();
this.getProvinceList(651,1);
this.getProvinceList(651, 1);
this.getList();
},
}
</script>
......@@ -224,7 +224,7 @@
},
//获取线路列表
getLineList() {
this.apipost("line_post_GetList", {}, res => {
this.apipost("line_post_GetList", {"LineDirection":1}, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data;
}
......
......@@ -214,7 +214,7 @@
},
//获取线路列表
getLineList() {
this.apipost("line_post_GetAllList", {}, res => {
this.apipost("line_post_GetLineListExt", {}, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data;
}
......
......@@ -779,7 +779,7 @@
},
//获取线路列表
getLineList() {
this.apipost("line_post_GetAllList", {}, res => {
this.apipost("line_post_GetLineListExt", {}, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data;
}
......
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