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

页面修改

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