Commit a8e6e76e authored by wuchun's avatar wuchun

提交代码

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