Commit ab70cdae authored by 黄奎's avatar 黄奎

页面修改

parent b6fd8146
...@@ -2936,22 +2936,29 @@ ...@@ -2936,22 +2936,29 @@
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let cid = 0; let cid = 0;
if (sItem && sItem.id) { let guestId = 0;
cid = sItem.id; if (sItem) {
if (sItem.id) {
cid = sItem.id;
}
if (sItem.guestId) {
guestId = sItem.guestId;
}
} }
var path = "TravelContractNew"; var path = "TravelContractNew";
if (item.lineId == 14) { if (item.lineId == 14) {
path = "TravelContractNewRB"; path = "TravelContractNewRB";
} }
var pMsg = {
TCID: item.tcid,
guestId: guestId,
orderID: item.orderId,
Id: cid,
blank: "y",
}
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: path, name: path,
query: { query: pMsg,
TCID: item.tcid,
guestId: sItem.guestId,
orderID: item.orderId,
Id: cid,
blank: "y",
},
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}, },
......
...@@ -2377,7 +2377,7 @@ ...@@ -2377,7 +2377,7 @@
</span> </span>
<!--&&item==userId--> <!--&&item==userId-->
<div v-if="item.contractNum && item.contractNum.length==0 &&item.isOwn==1" class="GO_Contract" <div v-if="item.contractNum && item.contractNum.length==0 &&item.isOwn==1" class="GO_Contract"
@click="goContract(item)"> @click="goContract(item,{})">
领取合同 领取合同
</div> </div>
<div> <div>
...@@ -5581,6 +5581,12 @@ ...@@ -5581,6 +5581,12 @@
}, },
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let guestId = 0;
if (sItem) {
if (sItem.guestId) {
guestId = sItem.guestId;
}
}
var path = "TravelContractNew"; var path = "TravelContractNew";
if (item.lineId == 14) { if (item.lineId == 14) {
path = "TravelContractNewRB"; path = "TravelContractNewRB";
...@@ -5589,7 +5595,7 @@ ...@@ -5589,7 +5595,7 @@
name: path, name: path,
query: { query: {
TCID: item.tcid, TCID: item.tcid,
guestId: sItem.guestId, guestId: guestId,
orderID: item.orderId, orderID: item.orderId,
blank: "y", blank: "y",
}, },
......
...@@ -1134,7 +1134,6 @@ ...@@ -1134,7 +1134,6 @@
}, },
//提交数据 //提交数据
SaveMsg() { SaveMsg() {
this.apipost("travelcontract_post_UpdateCompanySignatureService", this.dataList, res => { this.apipost("travelcontract_post_UpdateCompanySignatureService", this.dataList, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
......
...@@ -3919,7 +3919,6 @@ ...@@ -3919,7 +3919,6 @@
this.$store.dispatch("logout") this.$store.dispatch("logout")
localStorage.removeItem("userInfo"); localStorage.removeItem("userInfo");
localStorage.removeItem("previousPathInfo"); localStorage.removeItem("previousPathInfo");
// this.$router.push({ path: "/login" });
location.href = '/' location.href = '/'
}, },
togglebox(e) { togglebox(e) {
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
let crmUrl = ""; //crm API let crmUrl = ""; //crm API
let locationName = window.location.hostname; let locationName = window.location.hostname;
domainUrl = "http://192.168.10.25:8083"; // 刘东电脑 domainUrl = "http://192.168.10.25:8083"; // 刘东电脑
domainUrl = "http://192.168.10.226:8015"; domainUrl = "http://192.168.10.25:8083";
// domainUrl = "http://reborn.oytour.com"; // domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
...@@ -276,7 +276,13 @@ export default { ...@@ -276,7 +276,13 @@ export default {
this.$router.push({ this.$router.push({
path: '/signature' path: '/signature'
}) })
} else if (this.$route.path == "/clientConfirm") { }
if (this.$route.path.toLowerCase() == "/signname") {
this.$router.push({
path: '/signname'
})
}
else if (this.$route.path == "/clientConfirm") {
let TCID = this.$route.query.TCID; let TCID = this.$route.query.TCID;
let orderID = this.$route.query.orderID; let orderID = this.$route.query.orderID;
let guestId = this.$route.query.guestId; let guestId = this.$route.query.guestId;
......
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