prescription-consulting.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="Cache-Control" content="no-siteapp" />
  8. <title>咨询详情页</title>
  9. <meta name="keywords" content="">
  10. <meta name="description" content="">
  11. <link rel="shortcut icon" href="favicon.ico">
  12. <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  13. <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  14. <link href="css/animate.min.css" rel="stylesheet">
  15. <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
  16. <link href="js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
  17. <link href="js/plugins/artDialog/6.0.5/api/css/ui-dialog.css" rel="stylesheet">
  18. <link href="css/style.css" rel="stylesheet">
  19. <link rel="stylesheet" href="css/consulting.css">
  20. <link rel="stylesheet" href="css/plugins/plyr/plyr.css">
  21. </head>
  22. <body class="">
  23. <div class="consulting-panel ui-grid border-bottom">
  24. <div class="ui-col-3 border-right" style="height: 100%">
  25. <div class="info-panel">审核完成24时后将自动关闭咨询,<a onclick="finish()">点击关闭</a></div>
  26. <div class="text-center">
  27. <span class="diseaseInfo"></span>
  28. </div>
  29. <div style="height: calc(100% - 74px);">
  30. <div class="plr20 pb20" id="talkBox"></div>
  31. </div>
  32. </div>
  33. <div class="ui-col-1" style="height: 100%">
  34. <div class="ptb20 plr10" id="prescriptionInfo"></div>
  35. <div class="text-center">
  36. <span class="status-btn"></span>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="input-panel">
  41. <div class="action-panel">
  42. <i class="fa fa-picture-o c-666" onclick="file_head.click()"></i>
  43. <input type="file" class="hidden" id="file_head" accept="image/*">
  44. </div>
  45. <div id="input_content" type="text" class="input-msg width-100" ></div>
  46. <button class="btn send-btn" type="button"><i class="fa fa-send mr5"></i>发送</button>
  47. </div>
  48. <!-- 系统消息模板 -->
  49. <script type="text/html" id="sys_msg_tmp">
  50. <div class="time-tips"><span class="xt-xiaoxi">{{content}}</span></div>
  51. </script>
  52. <!-- 消息模板 -->
  53. <script type="text/html" id="msg_tmp">
  54. <div class="time-tips"><span>{{time}}</span></div>
  55. <dl class="{{if isSelf}}chat-right{{else}}chat-left{{/if}}">
  56. <dt style="height: auto; text-align: center;">
  57. <img src="{{img}}" class="images-cycle"/>
  58. </dt>
  59. <div class="c-content">
  60. <span class="c-f12 name">{{name}}</span>
  61. {{if type == 0 || type == 1 || type == 8 }}
  62. <dd class="word-bread">
  63. <span>{{content}}</span>
  64. </dd>
  65. {{/if}}
  66. {{if type == 2}}
  67. <dd class="word-bread wb-img">
  68. <a class="fancybox" href="{{content | getSourceUrl}}" title="图片">
  69. <img width="100" src="{{content | getSourceUrl}}" />
  70. </a>
  71. </dd>
  72. {{/if}}
  73. {{if type == 3}}
  74. <dd class="word-bread">
  75. <div class="player" style="width:292px;">
  76. <audio controls>
  77. <!-- Audio files -->
  78. <source src="{{content.path | getSourceUrl}}" type="audio/mp3">
  79. <!-- Fallback for browsers that don't support the <audio> element -->
  80. 您的浏览器不支持在线播放,请<a href="{{content.path | getSourceUrl}}">下载</a>
  81. </audio>
  82. </div>
  83. </dd>
  84. {{/if}}
  85. {{if type == 6}}
  86. <dd class="word-bread sys-msg">
  87. <div class="c-f14 sys-header mb5">
  88. <img src="img/xitongtixing_im_icon.png" width="14">本消息为系统提示
  89. </div>
  90. <p class="c-333 c-f14">{{content.title}}</p>
  91. <p class="c-333 c-f14">体征信息:{{content.tzMsg}}</p>
  92. </dd>
  93. {{/if}}
  94. {{if type == 12}}
  95. <dd class="word-bread">
  96. <div class="player" style="width:292px;">
  97. <video poster="{{content.img | getSourceUrl}}" controls crossorigin>
  98. <!-- Video files -->
  99. <source src="{{content.path | getSourceUrl}}" type="video/mp4">
  100. <!-- Text track file -->
  101. <!-- <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/example_captions_en.vtt" default> -->
  102. <!-- Fallback for browsers that don't support the <video> element -->
  103. <a href="{{content.path | getSourceUrl}}">Download</a>
  104. </video>
  105. </div>
  106. </dd>
  107. {{/if}}
  108. {{if type == 15}}
  109. <dd class="word-bread sys-msg">
  110. <div class="c-f14 sys-header mb5">
  111. <img src="img/xitongtixing_im_icon.png" width="14">本消息为系统提示
  112. </div>
  113. <p class="c-333 c-f14">审核消息:</p>
  114. <p class="c-333 c-f14">{{content.title}}</p>
  115. <p class="c-333 c-f14">审核结果:{{content.result}}</p>
  116. {{if content.reason}}
  117. <p class="c-333 c-f14">原因:{{content.reason}}</p>
  118. {{/if}}
  119. <a href="javascript:void(0);" class="view-detail c-f14">点此查看详情</a>
  120. </dd>
  121. {{/if}}
  122. </div>
  123. </dl>
  124. </script>
  125. <script type="text/html" id="prescriptionInfo_tmp">
  126. <h4 class="text-center">{{symptoms}}-续方咨询</h4>
  127. <p class="mt20">诊断结果</p>
  128. <p>
  129. {{each prescriptionDt as dt}}
  130. {{dt.name}}
  131. {{/each}}
  132. </p>
  133. <p class="mt30">药品</p>
  134. <ul class="" style="padding:0">
  135. {{each prescriptionInfo as dg}}
  136. <li class="ui-grid">
  137. <div class="ui-col-1">{{dg.drugName}}</div>
  138. <div class="ui-col-0">{{dg.num}}{{dg.drugNumUnitName}}</div>
  139. </li>
  140. {{/each}}
  141. </ul>
  142. </script>
  143. </body>
  144. <script>
  145. (function(d,u){var a=new XMLHttpRequest(),b=d.body;if("withCredentials" in a){a.open("GET",u,true);a.send();a.onload=function(){var c=d.createElement("div");c.setAttribute("hidden","");c.innerHTML=a.responseText;b.insertBefore(c,b.childNodes[0])}}})(document, "css/plugins/plyr/sprite.svg");
  146. </script>
  147. <script src="js/jquery.min.js?v=2.1.4"></script>
  148. <script src="js/bootstrap.min.js?v=3.3.6"></script>
  149. <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
  150. <script src="js/plugins/slimscroll/jquery.slimscroll.js"></script>
  151. <script src="js/plugins/layer/layer.min.js"></script>
  152. <script src="js/hplus.min.js?v=4.1.0"></script>
  153. <script type="text/javascript" src="js/contabs.min.js"></script>
  154. <script src="js/plugins/pace/pace.min.js"></script>
  155. <script src="js/plugins/toastr/toastr.min.js"></script>
  156. <script src="js/es6-promise.js"></script>
  157. <script src="js/util.js"></script>
  158. <script src="js/template.js"></script>
  159. <script src="js/api-service.js"></script>
  160. <script src="js/consulting-api.js"></script>
  161. <script src="js/plugins/fancybox/jquery.fancybox.js"></script>
  162. <script src="js/plugins/plyr/plyr.js"></script>
  163. <script src="js/plugins/artDialog/6.0.5/api/js/dialog-plus.js"></script>
  164. <script src="js/buz/prescription-consulting.js"></script>
  165. </html>