|
|
|
@ -228,6 +228,18 @@ public function GetCheckPdf()
|
|
|
|
->values()
|
|
|
|
->values()
|
|
|
|
->toArray();
|
|
|
|
->toArray();
|
|
|
|
$room['check_notice'] = implode("\n", $notices);
|
|
|
|
$room['check_notice'] = implode("\n", $notices);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//温馨提示:从该诊室所有检查项目读取 warm_tips,去重过滤
|
|
|
|
|
|
|
|
$tips = DB::table('s_check_item')
|
|
|
|
|
|
|
|
->whereIn('item_name', $itemNames)
|
|
|
|
|
|
|
|
->where('status', 1)
|
|
|
|
|
|
|
|
->where('is_del', 0)
|
|
|
|
|
|
|
|
->pluck('warm_tips')
|
|
|
|
|
|
|
|
->filter()
|
|
|
|
|
|
|
|
->unique()
|
|
|
|
|
|
|
|
->values()
|
|
|
|
|
|
|
|
->toArray();
|
|
|
|
|
|
|
|
$room['warm_tips'] = $tips;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -546,6 +558,18 @@ public function GenerateGroupedCheckPdf()
|
|
|
|
->values()
|
|
|
|
->values()
|
|
|
|
->toArray();
|
|
|
|
->toArray();
|
|
|
|
$room['check_notice'] = implode("\n", $notices);
|
|
|
|
$room['check_notice'] = implode("\n", $notices);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//温馨提示:从该诊室所有检查项目读取 warm_tips,去重过滤
|
|
|
|
|
|
|
|
$tips = DB::table('s_check_item')
|
|
|
|
|
|
|
|
->whereIn('item_name', $itemNames)
|
|
|
|
|
|
|
|
->where('status', 1)
|
|
|
|
|
|
|
|
->where('is_del', 0)
|
|
|
|
|
|
|
|
->pluck('warm_tips')
|
|
|
|
|
|
|
|
->filter()
|
|
|
|
|
|
|
|
->unique()
|
|
|
|
|
|
|
|
->values()
|
|
|
|
|
|
|
|
->toArray();
|
|
|
|
|
|
|
|
$room['warm_tips'] = $tips;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|