Commit 92d5f9de authored by 黄奎's avatar 黄奎

页面修改

parent 3e749111
......@@ -144,7 +144,8 @@
StuStage: "", //客户阶段
StartTime: "", //开始时间
EndTime: "", //结束时间
CustomerId: 0,
CustomerId: 0, //同行联系人编号
CategoryId: "", //同行编号
QQ: "",
WechatNo: "",
StuType: "",
......@@ -219,6 +220,9 @@
if (this.$route.query.ChannelId) {
this.msg.StuChannel = this.$route.query.ChannelId;
}
if (this.$route.query.CategoryId) {
this.msg.CategoryId = this.$route.query.CategoryId;
}
if (this.$route.query.createBy) {
if (this.CurrentUserInfo.IsManager == 1 && this.CurrentUserInfo.IsMarket == 1) {
this.msg.BelongType = 4;
......
......@@ -169,29 +169,43 @@
} else {
url = '/school/student';
}
var param = {
CreateType: 0,
CategoryId: 0,
StuSourceId: 0,
startTime: this.msg.startTime,
endTime: this.msg.endTime,
}
var CreateType = 2;
//同行渠道
if (this.msg.top_Check == 1) {
CreateType = 2;
param.StuSourceId = 0;
param.CategoryId = row.ChannelId;
param.CreateType = 0;
}
//内部渠道
if (this.msg.top_Check == 2) {
CreateType = 3;
param.StuSourceId = row.ChannelId;
param.CategoryId = 0;
param.CreateType = CreateType;
}
//学校渠道
if (this.msg.top_Check == 3) {
CreateType = 2;
param.StuSourceId = 0;
param.CategoryId = row.ChannelId;
param.CreateType = 0;
}
//转介绍渠道
if (this.msg.top_Check == 4) {
CreateType = 4;
param.StuSourceId = row.ChannelId;
param.CategoryId = 0;
param.CreateType = CreateType;
}
this.OpenNewUrl(url, {
CreateType: CreateType,
StuSourceId: row.ChannelId,
startTime: this.msg.startTime,
endTime: this.msg.endTime,
})
this.OpenNewUrl(url, param)
},
//下载同行渠道
downloadMarketCreateType() {
......
......@@ -138,6 +138,7 @@
CreateIds: [],
CreateType: "", //来源类型
StuSourceId: "", //来源人编号
CategoryId:"",//同行编号
},
dateArray: [], //日期数组
pageCount: 0,
......@@ -185,6 +186,9 @@
if (this.$route.query.StuSourceId) {
this.msg.StuSourceId = Number(this.$route.query.StuSourceId);
}
if (this.$route.query.CategoryId) {
this.msg.CategoryId = this.$route.query.CategoryId;
}
this.getStatusList();
this.getStudent()
},
......
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