码迷,mamicode.com
首页 > 其他好文 > 详细

11111111111111

时间:2016-07-03 23:05:53      阅读:409      评论:0      收藏:0      [点我收藏+]

标签:

@model Dw.Entity.PRecordsDetail
@{
    ViewBag.Title = "病例管理";
    Layout = "~/Areas/Hospital/Views/Shared/_UserCenter.cshtml";
}
@{
    string getid = "";
    if ((Html.ViewContext.RouteData.Values["id"]) != null)
    {
        getid = Request.RequestContext.RouteData.Values["id"].ToString();
    }
    else
    {
        getid = "9999";
    }

}

<div class="page-header navbar navbar-fixed-top">
    <div class="page-header-inner">
        <div class="page-logo">
            <a><h4 style="color:white;text-align:center">病人资料管理</h4></a>

            <div class="menu-toggler sidebar-toggler">
                <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
            </div>
        </div>
        <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"></a>

        <div class="top-menu">
            <ul class="nav navbar-nav pull-right">
                <li class="dropdown dropdown-user">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                        <span class="username username-hide-on-mobile">登录医生:@ViewBag.Name</span>
                        <i class="fa fa-angle-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-menu-default">
                        <li><a href="/Hospital/Personal/Index?Id=@Model.Patients.PatientId"> <i class="icon-user"></i>病人信息</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>

<div class="clearfix"></div>
<div class="page-container">

    <div class="page-sidebar-wrapper affix">
        <div class="page-sidebar navbar-collapse collapse">
            <ul class="page-sidebar-menu page-sidebar-menu-light" data-keep-expanded="true" data-auto-scroll="true" data-slide-speed="200">
                <li class="start @(getid.Substring(0,2)=="01"?"active open":"")">
                    <a href="javascript:;">
                        <i class="icon-home"></i>
                        <span class="title bold">病人信息[Patient Info]</span>
                        <span class="selected"></span>
                        <span class="arrow open"></span>
                    </a>
                    <ul class="sub-menu">
                        <li @Html.Raw(getid == "0101" ? "class=‘active‘" : "")><a href="/personal/index/0101"><i class="icon-bar-chart"></i> 病人基本信息[Info]</a></li>
                    </ul>
                </li>

                <!-- BEGIN LINK -->
                <li class="tooltips @(getid=="02"?"active":"")" data-container="body" data-placement="right" data-html="true">
                    <a href="/resume/index/0201">
                        <i class="icon-paper-plane"></i>
                        <span class="title bold">病历资料[PatientRecord]</span>
                        <span class="selected"></span>
                    </a>
                </li>
            </ul>
        </div>
    </div>


    <div class="tools_bar" style="border-top: none; margin-bottom: 0px;display:none">
        <div class="PartialButton">
            @Html.Partial("_PartialButton")
        </div>
    </div>

    <input type="hidden" value="@Html.DisplayFor(m=>m.Patients.PatientId)" id="PatientId" />
    <script type="text/javascript">
    $(function () {
        $("#afm").click(function () {
            var url = "/resume/ApplyModi";
            var userid = $("#UserId").val();
            $.post(url, { "userid": userid }, function (data) {
                if (data.msg = "1") {
                    $("#afm").addClass("disabled");
                    $("#afm").text("Has apply please wait...")
                }
                else {
                    $("#afm").addClass("disabled");
                    $("#afm").text("Application is wrong! Contact HR by Tel please.")
                }
            })
        })
    });

    </script>

    <link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="~/Scripts/modernizr-2.6.2.js"></script>
    <script src="~/Scripts/jquery-1.10.2.min.js"></script>
    <script src="~/Scripts/bootstrap.min.js"></script>
    <div class="page-content-wrapper">
        <div class="page-content">
            <!-- BEGIN PAGE HEADER-->
            <h3 class="page-title">
                病历详情 <small>@Html.DisplayFor(m => m.Patients.Name)</small>
            </h3>
            <div class="page-bar">
                <ul class="page-breadcrumb">
                    <li>
                        <i class="fa fa-home"></i>
                        <a href="/UsersCenter">首页</a>
                        <i class="fa fa-angle-right"></i>
                    </li>
                    <li>
                        <a href="#">病历信息</a>
                    </li>
                </ul>

            </div>
            <!-- END PAGE HEADER-->
            <!-- BEGIN PAGE CONTENT-->
            <div class="row">
                <div class="col-md-12">
                    <!-- BEGIN Portlet PORTLET-->
                    <div class="portlet box grey-cascade">
                        <div class="portlet-title">
                            <div class="caption">
                                <i class="icon-paper-plane"></i>病历资料
                                <span class="caption-helper grey">你可以编辑</span>
                            </div>
                            <div class="actions">
                                <a href="/resume/edit/0201" class="btn btn-default btn-sm">
                                    <i class="fa fa-pencil"></i> 编辑
                                </a>



                            </div>
                        </div>
                        <div class="portlet-body">
                            <table class="table-condensed table">
                                <tr>
                                    <th colspan="4" class="bluetitle">病人基本资料</th>
                                </tr>
                                <tr>
                                    <td>
                                        <label for="FamilyName" class="Bold">姓名: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Name)</span>
                                    </td>
                                    <td>
                                        <label for="GivenName">性别: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Gender)</span>
                                    </td>

                                </tr>
                                <tr>
                                    <td>
                                        <label for="NameInChinese">民族: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Nation)</span>
                                    </td>
                                    <td>
                                        <label for="DateOfBirth"> 婚姻状况: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Marriage)</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <label for="DateOfBirth">性别: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Birthday)</span>
                                    </td>
                                    <td>
                                        <label for="Nationality">民族: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Phone)</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <label for="IDNumber">所在省: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Province)</span>
                                    </td>
                                    <td>
                                        <label for="Residency">所在市: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.City)</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <label for="email">所在地区: </label>
                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.County)</span>
                                    </td>
                                    <td></td>
                                </tr>

                            </table>

                            @if (Model.PatientRecords == null)
                            {
                                <table class="table-condensed table form-inline">
                                    <tr>
                                        <td>
                                            <h4 style="color:red">还没有该病人的病历信息,请填写!</h4>
                                        </td>
                                    </tr>

                                </table>
                            }
                            else
                            {
                                <table class="table-condensed table form-inline">
                                    <tr>
                                        <th class="bluetitle">主诉</th>
                                        <td>
                                            @*<div class="form-group" style="margin-left:25px">
                                                    <span>声音</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundSymptom)</span>
                                                </div>
                                                <div class="form-group" style="margin-left:25px">
                                                    <span>伴随</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundAssociatedSymptoms)</span>
                                                </div>*@
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>
                                            <div class="form-group" style="margin-left:25px">
                                                <span>声音</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundSymptom)</span>
                                            </div>
                                            <div class="form-group" style="margin-left:25px">
                                                <span>伴随</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundAssociatedSymptoms)</span>
                                            </div>
                                        </td>
                                    </tr>

                                </table>
                            }
                        </div>
                    </div>
                    <!-- END Portlet PORTLET-->
                </div>

            </div>
        </div>
    </div>

