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

页面修改

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