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

页面修改

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