Răsfoiți Sursa

机构搜索

@dongkboy 4 luni în urmă
părinte
comite
7b2921a3b1
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      src/views/personnel/memberManagement.vue

+ 3 - 3
src/views/personnel/memberManagement.vue

@@ -219,7 +219,8 @@ const deptTreeData = ref();
 
 const getInstitutionList = () => {
   // pageInfo.pageNum=item.pageNum
-  api.institutionApi.institutionList({}).then((res) => {
+
+    api.institutionApi.institutionList({userInfo: filterText.value}).then((res) => {
     // if(res.code===200){
 
     // }
@@ -349,7 +350,7 @@ const columns = [
 
 // handleSearch
 function handleSearch() {
-  getUserList()
+  getInstitutionList()
 }
 const pageInfo = reactive({
   pageNum: 1,
@@ -386,7 +387,6 @@ const getUserList = () => {
     deptId: deptItem.value.id,
     status: status.value,
     isMember: 1,
-    userInfo: filterText.value
   }).then((res: any) => {
 
     if (res.code === 200) {