From e0ca52ce67596d41c9817252486190ede36b78d1 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Fri, 31 May 2024 13:09:40 +0800 Subject: [PATCH] 1 --- resources/views/admin/home.blade.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index f01e84b..379991b 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -516,6 +516,13 @@ setBarChartOption($(this).val()) }) } + function hospitalSelectListner () { + $("[name=hospital-select]").change(function () { + var url = window.location.href; + url += window.location.search ? ("&project_id=" + $(this).val()) : ("?project_id=" + $(this).val()); + window.open(url); + }) + } (function () { initPieChart() initBarChart()