Commit e1336427 authored by 黄奎's avatar 黄奎

领队导游设置调整

parent 6bf1b663
......@@ -738,7 +738,8 @@
this.Success(this.$t("ground.shezhichenggong"));
this.isShow = false;
} else {
that.Confirm(that.$t('ground.sheizhichongtu'), function () {
var tipMessage = res.data.message;
that.Confirm(tipMessage, function () {
that.addMsg.IsSure = 1;
that.apipost(
"LeaderSchedule_post_Set",
......@@ -749,6 +750,7 @@
that.getNoTaskLeader();
that.Success(that.$t("ground.shezhichenggong"));
that.isShow = false;
that.addMsg.IsSure = 0;
}
},
err => {}
......
......@@ -4317,6 +4317,7 @@
TipMessage: "",
CTTCNUM: "",
CTTCID: 0,
IsSure: 0,
},
// 订单转团
transferData: {
......@@ -6353,24 +6354,55 @@
setTheLeader() {
if (this.isSubmit) {
this.isSubmit = false;
var that = this;
this.apipost(
"LeaderSchedule_post_SetPriceLeader",
this.setMsg,
(res) => {
this.isSubmit = true;
that.isSubmit = true;
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
this.getConfig();
this.showSetLeader = false;
this.leaderListArr = [];
this.ScheduleArray = [];
this.setMsg.TipMessage = "";
that.Success(res.data.message);
that.getList();
that.getConfig();
that.showSetLeader = false;
that.leaderListArr = [];
that.ScheduleArray = [];
that.setMsg.TipMessage = "";
that.setMsg.IsSure = 0;
} else if (res.data.resultCode == 2) {
var tipMsg = res.data.message
that.Confirm(tipMsg, function () {
that.setMsg.IsSure = 1;
that.apipost(
"LeaderSchedule_post_SetPriceLeader",
that.setMsg,
res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.getList();
that.getConfig();
that.showSetLeader = false;
that.leaderListArr = [];
that.ScheduleArray = [];
that.setMsg.TipMessage = "";
that.setMsg.IsSure = 0;
} else {
that.Error(res.data.message);
that.setMsg.TipMessage = res.data.message;
that.setMsg.CTTCNUM = res.data.data.TCNUM;
that.setMsg.CTTCID = res.data.data.TCID;
that.setMsg.IsSure = 0;
}
},
null
);
});
} else {
this.Error(res.data.message);
this.setMsg.TipMessage = res.data.message;
this.setMsg.CTTCNUM = res.data.data.TCNUM;
this.setMsg.CTTCID = res.data.data.TCID;
that.setMsg.IsSure = 0;
}
},
(err) => {}
......
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