</div>
<!--[if lt IE 9]>
<script src="~/Content/UserFrame/plugins/respond.min.js"></script>
<script src="~/Content/UserFrame/plugins/excanvas.min.js"></script>
<![endif]-->
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="~/Content/UserFrame/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="~/Content/UserFrame/plugins/jquery-validation/js/additional-methods.min.js"></script>
<script src="~/Content/UserFrame/plugins/jquery-validation/js/jquery.validate.min.js"></script>
<script src="~/Content/UserFrame/plugins/jquery.pulsate.min.js" type="text/javascript"></script>
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="~/Content/UserFrame/plugins/bootstrap-modal/js/bootstrap-modalmanager.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/plugins/bootstrap-modal/js/bootstrap-modal.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="~/Content/UserFrame/scripts/metronic.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/admin/layout/scripts/layout.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/admin/layout/scripts/quick-sidebar.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/admin/layout/scripts/usercenter.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/admin/pages/scripts/index.js" type="text/javascript"></script>
<script src="~/Content/UserFrame/admin/pages/scripts/tasks.js" type="text/javascript"></script>
<!--<script src="~/Content/UserFrame/admin/pages/scripts/form-validation.js"></script>-->

<script>
            jQuery(document).ready(function () {
                Metronic.init(); // init metronic core componets
                Layout.init(); // init layout
                QuickSidebar.init(); // init quick sidebar
                usercenter.init(); // init demo features
                Index.init();
               // FormValidation.init(); //Modal formvalidation

            });
</script>

 

