Commit 8fcdb917 authored by Mac's avatar Mac

1

parent 1b210808
......@@ -1695,13 +1695,18 @@
},
remoteMethodEx(query) { // 转交人模糊查询
if (query !== '' || this.addShow) {
this.apipost("admin_Get_Chat_All_SelectEmpName", {
EmName: query
}, res => {
if (res.data.resultCode == 1) {
this.searchList = res.data.data;
var qMsg = {
EmployeeName: 0
}
qMsg.EmployeeName=query;
queryEmployee(qMsg).then(res => {
if(res.Code==1){
this.searchList = res.Data;
}
}, err => {});
}).catch(() => {
})
} else {
this.searchList = [];
}
......@@ -1816,7 +1821,6 @@
remoteMethod(query) { // 转交人模糊查询
if (query !== '' || this.addShow) {
this.loading2 = true;
this.loading = true;
var qMsg = {
EmployeeName: 0
}
......@@ -1825,7 +1829,6 @@
if(res.Code==1){
this.searchList = res.Data;
this.loading2 = false;
this.loading = false;
}
}).catch(() => {
......
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