index.html 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>AdminLTE 2 | Invoice</title>
  7. <!-- Tell the browser to be responsive to screen width -->
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <!-- Bootstrap 3.3.6 -->
  10. <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
  11. <!-- Font Awesome -->
  12. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  13. <!-- Ionicons -->
  14. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
  15. <!-- Theme style -->
  16. <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  17. <!-- AdminLTE Skins. Choose a skin from the css/skins
  18. folder instead of downloading all of them to reduce the load. -->
  19. <link rel="stylesheet" href="dist/css/skins/_all-skins.min.css">
  20. <!-- jQuery 2.2.3 -->
  21. <script src="plugins/jQuery/jquery-2.2.3.min.js"></script>
  22. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  23. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  24. <!--[if lt IE 9]>
  25. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  26. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  27. <![endif]-->
  28. <style>
  29. .interval {
  30. padding : 1px 8px!important;
  31. }
  32. #my_file {
  33. visibility: hidden; /* 隐藏 */
  34. }
  35. </style>
  36. </head>
  37. <body class="hold-transition skin-blue sidebar-mini">
  38. <div class="wrapper">
  39. <header class="main-header">
  40. <!-- Logo -->
  41. <a href="#" class="logo">
  42. <!-- logo for regular state and mobile devices -->
  43. <span class="logo-lg"><b>D</b>iagbot</span>
  44. </a>
  45. </header>
  46. <!-- Left side column. contains the logo and sidebar -->
  47. <aside class="main-sidebar">
  48. <!-- sidebar: style can be found in sidebar.less -->
  49. <section class="sidebar">
  50. <!-- /.search form -->
  51. <!-- sidebar menu: : style can be found in sidebar.less -->
  52. <ul class="sidebar-menu">
  53. <li class="header">MAIN NAVIGATION</li>
  54. <li class="treeview active">
  55. <a href="#">
  56. <i class="fa fa-folder"></i> <span>diagbot</span>
  57. <span class="pull-right-container">
  58. <i class="fa fa-angle-left pull-right"></i>
  59. </span>
  60. </a>
  61. <ul class="treeview-menu">
  62. <li class="active"><a href="/push-web/participle/index"><i class="fa fa-circle-o"></i>分词示例</a></li>
  63. <li class="active"><a href="/push-web/extract/index"><i class="fa fa-circle-o"></i>提取特征</a></li>
  64. <li class="active"><a href="/push-web/relation/index"><i class="fa fa-circle-o"></i>关系抽取</a></li>
  65. <li class="active"><a href="/push-web/algorithm/index"><i class="fa fa-circle-o"></i>算法分析</a></li>
  66. </ul>
  67. </li>
  68. </ul>
  69. </section>
  70. <!-- /.sidebar -->
  71. </aside>
  72. <!-- Content Wrapper. Contains page content -->
  73. <div class="content-wrapper">
  74. <!-- Content Header (Page header) -->
  75. <section class="content-header">
  76. <h1>
  77. <small></small>
  78. </h1>
  79. <ol class="breadcrumb">
  80. <li><a href="#"><i class="fa fa-dashboard"></i>Diagbot</a></li>
  81. <li><a href="#">nlp</a></li>
  82. <li class="active">分词示例</li>
  83. </ol>
  84. </section>
  85. <!-- Main content -->
  86. <section class="invoice">
  87. <!-- title row -->
  88. <div class="row">
  89. <div class="col-xs-12">
  90. <h2 class="page-header">
  91. <form role="form" id="up_file_form" enctype='multipart/form-data' style="position: relative;">
  92. <i class="fa"></i>病 例
  93. </form>
  94. </h2>
  95. </div>
  96. <!-- /.col -->
  97. </div>
  98. <!-- /.box-header -->
  99. <div class="box-body">
  100. <div class="row">
  101. <div class="col-xs-12">
  102. <form role="form" id="participle_form">
  103. <!-- textarea -->
  104. <div class="form-group">
  105. <textarea class="form-control" rows="10" placeholder="Enter ..." name="content" id="content">主诉:患者女,58岁,反复意识丧失11天。
  106. 现病史:患者11天前烧水时出现心悸,胸闷,感全身不适全身血管跳动,头晕,四肢乏力,视物旋转,恶心,耳鸣,持续1小时后好转。10天前再次出现心悸,胸闷,感全身血管跳动,四肢乏力。6天前聊天时再次出现意识丧失,症状同前,建议转上级医院诊治,遂来我院就诊。
  107. 既往史:有高血压病10余年,血压最高为195/105mmHg,现服替米沙坦80mg QD,压氏达5mg QD治疗,血压控制欠佳。甲状腺切除4年,现服用优甲乐62.5μg治疗。
  108. 体征:神清,精神可,全身浅表淋巴结未触及肿大,颈静脉无充盈怒张,胸廓无畸形,两肺呼吸音清,未闻及干湿性罗音。腹部可见手术疤痕,腹平软,无压痛反跳痛。双下肢无水肿。
  109. 检验:
  110. 检查:临安市人民医院 2014.12.6 头颅CT未见明显异常,鼻骨未见明显骨折。</textarea>
  111. </div>
  112. </form>
  113. </div>
  114. </div>
  115. <div class="row">
  116. <div class="col-xs-12">
  117. <button type="button" class="btn btn-success pull-right" onclick="_ajax('/participle/split_and_highlight')"><i
  118. class="fa fa-credit-card"></i> 开&nbsp;始&nbsp;分&nbsp;析
  119. </button>
  120. </div>
  121. </div>
  122. </div>
  123. <script>
  124. $.support.cors = true;
  125. function _ajax(url) {
  126. $.ajax({
  127. url: nlp_web_url + url,
  128. data: $("#participle_form").serialize(),
  129. dataType: "json",
  130. type: "post",
  131. success: function (data) {
  132. $("#participle_result").html("<h2 class='page-header'><i class='fa'></i>结 构 化</h2>" + data.data);
  133. }
  134. });
  135. };
  136. </script>
  137. <div class="row invoice-info">
  138. <div class="col-sm-12 invoice-col" id = "participle_result">
  139. </div>
  140. </div>
  141. </section>
  142. <!-- /.content -->
  143. <div class="clearfix"></div>
  144. </div>
  145. <!-- /.control-sidebar -->
  146. <!-- Add the sidebar's background. This div must be placed
  147. immediately after the control sidebar -->
  148. <div class="control-sidebar-bg"></div>
  149. </div>
  150. <!-- ./wrapper -->
  151. <!-- Bootstrap 3.3.6 -->
  152. <script src="bootstrap/js/bootstrap.min.js"></script>
  153. <!-- FastClick -->
  154. <script src="plugins/fastclick/fastclick.js"></script>
  155. <!-- AdminLTE App -->
  156. <script src="dist/js/app.min.js"></script>
  157. <!-- AdminLTE for demo purposes -->
  158. <script src="dist/js/demo.js"></script>
  159. <script src="dist/js/push.js"></script>
  160. </body>
  161. </html>