Commit 4b07a0eb by 赵增煜

注释掉诊断type类型区分

parent e8eb6c73
...@@ -19,7 +19,8 @@ public function diagnosisList(Request $request) ...@@ -19,7 +19,8 @@ public function diagnosisList(Request $request)
{ {
$search_input = $request->input('search_input'); $search_input = $request->input('search_input');
$type = $request->input('type', 0); $type = $request->input('type', 0);
$query = DiagnosiModel::query()->where('type', $type); # $query = DiagnosiModel::query()->where('type', $type);
$query = DiagnosiModel::query();
if ($search_input) { if ($search_input) {
$query->where('name', 'like', "%{$search_input}%") $query->where('name', 'like', "%{$search_input}%")
->orWhere('code', 'like', "%{$search_input}%"); ->orWhere('code', 'like', "%{$search_input}%");
......
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 sign in to comment