Commit f330724f authored by youjie's avatar youjie
parents 444eb43c 5a7129ea
...@@ -1919,7 +1919,9 @@ ...@@ -1919,7 +1919,9 @@
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.$route.query.TCID) {
this.queryMsg.TCID = this.$route.query.TCID;
}
if (userInfo.IsParentCompany == undefined) { if (userInfo.IsParentCompany == undefined) {
this.queryCommonData.IsParentCompany = 2; this.queryCommonData.IsParentCompany = 2;
} else { } else {
......
...@@ -315,24 +315,34 @@ ...@@ -315,24 +315,34 @@
this.Error(res.data.message); this.Error(res.data.message);
} }
this.loading = false this.loading = false
} });
);
}, },
goTravel(item) { //跳转到团队列表 goTravel(item) { //跳转到团队列表
var newPath = "TravelControlList"; var newPath = "TravelControlList";
var query = {
TCID: item.TCID,
blank: 'y',
tab: '团控列表'
};
if (item.TeamType == 1) { if (item.TeamType == 1) {
newPath = "TravelControlListSale" newPath = "TravelControlListSale";
query = {
TCID: item.TCID,
blank: 'y',
tab: '团控列表'
};
} }
if (item.TeamType == 2) { if (item.TeamType == 2) {
newPath = "oneDayTrip" newPath = "oneDayTrip";
} query = {
this.$router.push({ id: item.TCID,
path: newPath,
query: {
TCID: item.TCID,
blank: 'y', blank: 'y',
tab: '团控列表' tab: '团控列表'
};
} }
this.$router.push({
path: newPath,
query: query
}); });
} }
} }
......
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