@model Dw.Entity.PRecordsDetail@{    ViewBag.Title = "病例管理";    Layout = "~/Areas/Hospital/Views/Shared/_UserCenter.cshtml";}@{    string getid = "";    if ((Html.ViewContext.RouteData.Values["id"]) != null)    {        getid = Request.RequestContext.RouteData.Values["id"].ToString();    }    else    {        getid = "9999";    }
}
<div class="page-header navbar navbar-fixed-top">    <div class="page-header-inner">        <div class="page-logo">            <a><h4 style="color:white;text-align:center">病人资料管理</h4></a>
            <div class="menu-toggler sidebar-toggler">                <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->            </div>        </div>        <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"></a>
        <div class="top-menu">            <ul class="nav navbar-nav pull-right">                <li class="dropdown dropdown-user">                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">                        <span class="username username-hide-on-mobile">登录医生:@ViewBag.Name</span>                        <i class="fa fa-angle-down"></i>                    </a>                    <ul class="dropdown-menu dropdown-menu-default">                        <li><a href="/Hospital/Personal/Index?Id=@Model.Patients.PatientId"> <i class="icon-user"></i>病人信息</a></li>                    </ul>                </li>            </ul>        </div>    </div></div>
<div class="clearfix"></div><div class="page-container">
    <div class="page-sidebar-wrapper affix">        <div class="page-sidebar navbar-collapse collapse">            <ul class="page-sidebar-menu page-sidebar-menu-light" data-keep-expanded="true" data-auto-scroll="true" data-slide-speed="200">                <li class="start @(getid.Substring(0,2)=="01"?"active open":"")">                    <a href="javascript:;">                        <i class="icon-home"></i>                        <span class="title bold">病人信息[Patient Info]</span>                        <span class="selected"></span>                        <span class="arrow open"></span>                    </a>                    <ul class="sub-menu">                        <li @Html.Raw(getid == "0101" ? "class=‘active‘" : "")><a href="/personal/index/0101"><i class="icon-bar-chart"></i> 病人基本信息[Info]</a></li>                    </ul>                </li>
                <!-- BEGIN LINK -->                <li class="tooltips @(getid=="02"?"active":"")" data-container="body" data-placement="right" data-html="true">                    <a href="/resume/index/0201">                        <i class="icon-paper-plane"></i>                        <span class="title bold">病历资料[PatientRecord]</span>                        <span class="selected"></span>                    </a>                </li>            </ul>        </div>    </div>

    <div class="tools_bar" style="border-top: none; margin-bottom: 0px;display:none">        <div class="PartialButton">            @Html.Partial("_PartialButton")        </div>    </div>
    <input type="hidden" value="@Html.DisplayFor(m=>m.Patients.PatientId)" id="PatientId" />    <script type="text/javascript">    $(function () {        $("#afm").click(function () {            var url = "/resume/ApplyModi";            var userid = $("#UserId").val();            $.post(url, { "userid": userid }, function (data) {                if (data.msg = "1") {                    $("#afm").addClass("disabled");                    $("#afm").text("Has apply please wait...")                }                else {                    $("#afm").addClass("disabled");                    $("#afm").text("Application is wrong! Contact HR by Tel please.")                }            })        })    });
    </script>
    <link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />    <script src="~/Scripts/modernizr-2.6.2.js"></script>    <script src="~/Scripts/jquery-1.10.2.min.js"></script>    <script src="~/Scripts/bootstrap.min.js"></script>    <div class="page-content-wrapper">        <div class="page-content">            <!-- BEGIN PAGE HEADER-->            <h3 class="page-title">                病历详情 <small>@Html.DisplayFor(m => m.Patients.Name)</small>            </h3>            <div class="page-bar">                <ul class="page-breadcrumb">                    <li>                        <i class="fa fa-home"></i>                        <a href="/UsersCenter">首页</a>                        <i class="fa fa-angle-right"></i>                    </li>                    <li>                        <a href="#">病历信息</a>                    </li>                </ul>
            </div>            <!-- END PAGE HEADER-->            <!-- BEGIN PAGE CONTENT-->            <div class="row">                <div class="col-md-12">                    <!-- BEGIN Portlet PORTLET-->                    <div class="portlet box grey-cascade">                        <div class="portlet-title">                            <div class="caption">                                <i class="icon-paper-plane"></i>病历资料                                <span class="caption-helper grey">你可以编辑</span>                            </div>                            <div class="actions">                                <a href="/resume/edit/0201" class="btn btn-default btn-sm">                                    <i class="fa fa-pencil"></i> 编辑                                </a>


                            </div>                        </div>                        <div class="portlet-body">                            <table class="table-condensed table">                                <tr>                                    <th colspan="4" class="bluetitle">病人基本资料</th>                                </tr>                                <tr>                                    <td>                                        <label for="FamilyName" class="Bold">姓名: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Name)</span>                                    </td>                                    <td>                                        <label for="GivenName">性别: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Gender)</span>                                    </td>
                                </tr>                                <tr>                                    <td>                                        <label for="NameInChinese">民族: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Nation)</span>                                    </td>                                    <td>                                        <label for="DateOfBirth"> 婚姻状况: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Marriage)</span>                                    </td>                                </tr>                                <tr>                                    <td>                                        <label for="DateOfBirth">性别: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Birthday)</span>                                    </td>                                    <td>                                        <label for="Nationality">民族: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Phone)</span>                                    </td>                                </tr>                                <tr>                                    <td>                                        <label for="IDNumber">所在省: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.Province)</span>                                    </td>                                    <td>                                        <label for="Residency">所在市: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.City)</span>                                    </td>                                </tr>                                <tr>                                    <td>                                        <label for="email">所在地区: </label>                                        <span class="font-blue">@Html.DisplayFor(m => m.Patients.County)</span>                                    </td>                                    <td></td>                                </tr>
                            </table>
                            @if (Model.PatientRecords == null)                            {                                <table class="table-condensed table form-inline">                                    <tr>                                        <td>                                            <h4 style="color:red">还没有该病人的病历信息,请填写!</h4>                                        </td>                                    </tr>
                                </table>                            }                            else                            {                                <table class="table-condensed table form-inline">                                    <tr>                                        <th class="bluetitle">主诉</th>                                        <td>                                            @*<div class="form-group" style="margin-left:25px">                                                    <span>声音</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundSymptom)</span>                                                </div>                                                <div class="form-group" style="margin-left:25px">                                                    <span>伴随</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundAssociatedSymptoms)</span>                                                </div>*@                                        </td>                                    </tr>
                                    <tr>                                        <td>                                            <div class="form-group" style="margin-left:25px">                                                <span>声音</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundSymptom)</span>                                            </div>                                            <div class="form-group" style="margin-left:25px">                                                <span>伴随</span> <span class="font-blue">@Html.DisplayFor(m => m.PatientRecords.SoundAssociatedSymptoms)</span>                                            </div>                                        </td>                                    </tr>
                                </table>                            }                        </div>                    </div>                    <!-- END Portlet PORTLET-->                </div>
            </div>        </div>    </div>
