Commit 25426656 authored by zhengke's avatar zhengke

修改

parent 0c0ba221
...@@ -150,7 +150,8 @@ ...@@ -150,7 +150,8 @@
CreateIds: [], CreateIds: [],
ExistCourseConsultant: "", //是否存在课程顾问(1-存在,2=不存在) ExistCourseConsultant: "", //是否存在课程顾问(1-存在,2=不存在)
QStudentStatus: 1, //客户状态 1有效 2无效 QStudentStatus: 1, //客户状态 1有效 2无效
AdvisorStatus: '' //当前状态 AdvisorStatus: '', //当前状态
StuChannel:''
}, },
dateArray: [], //日期数组 dateArray: [], //日期数组
pageCount: 0, pageCount: 0,
...@@ -212,6 +213,9 @@ ...@@ -212,6 +213,9 @@
this.dateArray.push(this.$route.query.endTime); this.dateArray.push(this.$route.query.endTime);
this.msg.EndTime = this.$route.query.endTime; this.msg.EndTime = this.$route.query.endTime;
} }
if (this.$route.query.ChannelId){
this.msg.StuChannel = this.$route.query.ChannelId;
}
this.getStudent(); this.getStudent();
this.getCustomerList(); this.getCustomerList();
this.getCustomFrom(); this.getCustomFrom();
......
...@@ -45,6 +45,19 @@ ...@@ -45,6 +45,19 @@
</template> </template>
</q-field> </q-field>
</div> </div>
<div class="col-3">
<q-field filled label="客户状态" dense stack-label>
<template v-slot:control>
<q-radio dense v-model="msg.QStudentStatus" @input="resetSearch" :val="1" label="有效" size="xs" /> &nbsp;&nbsp;
<q-radio dense v-model="msg.QStudentStatus" @input="resetSearch" :val="2" label="无效" size="xs" />
</template>
</q-field>
</div>
<div class="col-3">
<q-select filled stack-label option-value="Id" @input="resetSearch" dense option-label="Name"
v-model="msg.AdvisorStatus" ref="AdvisorStatus" :options="consultList" clearable label="当前状态"
class="col-6 q-pb-lg" emit-value map-options />
</div>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
...@@ -74,6 +87,9 @@ ...@@ -74,6 +87,9 @@
import { import {
resetPassword resetPassword
} from '../../api/users/user.js' } from '../../api/users/user.js'
import {
GetStudentAdvisorConfigList
} from "../../api/customerstudent/customerstudent";
import stulist from '../../components/school/student/stulist' import stulist from '../../components/school/student/stulist'
import { mapGetters } from "vuex"; import { mapGetters } from "vuex";
...@@ -101,7 +117,9 @@ ...@@ -101,7 +117,9 @@
EndTime: "", //结束时间 EndTime: "", //结束时间
QQ:'', QQ:'',
WechatNo:'', WechatNo:'',
StuType:'' StuType:'',
QStudentStatus: 1, //客户状态 1有效 2无效
AdvisorStatus: '' //当前状态
}, },
dateArray: [], //日期数组 dateArray: [], //日期数组
pageCount: 0, pageCount: 0,
...@@ -112,7 +130,8 @@ ...@@ -112,7 +130,8 @@
customTypeList: [], //客户类型 customTypeList: [], //客户类型
AuthObj:{ AuthObj:{
isShowDownload:true, isShowDownload:true,
} },
consultList:[]
} }
}, },
computed: { computed: {
...@@ -125,9 +144,21 @@ ...@@ -125,9 +144,21 @@
}, },
mounted() { mounted() {
this.currentUrl = this.$route.path this.currentUrl = this.$route.path
this.getStatusList();
this.getStudent() this.getStudent()
}, },
methods: { methods: {
//获取跟进状态下拉
getStatusList() {
let msg = {
Name: ''
}
GetStudentAdvisorConfigList(msg).then(res => {
if (res.Code == 1) {
this.consultList = res.Data;
}
})
},
//获取客户阶段列表 //获取客户阶段列表
getStuStageList() { getStuStageList() {
queryStuStageList().then(res => { queryStuStageList().then(res => {
......
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