Commit f89caf46 authored by 黄奎's avatar 黄奎

页面修改

parent 7c697708
...@@ -80,15 +80,7 @@ ...@@ -80,15 +80,7 @@
<q-select filled v-model="msg.StuPurpose" dense @input="resetSearch" clearable :options="goalsList" <q-select filled v-model="msg.StuPurpose" dense @input="resetSearch" clearable :options="goalsList"
option-label="Name" option-value="Id" emit-value map-options label="学习目的" /> option-label="Name" option-value="Id" emit-value map-options label="学习目的" />
</div> </div>
<div class="col-3">
<q-select @input="resetBelong" dense filled option-value="Id" option-label="Name" v-model="msg.BelongType"
:options="BelongTypeList" emit-value map-options label="归属类型" />
</div>
<div class="col-3" v-if="msg.BelongType == 4">
<q-select @input="resetSearch" dense clearable @filter="filterSubord" use-input filled option-value="Id"
option-label="EmployeeName" v-model="msg.CreateIds" multiple :options="SubordList" emit-value map-options
label="我下属的" />
</div>
<div class="col-3"> <div class="col-3">
<q-field filled dense> <q-field filled dense>
<template v-slot:control> <template v-slot:control>
...@@ -116,16 +108,16 @@ ...@@ -116,16 +108,16 @@
<q-select @input="resetSearch" dense filled option-value="Id" option-label="Name" <q-select @input="resetSearch" dense filled option-value="Id" option-label="Name"
v-model="msg.StuGuestState" clearable :options="hetongList" emit-value map-options label="合同状态" /> v-model="msg.StuGuestState" clearable :options="hetongList" emit-value map-options label="合同状态" />
</div> </div>
<div class="col-3">
<q-select @input="msg.StuSourceId='',msg.StuChannel='',resetSearch()" dense clearable filled
option-value="Id" option-label="Name" v-model="msg.CreateType" :options="customFromList" emit-value
map-options label="客户来源" />
</div>
<div class="col-3"> <div class="col-3">
<q-select filled v-model="msg.CreateBy" dense use-input @filter="filterStudent" label="市场" <q-select filled v-model="msg.CreateBy" dense use-input @filter="filterStudent" label="市场"
:options="MarketList" option-label="EmployeeName" @input="resetSearch" clearable option-value="Id" :options="MarketList" option-label="EmployeeName" @input="resetSearch" clearable option-value="Id"
emit-value map-options /> emit-value map-options />
</div> </div>
<div class="col-3">
<q-select @input="msg.StuSourceId='',msg.StuChannel='',resetSearch()" dense clearable filled
option-value="Id" option-label="Name" v-model="msg.CreateType" :options="customFromList" emit-value
map-options label="客户来源" />
</div>
<div class="col-3" v-if="msg.CreateType==1"> <div class="col-3" v-if="msg.CreateType==1">
<q-select filled v-model="msg.StuChannel" @input="resetSearch" label="收客渠道" dense :options="StuChannelList" <q-select filled v-model="msg.StuChannel" @input="resetSearch" label="收客渠道" dense :options="StuChannelList"
option-label="Name" option-value="Id" emit-value map-options use-input clearable option-label="Name" option-value="Id" emit-value map-options use-input clearable
...@@ -278,7 +270,7 @@ ...@@ -278,7 +270,7 @@
EFTime: '', EFTime: '',
StuStage: '', //客户状态 StuStage: '', //客户状态
Q_FType: '1', //跟进类型 1范围内有跟进记录 2范围内没有跟进记录 Q_FType: '1', //跟进类型 1范围内有跟进记录 2范围内没有跟进记录
BelongType: 1,
CreateIds: [], CreateIds: [],
School_Id: '-1', //校区 School_Id: '-1', //校区
CourseId: '', //课程 CourseId: '', //课程
...@@ -287,28 +279,10 @@ ...@@ -287,28 +279,10 @@
StuChannel: "", //收客渠道 StuChannel: "", //收客渠道
StuSourceId: '', StuSourceId: '',
StuPurpose: '', //学习目的 StuPurpose: '', //学习目的
QueryTpye: 3, QueryTpye: 3, //市场部查询
AdvisorStatus: "", //当前状态 AdvisorStatus: "", //当前状态
CreateBy: "", //创建人员 CreateBy: "", //创建人员
}, },
//归属类型列表
BelongTypeList: [{
Id: 1,
Name: "全部"
},
{
Id: 2,
Name: "我负责的"
},
{
Id: 3,
Name: "我协同的"
},
{
Id: 4,
Name: "我下属的"
}
],
loading: false, loading: false,
dataList: null, //列表数据 dataList: null, //列表数据
PageCount: 0, PageCount: 0,
...@@ -363,13 +337,6 @@ ...@@ -363,13 +337,6 @@
} }
}, },
created() { created() {
let userinfo = this.getLocalStorage();
userinfo.ActionMenuList.map(x => { //判断权限
if (x.FunctionCode == "studentTracking_look") { //判断是否有保存的权限
this.msg.IsQueryMyStu = 0
return
}
})
this.getStuStageList(); this.getStuStageList();
this.getCustomTypeList(); this.getCustomTypeList();
this.GetSubordList(); this.GetSubordList();
...@@ -686,12 +653,6 @@ ...@@ -686,12 +653,6 @@
this.customState = res.Data; this.customState = res.Data;
}); });
}, },
resetBelong() {
if (this.msg.BelongType != 4) {
this.msg.pageIndex = 1;
this.getList();
}
},
//课程的筛选 //课程的筛选
filterFnkec(val, update) { filterFnkec(val, update) {
update(() => { update(() => {
......
...@@ -30,15 +30,6 @@ ...@@ -30,15 +30,6 @@
<q-select filled v-model="msg.StuPurpose" dense @input="resetSearch" clearable :options="goalsList" <q-select filled v-model="msg.StuPurpose" dense @input="resetSearch" clearable :options="goalsList"
option-label="Name" option-value="Id" emit-value map-options label="学习目的" /> option-label="Name" option-value="Id" emit-value map-options label="学习目的" />
</div> </div>
<div class="col-3">
<q-select @input="resetBelong" dense filled option-value="Id" option-label="Name" v-model="msg.BelongType"
:options="BelongTypeList" emit-value map-options label="归属类型" />
</div>
<div class="col-3" v-if="msg.BelongType == 4">
<q-select @input="resetSearch" dense clearable @filter="filterSubord" use-input filled option-value="Id"
option-label="EmployeeName" v-model="msg.CreateIds" multiple :options="SubordList" emit-value map-options
label="我下属的" />
</div>
<div class="col-3"> <div class="col-3">
<q-field filled dense> <q-field filled dense>
<template v-slot:control> <template v-slot:control>
...@@ -234,28 +225,10 @@ ...@@ -234,28 +225,10 @@
StuChannel: "", //收客渠道 StuChannel: "", //收客渠道
StuSourceId: '', StuSourceId: '',
StuPurpose: '', //学习目的, StuPurpose: '', //学习目的,
QueryTpye: 1, QueryTpye: 1,//课程顾问部查询
AdvisorStatus: "", //当前状态 AdvisorStatus: "", //当前状态
}, },
//归属类型列表
BelongTypeList: [{
Id: 1,
Name: "全部"
},
{
Id: 2,
Name: "我负责的"
},
{
Id: 3,
Name: "我协同的"
},
{
Id: 4,
Name: "我下属的"
}
],
loading: false, loading: false,
dataList: null, //列表数据 dataList: null, //列表数据
PageCount: 0, PageCount: 0,
...@@ -309,13 +282,6 @@ ...@@ -309,13 +282,6 @@
} }
}, },
created() { created() {
let userinfo = this.getLocalStorage();
userinfo.ActionMenuList.map(x => { //判断权限
if (x.FunctionCode == "studentTracking_look") { //判断是否有保存的权限
this.msg.IsQueryMyStu = 0
return
}
});
this.getStuStageList(); this.getStuStageList();
this.getCustomTypeList(); this.getCustomTypeList();
this.GetSubordList(); this.GetSubordList();
...@@ -619,12 +585,7 @@ ...@@ -619,12 +585,7 @@
this.customState = res.Data; this.customState = res.Data;
}); });
}, },
resetBelong() {
if (this.msg.BelongType != 4) {
this.msg.pageIndex = 1;
this.getList();
}
},
//课程的筛选 //课程的筛选
filterFnkec(val, update) { filterFnkec(val, update) {
update(() => { update(() => {
......
...@@ -80,15 +80,6 @@ ...@@ -80,15 +80,6 @@
<q-select filled v-model="msg.StuPurpose" dense @input="resetSearch" clearable :options="goalsList" <q-select filled v-model="msg.StuPurpose" dense @input="resetSearch" clearable :options="goalsList"
option-label="Name" option-value="Id" emit-value map-options label="学习目的" /> option-label="Name" option-value="Id" emit-value map-options label="学习目的" />
</div> </div>
<div class="col-3">
<q-select @input="resetBelong" dense filled option-value="Id" option-label="Name" v-model="msg.BelongType"
:options="BelongTypeList" emit-value map-options label="归属类型" />
</div>
<div class="col-3" v-if="msg.BelongType == 4">
<q-select @input="resetSearch" dense clearable @filter="filterSubord" use-input filled option-value="Id"
option-label="EmployeeName" v-model="msg.CreateIds" multiple :options="SubordList" emit-value map-options
label="我下属的" />
</div>
<div class="col-3"> <div class="col-3">
<q-field filled dense> <q-field filled dense>
<template v-slot:control> <template v-slot:control>
...@@ -276,12 +267,10 @@ ...@@ -276,12 +267,10 @@
WeChatNo: '', WeChatNo: '',
StuType: '', //学生类型 StuType: '', //学生类型
StuGuestState: '', //合同状态 StuGuestState: '', //合同状态
IsQueryMyStu: '1', //是否查询我的学员 1是 0否
SFTime: '', SFTime: '',
EFTime: '', EFTime: '',
StuStage: '', //客户状态 StuStage: '', //客户状态
Q_FType: '1', //跟进类型 1范围内有跟进记录 2范围内没有跟进记录 Q_FType: '1', //跟进类型 1范围内有跟进记录 2范围内没有跟进记录
BelongType: 1,
CreateIds: [], CreateIds: [],
School_Id: '-1', //校区 School_Id: '-1', //校区
CourseId: '', //课程 CourseId: '', //课程
...@@ -291,28 +280,9 @@ ...@@ -291,28 +280,9 @@
StuSourceId: '', StuSourceId: '',
StuPurpose: '', //学习目的 StuPurpose: '', //学习目的
HeadTeacherId: '', //老师 HeadTeacherId: '', //老师
QueryTpye: 2, QueryTpye: 2,//老师查询
AdvisorStatus: "", //当前状态 AdvisorStatus: "", //当前状态
}, },
//归属类型列表
BelongTypeList: [{
Id: 1,
Name: "全部"
},
{
Id: 2,
Name: "我负责的"
},
{
Id: 3,
Name: "我协同的"
},
{
Id: 4,
Name: "我下属的"
}
],
loading: false, loading: false,
dataList: null, //列表数据 dataList: null, //列表数据
PageCount: 0, PageCount: 0,
...@@ -370,14 +340,6 @@ ...@@ -370,14 +340,6 @@
} }
}, },
created() { created() {
let userinfo = this.getLocalStorage();
userinfo.ActionMenuList.map(x => { //判断权限
if (x.FunctionCode == "studentTracking_look") { //判断是否有保存的权限
this.msg.IsQueryMyStu = 0
return
}
});
if (this.$route.query) { if (this.$route.query) {
if (this.$route.query.HeadTeacherId) { if (this.$route.query.HeadTeacherId) {
this.msg.HeadTeacherId = parseInt(this.$route.query.HeadTeacherId) this.msg.HeadTeacherId = parseInt(this.$route.query.HeadTeacherId)
...@@ -704,12 +666,6 @@ ...@@ -704,12 +666,6 @@
this.customState = res.Data; this.customState = res.Data;
}); });
}, },
resetBelong() {
if (this.msg.BelongType != 4) {
this.msg.pageIndex = 1;
this.getList();
}
},
filterFnkec(val, update) { //课程的栓选 filterFnkec(val, update) { //课程的栓选
update(() => { update(() => {
if (val === '') { if (val === '') {
......
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