Commit 9acab200 authored by 黄奎's avatar 黄奎

页面修改

parent 4875a18c
......@@ -49,6 +49,7 @@
<q-tab :name="2" label="内部渠道" />
<q-tab :name="3" label="学校渠道" />
<q-tab :name="4" label="转介渠道" />
<q-tab :name="5" label="签约渠道" />
</q-tabs>
<el-table :data="dataList" ref="table" style="width: 100%;" :height="tableHeight" v-loading="loading">
<el-table-column label="序号" type="index">
......@@ -113,6 +114,7 @@
endTime: "",
empList: [],
top_Check: 1,
},
dateList: [],
dataList: [],
......@@ -178,6 +180,7 @@
StuSourceId: 0,
startTime: this.msg.startTime,
endTime: this.msg.endTime,
IsContract: 0
}
var CreateType = 2;
//同行渠道
......@@ -186,6 +189,7 @@
param.StuSourceId = 0;
param.CategoryId = row.ChannelId;
param.CreateType = 0;
param.IsContract = 0;
}
//内部渠道
if (this.msg.top_Check == 2) {
......@@ -193,6 +197,7 @@
param.StuSourceId = row.ChannelId;
param.CategoryId = 0;
param.CreateType = CreateType;
param.IsContract = 0;
}
//学校渠道
if (this.msg.top_Check == 3) {
......@@ -200,6 +205,7 @@
param.StuSourceId = 0;
param.CategoryId = row.ChannelId;
param.CreateType = 0;
param.IsContract = 0;
}
//转介绍渠道
if (this.msg.top_Check == 4) {
......@@ -207,6 +213,15 @@
param.StuSourceId = row.ChannelId;
param.CategoryId = 0;
param.CreateType = CreateType;
param.IsContract = 0;
}
//签约渠道
if (this.msg.top_Check == 5) {
CreateType = 2;
param.StuSourceId = 0;
param.CategoryId = row.ChannelId;
param.CreateType = 0;
param.IsContract = 1;
}
this.OpenNewUrl(url, param)
},
......@@ -223,6 +238,9 @@
if (this.msg.top_Check == 4) {
fileName = "转交渠道.xls";
}
if (this.msg.top_Check == 5) {
fileName = "签约渠道.xls";
}
this.loading = true;
EduDownLoad(
"/UserCenter/DownLoadMarketCreateType",
......@@ -246,6 +264,9 @@
case 4:
this.dataList = this.allData.transDataList;
break;
case 5:
this.dataList = this.allData.contractDataList;
break;
}
},
//获取数据
......@@ -257,6 +278,7 @@
this.msg.startTime = "";
this.msg.endTime = "";
}
this.loading = true;
MarketCreateType(this.msg).then(res => {
this.loading = 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