Commit 8fcdb917 authored by Mac's avatar Mac

1

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