Commit 1acdbbed authored by liudong1993's avatar liudong1993
parents 3afc347d 242abf24
...@@ -598,26 +598,29 @@ ...@@ -598,26 +598,29 @@
if (status == 3) { if (status == 3) {
message = this.$t('fnc.bohui'); message = this.$t('fnc.bohui');
} }
this.Confirm(that.$t('objFill.shifou') + "【" + message + "】" + this.$t('objFill.v101.administrative.chihet') + this.$confirm(that.$t('objFill.shifou') + "【" + message + "】" + this.$t('objFill.v101.administrative.chihet') +
"?", "?", {
function () { confirmButtonText: this.$t('pub.sureBtn'),
that.apipost( cancelButtonText: this.$t('pub.cancelBtn'),
"travelcontract_post_UpdateTravelContractStatusService", { type: "warning"
ID: item.ID, })
Status: status, .then(() => {
AuditContractReason: this.auditMsg.AuditContractReason, this.apipost('travelcontract_post_UpdateTravelContractStatusService', {
}, ID: item.ID,
res => { Status: status,
if (res.data.resultCode == 1) { AuditContractReason: this.auditMsg.AuditContractReason,
}, res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message); that.Success(res.data.message);
that.getOtherList(); that.getOtherList();
} else { that.closeContractDialog()
that.Error(res.data.message); } else {
} that.Error(res.data.message);
},
err => {} }
); })
}); })
.catch(() => {});
}, },
//单项、一日游、境内旅游合同 //单项、一日游、境内旅游合同
getOtherList() { getOtherList() {
......
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