Commit 78932aff authored by zhengke's avatar zhengke

修改

parent a428655d
......@@ -142,8 +142,8 @@
转介人
</div>
<div class="stage_value">
<q-select filled v-model="customObj.StuSourceId" style="width:185px;" dense :options="customList" option-label="CustomerName"
option-value="CustomerId" emit-value map-options />
<q-select filled v-model="customObj.StuSourceId" style="width:185px;" use-input @filter="filterStudent" dense :options="MyTransListData"
option-label="StuName" option-value="StuId" emit-value map-options />
</div>
</div>
</div>
......@@ -345,6 +345,7 @@
customTypeList: [], //客户类型
customList: [],
TransListData:[], //转介人数据
MyTransListData:[],
checkMsg: {
StuId: 0,
StuTel: '',
......@@ -502,12 +503,21 @@
//获取转介人下拉
getStudentDorpDown(){
getStudentDorpDownList().then(res => {
console.log(res,'数据');
console.log(res,'res');
if (res.Code == 1) {
this.TransListData = res.Data;
this.MyTransListData = res.Data;
}
})
},
//筛选转介人
filterStudent(val, update, abort){
update(() => {
this.MyTransListData = this.TransListData.filter(
v => v.StuName.indexOf(val) > -1
);
});
},
queryStuInfo() {
getStudentInfo({
StuId: this.customMsg.StuId
......
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