Commit a8e6e76e authored by wuchun's avatar wuchun

提交代码

parent 476e0265
......@@ -1269,7 +1269,8 @@
},
//获取数据
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 => {
if (res.data.resultCode === 1) {
this.dataList = res.data.data;
} else {
......@@ -1323,7 +1324,8 @@
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);
} else {
......
......@@ -1047,7 +1047,8 @@
methods: {
//获取数据
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 => {
if (res.data.resultCode === 1) {
this.CtObj = res.data.data;
this.guestList = res.data.data.guestList;
......@@ -1188,7 +1189,8 @@
SaveMsg(){
this.CtObj.status = 1;
this.CtObj.contractStatus=2;
this.apiJavaPost("/api/contract/dosaveOrUpdate",this.CtObj,res => {
//this.apiJavaPost("/api/contract/dosaveOrUpdate",this.CtObj,res => {
this.apipost("travelcontract_post_UpdateStatusContractService", this.CtObj, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.getList();
......@@ -1216,7 +1218,8 @@
type: 'warning'
}).then(() => {
this.CtObj.status=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 => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.getList();
......@@ -1245,7 +1248,8 @@
},
sendAudit(){
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 => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
} else {
......
......@@ -212,7 +212,8 @@ export default {
},
//提交数据
SaveMsg(){
this.apiJavaPost("/api/contract/dosaveOrUpdate",this.SignInfo,res => {
// this.apiJavaPost("/api/contract/dosaveOrUpdate",this.SignInfo,res => {
this.apipost("travelcontract_post_UpdateCompanySignatureService", this.SignInfo, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.$router.push({ name: "clientConfirm",query: {TCID: this.msg.TCID,orderID: this.msg.orderID,str:1}})
......
......@@ -1112,7 +1112,8 @@
},
//获取数据
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 => {
if (res.data.resultCode === 1) {
this.dataList = res.data.data;
} else {
......@@ -1185,7 +1186,8 @@
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);
} else {
......
......@@ -1502,7 +1502,8 @@
document.documentElement.scrollTop = anchor.offsetTop - 70
},
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 => {
if (res.data.resultCode === 1) {
var tempObj = res.data.data;
this.CtObj = tempObj;
......@@ -1697,8 +1698,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 => {
if (res.data.resultCode === 1) {
// this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => {
this.apipost("travelcontract_post_SetContractService", this.CtObj, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.dialogVisible = false;
this.getList();
......@@ -1728,7 +1730,8 @@
}).then(() => {
this.CtObj.status = 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 => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.getList();
......@@ -1756,10 +1759,12 @@
});
},
sendAudit() {
this.CtObj.auditContract = 1;
this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, res => {
//this.CtObj.auditContract = 1;
//this.apiJavaPost("/api/contract/dosaveOrUpdate", this.CtObj, 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();
} else {
this.Error(res.data.message);
}
......@@ -1841,7 +1846,8 @@
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;
} else {
......
......@@ -458,7 +458,8 @@
//审核通过或者驳回
AuditElec(item, type) {
item.AuditContract = type;
this.apiJavaPost("/api/contract/dosaveOrUpdate", item, res => {
// this.apiJavaPost("/api/contract/dosaveOrUpdate", item, res => {
this.apipost("travelcontract_get_UpdateAuditContractService", item, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.getList();
......
......@@ -2123,7 +2123,8 @@
},
//获取数据
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 => {
if (res.data.resultCode === 1) {
this.dataList = res.data.data;
this.dataList.travelContent = this.dataList.travelContent.replaceAll(/contenteditable="true"/ig, '')
......@@ -2218,7 +2219,8 @@
},
//提交数据
SaveMsg() {
this.apiJavaPost("/api/contract/dosaveOrUpdate", this.dataList, res => {
// this.apiJavaPost("/api/contract/dosaveOrUpdate", this.dataList, res => {
this.apipost("travelcontract_post_UpdateCompanySignatureService", this.dataList, res => {
if (res.data.resultCode === 1) {
this.Success(res.data.message);
this.dialogVisible = false;
......
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