123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?php
- use App\Facades\RemoteSsoFacade;
- use Encore\Admin\Facades\Admin;
- $userModelClass = config('admin.database.users_model');
- // $userModel = new $userModelClass();
- // $checkUserData = $userModel::query()
- // // ->where(
- // // array(
- // // "third_openid"=>$signData["open_id"],
- // // )
- // // )
- // ->orderBy("id","desc")->first();
- // Admin::guard()->login(
- // $checkUserData
- // );
- $menuResult = RemoteSsoFacade::getUserMenuWebsiteData(Admin::user()->third_openid);//$thirdOpenid);
- // print_r($menuResult);exit;
- ?>
- <!DOCTYPE html>
- <!-- saved from url=(0058)https://whdx-psy.qingerai.com/index.php?ap=visit&task=main -->
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>武汉大学中南医院</title>
- <link rel="icon" type="image/png" href="https://whdx-psy.qingerai.com/image/favicon.png">
- <meta name="apple-mobile-web-app-title" content="武汉大学中南医院">
- <meta name="csrf-token" content="{{ csrf_token() }}">
- <script type="text/javascript" src="https://whdx-psy.qingerai.com/include/js/jquery-3.6.0.min.js"></script>
- <script type="text/javascript" src="https://whdx-psy.qingerai.com/include/js/jquery-3.6.0.min.jslayer.js"></script>
- <link rel="stylesheet" href="{{ asset('css/layer.css')}}" id="layuicss-layer">
- <script type="text/javascript" src="{{ asset('js/public.js')}}"></script>
- <link rel="stylesheet" href="{{ asset('css/style.css')}}">
- <!-- <link rel="stylesheet" href="{{ asset('css/style_new.css')}}"> -->
- <link rel="stylesheet" href="{{ asset('css/sso_style.css')}}">
- <link rel="bookmark" type="image/x-icon" href="https://whdx-psy.qingerai.com/web/_subsite/1/template/web/zh-cn/default/visit/image/favicon.ico">
- <link rel="shortcut icon" type="image/x-icon" href="https://whdx-psy.qingerai.com/web/_subsite/1/template/web/zh-cn/default/visit/image/favicon.ico">
- <script>
- var js_include_dir = '/include/js/',
- is_start_picture_distribution = "1";
- </script>
- <script type="text/javascript">
- function openNotice(data)
- {
- //检查是否掉登录
- var checkLanding = $().checkLanding({
- jump_url:'/index.php?ap=visit&task=loginOut',
- check_url:'/index.php?ap=visit&task=checkLanding',
- second:3
- });
- if(checkLanding.success){
- if(checkLanding.is_out) return false;
- }else{
- layer.msg(checkLanding.msg);
- return false;
- }
- //示范一个公告层
- layer.open({
- type: 1
- ,title: false //不显示标题栏
- ,closeBtn: false
- ,area: '300px;'
- ,shade: 0.8
- ,id: 'relogin' //设定一个id,防止重复弹出
- ,btn: ['立即重新登陆']
- ,btnAlign: 'c'
- ,moveType: 1 //拖拽模式,0或者1
- ,content: '<div style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;">恭喜您已完成更新<br><br>系统将自动为您重新登录</div>'
- ,yes: function(){
- window.location.href="/index.php?ap=visit&task=gridTokenLogin&ocu_id="+data.id+"&token="+data.token+"&check_time="+data.check_time
- }
- });
- }
- </script></head>
- <body class="home-bg">
- <div class="header sp_ends">
- <div class="vertical_dq">
- <div class="logo" style="height:53px"><img src="{{$menuResult['data']['logo']}}"></div>
- </div>
- <div class="title">{{$menuResult["data"]["title"]}}</div>
- <div class="vertical_dq">
- <div class="pulldown nav">
- <div class="dt vertical_dq">
- <img class="wh_30 bor_circle" src="{{asset('image/tx.png')}}">
- <div>{{Admin::user()->name}}</div>
- </div>
- <div class="dd">
- <ul>
- <li><a href="{{$menuResult['data']['login_out_url']}}">退出登录</a></li>
- </ul>
- </div>
- </div>
- <div class="byl-icon-bell_alt mar_l16"><i></i></div>
- </div>
- </div>
- <div class="menu-box">
- <div class="menu-logo">
- <img src="{{$menuResult['data']['site_logo']?:''}}">
- <div class="txt" style = "line-height: 1.2;font-size: 16px;color: #049985;font-weight: bold;text-align:center">{{Admin::user()->workstation_name}}</div>
- </div>
- <ul class="new_menu">
- @foreach($menuResult["menu"] as $key=>$item)
- <li class="Level_1" url="{{$item["menu_url"]}}"><span class="{{$item["menu_style"]}}" ></span>{{$item['title']}}
- @if (isset($item["sub"]))<i></i>@endif
- </li>
- @if (isset($item["sub"]))
- <div class="menu-con">
- @foreach($item["sub"] as $val)
- <a url="{{$val["menu_url"]}}" class="Level_2">{{$val['title']}}</a>
- @endforeach
- </div>
- @else
- @endif
- @endforeach
- </ul>
- </div>
- <div class="main-r right-header">
- <div >
- <!-- <ul>
- </ul> -->
- </div>
- <br/>
- @yield('content')
- </div>
- <script type="text/javascript">
- function changeFrameHeight() {
- var iframe = document.getElementById("iframe");
- iframe.height = document.documentElement.clientHeight;
- }
- //onresize属性可以用来获取或设置当前窗口的resize事件的事件处理函数
- //onresize事件会在窗口或框架被调整大小时发生
- window.onresize = function() {
- changeFrameHeight();
- }
- // 折叠菜单
- $(".menu-box li").click(function(){
- $(this).toggleClass("active").next(".menu-con").slideToggle(200).siblings(".menu-con").slideUp("slow");
- $(this).siblings().removeClass("active");
- $(".menu-con a").removeClass("active");
- });
- $(".menu-con a").click(function(){
- $(this).addClass('active').siblings().removeClass('active');
- })
- $(".Level_1").click(function(){
- var _this = $(this);
- var url = _this.attr("url");
- if (!_this.next().is(".menu-con")){
- window.location.href = url;
- }
- })
- $(".Level_2").click(function(){
- var url = $(this).attr("url");
- window.location.href = url;
- })
- $(".pulldown").each(function(){
- var s=$(this);
- var dt=$(this).children(".dt");
- var dd=$(this).children(".dd");
- var _show=function(){dd.slideDown(200);dt.addClass("cur");};
- var _hide=function(){dd.slideUp(200);dt.removeClass("cur");};
- dt.click(function(){dd.is(":hidden")?_show():_hide();});
- $("body").click(function(i){ !$(i.target).parents(".pulldown").first().is(s) ? _hide():"";
- });
- });
- </script>
- <!-- <ul class="left-nav scroll-bar" id="ul_content">
- <li id="" class="menu_li active" data-menu_id="1"><a href="https://whdx-psy.qingerai.com/index.php?ap=visit&task=main" target="main"><div class="ico icon4"></div><div class="txt">工作站管理</div></a></li>
- <li id="customerListMenu" class="menu_li" data-menu_id="2"><a href="https://whdx-psy.qingerai.com/index.php?ap=visit&task=main" target="main"><div id="menu_visit_interflow" style=""></div><div class="ico icon2"></div><div class="txt">心理档案</div></a></li>
- <li id="screeningTaskList" class="menu_li" data-menu_id="3"><a href="https://whdx-psy.qingerai.com/index.php?ap=visit&task=main" target="main"><div id="menu_visit_interflow" style="display:none;"><div class="number">0</div></div><div class="ico icon5"></div><div class="txt">筛查任务</div></a></li>
- <li id="" class="menu_li" data-menu_id="4"><a href="https://whdx-psy.qingerai.com/index.php?ap=visit&task=main" target="main"><div class="ico icon1"></div><div class="txt">质控管理</div></a></li>
- <li id="" class="menu_li" data-menu_id="5"><a href="https://whdx-psy.qingerai.com/index.php?ap=visit&task=main" target="main"><div class="ico icon6"></div><div class="txt">统计分析</div></a></li>
- <div class="disable"><a href="javascript:void(0);"><div class="byl-icon-lock" title="无权限操作"></div><div class="ico icon5"></div><div class="txt">在线咨询</div></a></div>
- </ul> -->
- <!-- <div class="header sp_ends">
- <div class="vertical_dq">
- <div class="logo"><img src="/oss/images/logo2.png"></div>
- </div>
- <div class="title">{{config('admin.name')}}</div>
- <div class="vertical_dq">
- <div class="pulldown nav">
- <div class="dt vertical_dq">
- <img class="wh_30 bor_circle" src="{{Admin::user()->avatar}}">
- <div>{{Admin::user()->name}}</div>
- </div>
- <div class="dd">
- <ul>
- <li><a href="{{admin_url('auth/logout') }}">退出登录</a></li>
- </ul>
- </div>
- </div>
- @if (isset($menuResult["msg"]) && $menuResult["msg"]["num"]>0)
- <a href="{{$menuResult["msg"]["url"]}}">
- <div class="byl-icon-bell_alt mar_l16"><i></i></div>
- </a>
- @endif
- </div>
- </div>
- <div class="menu-box">
- <div class="menu-logo">
- <img src="https://hw-bj-resource.qingerai.com/group1/M00/00/04/CgAAAmckZvSARO8-AAAbJnMNjrc539.jpg">
- <div class="txt" style = "line-height: 1.2;font-size: 16px;color: #049985;font-weight: bold;text-align:center">{{Admin::user()->workstation_name}}</div>
- </div>
- <ul class="new_menu">
- @foreach($menuResult["menu"] as $key=>$item)
- <li class="Level_1" url="{{$item["menu_url"]}}"><span class="{{$item["menu_style"]}}" ></span>{{$item['title']}}
- @if (isset($item["sub"]))<i></i>@endif
- </li>
- @if (isset($item["sub"]))
- @foreach($item["sub"] as $val)
- <div class="menu-con">
- <a url="{{$val["menu_url"]}}" class="Level_2">{{$val['title']}}</a>
- </div>
- @endforeach
- @else
- @endif
- @endforeach
- </ul>
- </div>
- <div class="right-main">
- <div class="right-header">
- <div class="top sp_ends">
- <div class="float-l vertical_dq">
- <div class="logo float-l"><img src="https://hw-fdfs.qingerai.com/group1/M00/A8/FA/rBcAAmbzZa6AeVPPAAAgmgbyoZA040.png"></div>
- <div class="title float-l">体检中心</div>-->
- <!-- </div>
- <div style="display: flex; align-items: center;">
- <em></em>
- <div class="user">
- <div class="tx"><img src="https://whdx-psy.qingerai.com//web/_subsite/1/template/web/zh-cn/default/component/image/tx.jpg"></div>
- <div class="flex" style="float:left;">
- <div class="font-bold font-15">xiaoqing</div>
- <div class="color-666 font-12"></div>
- </div>
- </div>
- <em></em>
- <a href="https://whdx-psy.qingerai.com/index.php?task=loginOut" class="color-orange" target="_top"><i class="ico icon19"></i>退出</a>
- </div>
- </div>
- <div class="tab">
- <ul> -->
- <!-- </ul>
- </div>
- <div class="guide vertical_dq"> -->
- <!-- <a class="ico icon20 go_back" style="display: none;"></a>
- <div class="flex">当前位置:<a href="https://whdx-psy.qingerai.com/index.php?task=welcome">首页</a> > <a href="https://whdx-psy.qingerai.com/index.php?op=team&task=team&mk=4">团体体检</a> > <a href="https://whdx-psy.qingerai.com/index.php?op=team&task=team&mk=4">体检单位</a> </div>
- <a class="ico icon21 go_start" style="display: none;"></a> -->
- <!-- </div>
- </div> -->
- <!-- </div> -->
- </body>
- </html>
|