</div><!--[if lt IE 9]><script src="~/Content/UserFrame/plugins/respond.min.js"></script><script src="~/Content/UserFrame/plugins/excanvas.min.js"></script><![endif]--><!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip --><script src="~/Content/UserFrame/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/jquery.blockui.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/jquery.cokie.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script><!-- END CORE PLUGINS --><!-- BEGIN PAGE LEVEL PLUGINS --><script src="~/Content/UserFrame/plugins/jquery-validation/js/additional-methods.min.js"></script><script src="~/Content/UserFrame/plugins/jquery-validation/js/jquery.validate.min.js"></script><script src="~/Content/UserFrame/plugins/jquery.pulsate.min.js" type="text/javascript"></script><!-- BEGIN PAGE LEVEL PLUGINS --><script src="~/Content/UserFrame/plugins/bootstrap-modal/js/bootstrap-modalmanager.js" type="text/javascript"></script><script src="~/Content/UserFrame/plugins/bootstrap-modal/js/bootstrap-modal.js" type="text/javascript"></script><!-- END PAGE LEVEL PLUGINS --><!-- BEGIN PAGE LEVEL SCRIPTS --><script src="~/Content/UserFrame/scripts/metronic.js" type="text/javascript"></script><script src="~/Content/UserFrame/admin/layout/scripts/layout.js" type="text/javascript"></script><script src="~/Content/UserFrame/admin/layout/scripts/quick-sidebar.js" type="text/javascript"></script><script src="~/Content/UserFrame/admin/layout/scripts/usercenter.js" type="text/javascript"></script><script src="~/Content/UserFrame/admin/pages/scripts/index.js" type="text/javascript"></script><script src="~/Content/UserFrame/admin/pages/scripts/tasks.js" type="text/javascript"></script><!--<script src="~/Content/UserFrame/admin/pages/scripts/form-validation.js"></script>-->
<script>            jQuery(document).ready(function () {                Metronic.init(); // init metronic core componets                Layout.init(); // init layout                QuickSidebar.init(); // init quick sidebar                usercenter.init(); // init demo features                Index.init();               // FormValidation.init(); //Modal formvalidation
            });</script>

11111111111111

标签:

原文地址:http://www.cnblogs.com/yechangzhong-826217795/p/5638906.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!