Commit 78932aff authored by zhengke's avatar zhengke

修改

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