Commit 4ee7f48c authored by 黄奎's avatar 黄奎

页面修改

parent 2495deac
...@@ -1209,7 +1209,6 @@ ...@@ -1209,7 +1209,6 @@
// 生成二维码 // 生成二维码
GetQrCode: function () { GetQrCode: function () {
let urlObj = this.domainManager(); let urlObj = this.domainManager();
let msg = { let msg = {
TCID: this.$route.query.TCID, TCID: this.$route.query.TCID,
orderID: this.$route.query.orderID, orderID: this.$route.query.orderID,
......
...@@ -395,7 +395,7 @@ ...@@ -395,7 +395,7 @@
<input type="button" class="TCbtn-info" v-if="dataList.status==1" @click="getinvalid()" value="作废" /> <input type="button" class="TCbtn-info" v-if="dataList.status==1" @click="getinvalid()" value="作废" />
<input type="button" class="TCbtn-info" v-if="dataList.companySignature==''" <input type="button" class="TCbtn-info" v-if="dataList.companySignature==''"
@click="isShowFade=true,GetQrCode()" value="客户签字" /> @click="isShowFade=true,GetQrCode()" value="客户签字" />
<input type="button" class="TCbtn-info" v-if="dataList.companySignature!=''" value="下载" <input type="button" class="TCbtn-info" value="下载"
@click="toContractPDF(dataList.contractNum)" /> @click="toContractPDF(dataList.contractNum)" />
</span> </span>
</h2> </h2>
...@@ -1047,15 +1047,15 @@ ...@@ -1047,15 +1047,15 @@
// 生成二维码 // 生成二维码
GetQrCode: function () { GetQrCode: function () {
let urlObj = this.domainManager(); let urlObj = this.domainManager();
var guestId=0; var guestId = 0;
if(this.$route.query.guestId) if (this.$route.query.guestId) {
{ guestId = this.$route.query.guestId;
guestId=this.$route.query.guestId;
} }
let msg = { let msg = {
TCID: this.$route.query.TCID, TCID: this.$route.query.TCID,
orderID: this.$route.query.orderID, orderID: this.$route.query.orderID,
guestId: guestId, guestId: guestId,
Id:this.$route.query.ID,
pUrl: "clientConfirm", pUrl: "clientConfirm",
}; };
this.$http({ this.$http({
...@@ -1113,7 +1113,7 @@ ...@@ -1113,7 +1113,7 @@
//获取数据 //获取数据
getList() { getList() {
//this.apiJavaPost("/api/contract/getContractInfo", this.msg, res => { //this.apiJavaPost("/api/contract/getContractInfo", this.msg, res => {
this.apipost("travelcontract_post_GetContractInfoService", this.msg, res => { this.apipost("travelcontract_post_GetContractInfoService", this.msg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
} else { } else {
...@@ -1186,7 +1186,7 @@ ...@@ -1186,7 +1186,7 @@
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.dataList.status = 0; this.dataList.status = 0;
// this.apiJavaPost("/api/contract/dosaveOrUpdate", this.dataList, res => { // this.apiJavaPost("/api/contract/dosaveOrUpdate", this.dataList, res => {
this.apipost("travelcontract_post_UpdateStatusContractService", this.dataList, res => { this.apipost("travelcontract_post_UpdateStatusContractService", this.dataList, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
......
...@@ -890,7 +890,7 @@ ...@@ -890,7 +890,7 @@
<tr> <tr>
<td colspan="5" contenteditable="true"> <td colspan="5" contenteditable="true">
结束时间:{{getDate(CtObj.returnDate)}}&nbsp;&nbsp;&nbsp;&nbsp; 结束时间:{{getDate(CtObj.returnDate)}}&nbsp;&nbsp;&nbsp;&nbsp;
返回地点:{{CtObj.backAirport}} 返回地点:{{CtObj.backAirport}}
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -1477,6 +1477,7 @@ ...@@ -1477,6 +1477,7 @@
TCID: this.$route.query.TCID, TCID: this.$route.query.TCID,
orderID: this.$route.query.orderID, orderID: this.$route.query.orderID,
guestId: this.$route.query.guestId, guestId: this.$route.query.guestId,
Id: this.$route.query.ID,
pUrl: "clientConfirm", pUrl: "clientConfirm",
}; };
this.$http({ this.$http({
...@@ -1502,8 +1503,8 @@ ...@@ -1502,8 +1503,8 @@
document.documentElement.scrollTop = anchor.offsetTop - 70 document.documentElement.scrollTop = anchor.offsetTop - 70
}, },
getList() { getList() {
// this.apiJavaPost("/api/contract/getContractInfo", this.msg, res => { // this.apiJavaPost("/api/contract/getContractInfo", this.msg, res => {
this.apipost("travelcontract_post_GetContractInfoService", this.msg, res => { this.apipost("travelcontract_post_GetContractInfoService", this.msg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
var tempObj = res.data.data; var tempObj = res.data.data;
this.CtObj = tempObj; this.CtObj = tempObj;
...@@ -1698,9 +1699,9 @@ ...@@ -1698,9 +1699,9 @@
} }
this.CtObj.travelContent = this.$refs.TcTravel_Table.innerHTML; this.CtObj.travelContent = this.$refs.TcTravel_Table.innerHTML;
this.CtObj.rbGroupId = this.CurrentUserInfo.RB_Group_id this.CtObj.rbGroupId = this.CurrentUserInfo.RB_Group_id
// this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => { // this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => {
this.apipost("travelcontract_post_SetContractService", this.CtObj, res => { this.apipost("travelcontract_post_SetContractService", this.CtObj, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.dialogVisible = false; this.dialogVisible = false;
this.getList(); this.getList();
...@@ -1731,7 +1732,7 @@ ...@@ -1731,7 +1732,7 @@
this.CtObj.status = 0; this.CtObj.status = 0;
this.CtObj.auditContract = 0; this.CtObj.auditContract = 0;
//this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => { //this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => {
this.apipost("travelcontract_post_UpdateStatusContractService", this.CtObj, res => { this.apipost("travelcontract_post_UpdateStatusContractService", this.CtObj, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.getList(); this.getList();
...@@ -1761,7 +1762,10 @@ ...@@ -1761,7 +1762,10 @@
sendAudit() { sendAudit() {
//this.CtObj.auditContract = 1; //this.CtObj.auditContract = 1;
//this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => { //this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => {
this.apipost("travelcontract_get_UpdateAuditContractService", {"AuditContract":1,"Id":this.CtObj.Id}, res => { this.apipost("travelcontract_get_UpdateAuditContractService", {
"AuditContract": 1,
"Id": this.CtObj.Id
}, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.getList(); this.getList();
...@@ -1846,7 +1850,7 @@ ...@@ -1846,7 +1850,7 @@
let msg = { let msg = {
orderId: this.msg.orderID orderId: this.msg.orderID
} }
// this.apiJavaPost("/api/contract/getContractGuestByOrderId", msg, res => { // this.apiJavaPost("/api/contract/getContractGuestByOrderId", msg, res => {
this.apipost("travelcontract_post_GetContractGuestByOrderId", msg, res => { this.apipost("travelcontract_post_GetContractGuestByOrderId", msg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.backGuest = res.data.data; this.backGuest = res.data.data;
......
...@@ -2239,6 +2239,7 @@ ...@@ -2239,6 +2239,7 @@
this.msg.TCID = this.$route.query.TCID; this.msg.TCID = this.$route.query.TCID;
this.msg.orderID = this.$route.query.orderID; this.msg.orderID = this.$route.query.orderID;
this.msg.guestId = this.$route.query.guestId; this.msg.guestId = this.$route.query.guestId;
this.msg.Id=this.$route.query.Id;
var h = window.screen.height; var h = window.screen.height;
var cHeight = document.getElementsByClassName("CliSignDiv")[0]; var cHeight = document.getElementsByClassName("CliSignDiv")[0];
cHeight.style.height = 900 + 'px'; cHeight.style.height = 900 + 'px';
......
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