@@ -1253,8 +1253,8 @@ class CompanyService
}
$company->hide = $hide;
- $company->setmeal_id = $setmeal->setmeal_id;
- $company->setmeal_name = $setmeal->setmeal_name;
+ $company->setmeal_id = $setmeal->setmeal_id ?? 0;
+ $company->setmeal_name = $setmeal->setmeal_name ?? '';
//来源分站名称
$subsites = Cache::get('subsites_list');
@@ -131,5 +131,10 @@
location.href = `https://api.map.baidu.com/marker?location=${y},${x}&title=${name}&output=html`;
})
+
+ $('.company').click(function() {
+ let id = $(this).data('id');
+ location.href = "{{route('mobile.ic.hospital.show')}}?id=" + id;
+ });
</script>
@endsection