Commit ea3c554d authored by 黄奎's avatar 黄奎

线路权限修改

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