lgy 4 days ago
parent
commit
8bbe9f0ef7
2 changed files with 8 additions and 5 deletions
  1. 4 1
      jcjyhr/app/admin/controller/hospital/Hrpatient.php
  2. 4 4
      jcjyhr/web/.env.development

+ 4 - 1
jcjyhr/app/admin/controller/hospital/Hrpatient.php

@@ -99,7 +99,10 @@ class Hrpatient extends Backend
             $status_str = '(否)';
         }
         if($status !== false) {
-            $search_str = str_replace('%', '', $_search);
+            if(!empty($_search))
+            {
+                $search_str = str_replace('%', '', $_search);
+            }
         }
         $_array = explode(',', $val);
         $array = array_filter($_array, function($value) use ($status_str, $search_str) {

+ 4 - 4
jcjyhr/web/.env.development

@@ -17,7 +17,7 @@ VITE_BASE_PATH = './'
 # VITE_PROXY_URL = 'http://36.140.148.147:8001'
 # VITE_PROXY_URL = 'http://192.168.1.103:8000'
 # VITE_PROXY_URL = 'http://192.168.1.20:8000'
-VITE_PROXY_URL = 'http://111.53.165.106:9605'
-VITE_AXIOS_BASE_URL = 'http://111.53.165.106:9605'
-# VITE_PROXY_URL = 'http://localhost:812/'
-# VITE_AXIOS_BASE_URL = 'http://localhost:812/'
+#VITE_PROXY_URL = 'http://111.53.165.106:9605'
+#VITE_AXIOS_BASE_URL = 'http://111.53.165.106:9605'
+ VITE_PROXY_URL = 'http://localhost:812/'
+ VITE_AXIOS_BASE_URL = 'http://localhost:812/'