Commit 3ff4a2f3 authored by 黄奎's avatar 黄奎

页面修改

parent d7832d10
...@@ -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 {
......
...@@ -297,44 +297,54 @@ ...@@ -297,44 +297,54 @@
} }
this.loading = true this.loading = true
this.apipost("travel_post_AuditPriceOutBranchTeamType", { this.apipost("travel_post_AuditPriceOutBranchTeamType", {
TCID: TCID, TCID: TCID,
BranchAuditState: type, BranchAuditState: type,
BranchAuditRemark: this.cancelRemark BranchAuditRemark: this.cancelRemark
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
if (!name) { if (!name) {
this.cancelOrderDialog = false
this.Success(res.data.message);
this.getList()
} else {
if (length) {
this.cancelOrderDialog = false this.cancelOrderDialog = false
this.Success(res.data.message); this.Success(res.data.message);
this.getList() this.getList()
} else {
if (length) {
this.cancelOrderDialog = false
this.Success(res.data.message);
this.getList()
}
} }
} else {
this.Error(res.data.message);
} }
this.loading = false } else {
this.Error(res.data.message);
} }
); 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 = {
id: item.TCID,
blank: 'y',
tab: '团控列表'
};
} }
this.$router.push({ this.$router.push({
path: newPath, path: newPath,
query: { query: query
TCID: item.TCID,
blank: 'y',
tab: '团控列表'
}
}); });
} }
} }
......
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