Commit 5013d319 authored by 吴春's avatar 吴春

老人/孕妇免责承诺函

parent 114d71a1
...@@ -131,6 +131,7 @@ ...@@ -131,6 +131,7 @@
document.URL.indexOf("SupplierLogin") == -1 && document.URL.indexOf("SupplierLogin") == -1 &&
document.URL.indexOf("clientConfirm") == -1 && document.URL.indexOf("clientConfirm") == -1 &&
document.URL.indexOf("clientProtocol") == -1 && document.URL.indexOf("clientProtocol") == -1 &&
document.URL.indexOf("clientDisclaimerProtocol") == -1 &&
document.URL.indexOf("TravelContractConfirm") == -1 && document.URL.indexOf("TravelContractConfirm") == -1 &&
document.URL.indexOf("ViittoContractConfirm") == -1 document.URL.indexOf("ViittoContractConfirm") == -1
) { ) {
...@@ -141,6 +142,7 @@ ...@@ -141,6 +142,7 @@
if ( if (
document.URL.indexOf("clientConfirm") != -1 || document.URL.indexOf("clientConfirm") != -1 ||
document.URL.indexOf("clientProtocol") != -1 || document.URL.indexOf("clientProtocol") != -1 ||
document.URL.indexOf("clientDisclaimerProtocol") != -1 ||
document.URL.indexOf("TravelContractConfirm") != -1 || document.URL.indexOf("TravelContractConfirm") != -1 ||
document.URL.indexOf("ViittoContractConfirm") != -1 document.URL.indexOf("ViittoContractConfirm") != -1
) { ) {
......
...@@ -2144,6 +2144,7 @@ ...@@ -2144,6 +2144,7 @@
<span style="color:#f56c6c">{{childItem.ticketOutTypeStr}} </span> <span style="color:#f56c6c">{{childItem.ticketOutTypeStr}} </span>
<span v-if="childItem.isApplyPhoto == 1" style="color: red">({{ $t("salesModule.Zhao") }})</span> <span v-if="childItem.isApplyPhoto == 1" style="color: red">({{ $t("salesModule.Zhao") }})</span>
<span style="cursor:pointer;" @click="goProtocol(item,childItem)">{{childItem.protocolId>0?"查看保密协议":"签订保密协议"}}</span> <span style="cursor:pointer;" @click="goProtocol(item,childItem)">{{childItem.protocolId>0?"查看保密协议":"签订保密协议"}}</span>
<span style="cursor:pointer;" @click="goDisclaimer(item,childItem)">{{childItem.disclaimerId>0?"查看参团免责承诺函":"签订参团免责承诺函"}}</span>
&nbsp;&nbsp; &nbsp;&nbsp;
</span> </span>
<span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum <span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
...@@ -2979,6 +2980,33 @@ ...@@ -2979,6 +2980,33 @@
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}, },
//跳转到老人/孕妇免责协议
goDisclaimer(item, sItem) {
let ProtocolId = 0;
let guestId = 0;
var path = "disclaimerProtocol";
if (sItem) {
if (sItem.disclaimerId) {
ProtocolId = sItem.disclaimerId;
}
if (sItem.guestId) {
guestId = sItem.guestId;
}
}
var pMsg = {
TCID: item.tcid,
GuestId: guestId,
OrderId: item.orderId,
ProtocolId: ProtocolId,
blank: "y",
}
let routeData = this.$router.resolve({
name: path,
query: pMsg,
});
window.open(routeData.href, "_blank");
},
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let cid = 0; let cid = 0;
......
...@@ -2342,6 +2342,7 @@ ...@@ -2342,6 +2342,7 @@
<span style="color:#f56c6c">{{childItem.ticketOutTypeStr}} </span> <span style="color:#f56c6c">{{childItem.ticketOutTypeStr}} </span>
<span style="cursor:pointer;" <span style="cursor:pointer;"
@click="goProtocol(item,childItem)">{{childItem.protocolId>0?"查看保密协议":"签订保密协议"}}</span> @click="goProtocol(item,childItem)">{{childItem.protocolId>0?"查看保密协议":"签订保密协议"}}</span>
<span style="cursor:pointer;" @click="goDisclaimer(item,childItem)">{{childItem.disclaimerId>0?"查看参团免责承诺函":"签订参团免责承诺函"}}</span>
<span v-if="childItem.isApplyPhoto == 1" style="color: red">(照)</span>&nbsp;&nbsp;</span> <span v-if="childItem.isApplyPhoto == 1" style="color: red">(照)</span>&nbsp;&nbsp;</span>
<span v-if="item.photoNum > 0">(照片一人 {{ item.photoNum }}份)</span> <span v-if="item.photoNum > 0">(照片一人 {{ item.photoNum }}份)</span>
</span> </span>
...@@ -3678,6 +3679,33 @@ ...@@ -3678,6 +3679,33 @@
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}, },
//跳转到老人/孕妇免责协议
goDisclaimer(item, sItem) {
let ProtocolId = 0;
let guestId = 0;
var path = "disclaimerProtocol";
if (sItem) {
if (sItem.disclaimerId) {
ProtocolId = sItem.disclaimerId;
}
if (sItem.guestId) {
guestId = sItem.guestId;
}
}
var pMsg = {
TCID: item.tcid,
GuestId: guestId,
OrderId: item.orderId,
ProtocolId: ProtocolId,
blank: "y",
}
let routeData = this.$router.resolve({
name: path,
query: pMsg,
});
window.open(routeData.href, "_blank");
},
//关闭弹窗 //关闭弹窗
closeDialog() { closeDialog() {
this.isShowLayerRemarks = false; this.isShowLayerRemarks = false;
......
...@@ -294,6 +294,29 @@ ...@@ -294,6 +294,29 @@
} }
}, null); }, null);
} }
//老人/孕妇免责协议
else if (this.msg.TypeStr == 'clientDisclaimerProtocol') {
var clientDisclaimerProtocolMsg = {
ProtocolId: this.msg.ProtocolId,
GuestSignature: this.SignInfo
}
this.apipost("travelcontract_post_UpdateDisclaimerGuestSignature", clientDisclaimerProtocolMsg, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.$router.push({
name: 'clientDisclaimerProtocol',
query: {
TCID: this.msg.TCID,
OrderId: this.msg.orderID,
GuestId: this.msg.guestId,
ProtocolId:this.msg.ProtocolId,
}
})
} else {
this.Error(res.data.message);
}
}, null);
}
}, },
} }
} }
......
This diff is collapsed.
This diff is collapsed.
...@@ -4,6 +4,7 @@ import index from '../components/index' ...@@ -4,6 +4,7 @@ import index from '../components/index'
import clientConfirm from '../components/clientConfirm' import clientConfirm from '../components/clientConfirm'
import clientConfirmRB from '../components/clientConfirmRB' import clientConfirmRB from '../components/clientConfirmRB'
import clientProtocol from '../components/clientProtocol' import clientProtocol from '../components/clientProtocol'
import clientDisclaimerProtocol from '../components/clientDisclaimerProtocol'
import SignName from '../components/SignName' import SignName from '../components/SignName'
import supplierLogin from '../components/SupplierLogin' import supplierLogin from '../components/SupplierLogin'
import supplierIndex from '../components/SupplierIndex' import supplierIndex from '../components/SupplierIndex'
...@@ -5882,6 +5883,11 @@ export default { ...@@ -5882,6 +5883,11 @@ export default {
name: 'clientProtocol', name: 'clientProtocol',
component: clientProtocol, component: clientProtocol,
}, },
{
path: '/clientDisclaimerProtocol', //老人/孕妇免责协议签订
name: 'clientDisclaimerProtocol',
component: clientDisclaimerProtocol,
},
{ {
path: '/SignName', path: '/SignName',
name: 'SignName', name: 'SignName',
...@@ -5918,6 +5924,13 @@ export default { ...@@ -5918,6 +5924,13 @@ export default {
meta: { meta: {
title: '价格保密协议' title: '价格保密协议'
} }
},{
path: '/disclaimerProtocol', //老年人/孕妇参团免责
name: 'disclaimerProtocol',
component: resolve => require(['@/components/disclaimerProtocol'], resolve),
meta: {
title: '老年人/孕妇参团免责'
}
}, },
{ {
path: '/SingleContract', //单项合同 path: '/SingleContract', //单项合同
......
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