Commit 18049289 authored by qiaoyajun's avatar qiaoyajun

线路筛选

parent e4644875
...@@ -963,7 +963,7 @@ ...@@ -963,7 +963,7 @@
}, },
//获取线路列表 //获取线路列表
getLineList () { getLineList () {
this.apipost('line_post_GetList', {}, res => { this.apipost('line_post_GetList', {"LineDirection":2}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data this.queryCommonData.LineList = res.data.data
this.queryCommonData.PlaceList = [] this.queryCommonData.PlaceList = []
...@@ -1041,7 +1041,7 @@ ...@@ -1041,7 +1041,7 @@
//新获取列表数据 //新获取列表数据
getControlList () { getControlList () {
var msg = JSON.parse(JSON.stringify(this.queryMsg)) var msg = JSON.parse(JSON.stringify(this.queryMsg))
if (msg.TeamMinNum == '') { if (msg.TeamMinNum == '') {
msg.TeamMinNum = -1 msg.TeamMinNum = -1
...@@ -1649,12 +1649,12 @@ ...@@ -1649,12 +1649,12 @@
this.queryMsg.IsShowUnion = 1 this.queryMsg.IsShowUnion = 1
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo this.CurrentUserInfo = userInfo
this.$route.query.tcmun = this.$route.query.tcmun this.$route.query.tcmun = this.$route.query.tcmun
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun this.queryMsg.TCNUM = this.$route.query.tcmun
} }
if (this.CurrentUserInfo.IsParentCompany == undefined) { if (this.CurrentUserInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2 this.queryCommonData.IsParentCompany = 2
} else { } else {
......
...@@ -816,7 +816,7 @@ ...@@ -816,7 +816,7 @@
}, },
//获取线路列表 //获取线路列表
getLineList () { getLineList () {
this.apipost('line_post_GetList', {}, res => { this.apipost('line_post_GetList', {"LineDirection":3}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data this.queryCommonData.LineList = res.data.data
this.queryCommonData.PlaceList = [] this.queryCommonData.PlaceList = []
...@@ -1503,12 +1503,12 @@ ...@@ -1503,12 +1503,12 @@
this.queryMsg.IsShowUnion = 1 this.queryMsg.IsShowUnion = 1
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo this.CurrentUserInfo = userInfo
this.$route.query.tcmun = this.$route.query.tcmun this.$route.query.tcmun = this.$route.query.tcmun
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun this.queryMsg.TCNUM = this.$route.query.tcmun
} }
if (this.CurrentUserInfo.IsParentCompany == undefined) { if (this.CurrentUserInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2 this.queryCommonData.IsParentCompany = 2
} else { } else {
......
...@@ -398,7 +398,7 @@ ...@@ -398,7 +398,7 @@
err => {} err => {}
); );
}, },
//初始化团的幻灯片 //初始化团的幻灯片
initFileList() { initFileList() {
for (var i = 0; i < 5; i++) { for (var i = 0; i < 5; i++) {
...@@ -720,7 +720,8 @@ ...@@ -720,7 +720,8 @@
this.loading = true; this.loading = true;
this.apipost( this.apipost(
"travel_get_GetCommonTravelInfo", { "travel_get_GetCommonTravelInfo", {
isSale: this.TeamType==1?true:false isSale: this.TeamType==1?true:false,
lineDirection:this.TeamType==2?3:2
}, },
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
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