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,
......@@ -490,7 +490,7 @@
err => {}
);
},
addMoth(d, m) {
addMoth(d, m) {
let ds = d.split('-'),
_d = ds[2] - 0;
let nextM = new Date(ds[0], ds[1] - 1 + m + 1, 0);
......@@ -504,14 +504,14 @@
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(
"dict_post_Destination_GetChildList",
msg,
......@@ -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>
\ No newline at end of file
</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