prescription-consulting.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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 rel="stylesheet" type="text/css" href="js/plugins/layer/skin/layer.css"/>
  19. <link href="css/style.css" rel="stylesheet">
  20. <link rel="stylesheet" href="css/consulting.css">
  21. <link rel="stylesheet" href="css/plugins/plyr/plyr.css">
  22. </head>
  23. <body class="">
  24. <div class="consulting-panel ui-grid border-bottom">
  25. <div class="ui-col-3 border-right" style="height: 100%">
  26. <div class="info-panel">审核完成24时后将自动关闭咨询,<a onclick="finish()">点击关闭</a></div>
  27. <div class="text-center">
  28. <span class="diseaseInfo"></span>
  29. </div>
  30. <div style="height: calc(100% - 74px);">
  31. <div class="plr20 pb20" id="talkBox"></div>
  32. </div>
  33. </div>
  34. <div class="ui-col-1" style="height: 100%">
  35. <div style="height: calc(100% - 102px)">
  36. <div class="ptb20 plr10" id="prescriptionInfo"></div>
  37. </div>
  38. <div class="text-center">
  39. <div class="mb30 hidden" id="importDrugs"><a class="link-blue import-drugs">填入随访记录</a></div>
  40. <span class="status-btn"></span>
  41. </div>
  42. </div>
  43. <div class="quick-reply-panel">
  44. <ul class="reply-list">
  45. </ul>
  46. </div>
  47. </div>
  48. <div class="input-panel">
  49. <div class="action-panel">
  50. <span class="consult-icon icon-image" onclick="file_head.click()"></span>
  51. <input type="file" class="hidden" id="file_head" accept="image/*">
  52. <span class="consult-icon icon-reply" onclick="showQuickReplyPanel(this)"></span>
  53. </div>
  54. <div id="input_content" type="text" class="input-msg width-100" ></div>
  55. <button class="btn send-btn" type="button"><i class="fa fa-send mr5"></i>发送</button>
  56. </div>
  57. <!-- 系统消息模板 -->
  58. <script type="text/html" id="sys_msg_tmp">
  59. <div class="time-tips"><span class="xt-xiaoxi">{{content}}</span></div>
  60. </script>
  61. <!-- 消息模板 -->
  62. <script type="text/html" id="msg_tmp">
  63. <div class="time-tips"><span>{{time}}</span></div>
  64. <dl class="{{if isSelf}}chat-right{{else}}chat-left{{/if}} {{if type==17}}mb10-i{{/if}}">
  65. <dt style="height: auto; text-align: center;">
  66. <img src="{{img}}" class="images-cycle"/>
  67. </dt>
  68. <div class="c-content">
  69. <span class="c-f12 name">{{name}}</span>
  70. {{if type == 0 || type == 1 || type == 8 }}
  71. <dd class="word-bread">
  72. <span>{{content}}</span>
  73. </dd>
  74. {{/if}}
  75. {{if type == 2}}
  76. <dd class="word-bread wb-img">
  77. <a class="fancybox" href="{{content | getSourceUrl}}" title="图片">
  78. <img width="100" src="{{content | getSourceUrl}}" />
  79. </a>
  80. </dd>
  81. {{/if}}
  82. {{if type == 3}}
  83. <dd class="word-bread">
  84. <div class="player" style="width:292px;">
  85. <audio controls>
  86. <!-- Audio files -->
  87. <source src="{{content.path | getSourceUrl}}" type="audio/mp3">
  88. <!-- Fallback for browsers that don't support the <audio> element -->
  89. 您的浏览器不支持在线播放,请<a href="{{content.path | getSourceUrl}}">下载</a>
  90. </audio>
  91. </div>
  92. </dd>
  93. {{/if}}
  94. {{if type == 6}}
  95. <dd class="word-bread sys-msg">
  96. <div class="c-f14 sys-header mb5">
  97. <img src="img/xitongtixing_im_icon.png" width="14">本消息为系统提示
  98. </div>
  99. <p class="c-333 c-f14">{{content.title}}</p>
  100. <p class="c-333 c-f14">体征信息:{{content.tzMsg}}</p>
  101. </dd>
  102. {{/if}}
  103. {{if type == 12}}
  104. <dd class="word-bread">
  105. <div class="player" style="width:292px;">
  106. <video poster="{{content.img | getSourceUrl}}" controls crossorigin>
  107. <!-- Video files -->
  108. <source src="{{content.path | getSourceUrl}}" type="video/mp4">
  109. <!-- Text track file -->
  110. <!-- <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/example_captions_en.vtt" default> -->
  111. <!-- Fallback for browsers that don't support the <video> element -->
  112. <a href="{{content.path | getSourceUrl}}">Download</a>
  113. </video>
  114. </div>
  115. </dd>
  116. {{/if}}
  117. {{if type == 15}}
  118. <dd class="word-bread sys-msg">
  119. <div class="c-f14 sys-header mb5">
  120. <img src="img/xitongtixing_im_icon.png" width="14">本消息为系统提示
  121. </div>
  122. <p class="c-333 c-f14">审核消息:</p>
  123. <p class="c-333 c-f14">{{content.title}}</p>
  124. <p class="c-333 c-f14">审核结果:{{content.result}}</p>
  125. {{if content.reason}}
  126. <p class="c-333 c-f14">原因:{{content.reason}}</p>
  127. {{/if}}
  128. <a href="javascript:void(0);" class="view-detail c-f14">点此查看详情</a>
  129. </dd>
  130. {{/if}}
  131. <!-- 添加随访相关的体统消息 -->
  132. {{if type == 16}}
  133. {{if isSelf}}
  134. <dd class="word-bread msg-fv">
  135. <div class="fv-content">
  136. <span class="c-333 c-f14 bgc-fff">{{content.text}}</span>
  137. </div>
  138. </dd>
  139. {{else}}
  140. <dd class="word-bread sys-msg">
  141. <div class="c-f14 sys-header mb5">
  142. <img src="img/xitongtixing_im_icon.png" width="14">本消息为系统提示
  143. </div>
  144. {{if content.needUpload == "false"}}
  145. <p class="c-333 c-f14">{{content.tzMsg}}</p>
  146. <p class="c-333 c-f14">{{content.tzTime}}</p>
  147. {{/if}}
  148. <p class="c-333 c-f14">
  149. {{content.tzAlert}}
  150. {{if content.needUpload == "false"}}
  151. <a href="javascript:void(0);" class="import-fv c-f14 link-blue" data-type="{{content.type}}" data-health="{{content.healthindexid}}">自动填入本次随访记录</a>
  152. {{/if}}
  153. </p>
  154. </dd>
  155. {{/if}}
  156. {{/if}}
  157. {{if type == 17}}
  158. {{if isSelf}}
  159. <dd class="word-bread msg-fv">
  160. <div class="fv-content">
  161. <span class="c-333 c-f14 bgc-fff">{{content.text}}</span>
  162. </div>
  163. </dd>
  164. {{else}}
  165. <dd class="word-bread sys-msg">
  166. <div class="c-f14 sys-header mb5">
  167. <img src="img/xitongtixing_im_icon.png" width="14">本消息为系统提示
  168. </div>
  169. <p class="c-333 c-f14">
  170. {{content.text}}
  171. <a href="javascript:void(0);" class="view-survey c-f14 link-blue" data-type="{{content.msgType}}">查看</a>
  172. </p>
  173. </dd>
  174. {{/if}}
  175. {{/if}}
  176. </div>
  177. </dl>
  178. {{if type == 17 && isSelf}}
  179. <div class="text-center">
  180. <span class="fv-remind">{{content.doctorremind}}</span>
  181. </div>
  182. {{/if}}
  183. </script>
  184. <script type="text/html" id="prescriptionInfo_tmp">
  185. <h4 class="text-center">{{symptoms}}-续方咨询</h4>
  186. <p class="mt20">诊断结果:</p>
  187. <p>
  188. {{each prescriptionDt as dt}}
  189. {{dt.name}}
  190. {{/each}}
  191. </p>
  192. <p class="mt30">药品:</p>
  193. <ul class="" style="padding:0">
  194. {{each prescriptionInfo as dg}}
  195. <li class="ui-grid">
  196. <div class="ui-col-1">{{dg.drugName}}</div>
  197. <div class="ui-col-0">{{dg.num}}{{dg.drugNumUnitName}}</div>
  198. </li>
  199. {{/each}}
  200. </ul>
  201. </script>
  202. <!--快捷回复模板-->
  203. <script type="text/html" id="quick_reply_tmp">
  204. {{each list as it}}
  205. <li data-json="{{it | getJsonStr}}" class="reply-item">
  206. {{it.content}}
  207. </li>
  208. {{/each}}
  209. <li data-name="add" class="c-12b7f5 addMore"><img src="img/tianjia_icon.png" class="mr5">更多快捷回复</li>
  210. </script>
  211. <!--快捷回复列表模板 -->
  212. <script type="text/html" id="reply_tmp">
  213. <ul class="reply-list2">
  214. {{each list as it index}}
  215. <li data-json="{{it | getJsonStr}}" data-id="{{it.id}}" class="flex-box-li reply-item">
  216. <div class="col-0" style="width:30px;">
  217. <img src="img/qingchu_icon.png" class="del-icon">
  218. </div>
  219. <div class="col-1 mr10 content work-break">{{it.content}}</div>
  220. <div class="col-0" style="width:60px;">
  221. {{if index > 0}}
  222. <img src="img/shanyi_icon.png" class="mr10 up-icon">
  223. {{else}}
  224. <span style="margin-right: 33px;"></span>
  225. {{/if}}
  226. <img src="img/xiayi_icon.png" class="down-icon">
  227. </div>
  228. </li>
  229. {{/each}}
  230. </ul>
  231. </script>
  232. </body>
  233. <script>
  234. (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");
  235. </script>
  236. <script src="js/jquery.min.js?v=2.1.4"></script>
  237. <script src="js/bootstrap.min.js?v=3.3.6"></script>
  238. <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
  239. <script src="js/plugins/slimscroll/jquery.slimscroll.js"></script>
  240. <script src="js/plugins/layer/layer.min.js"></script>
  241. <script src="js/hplus.min.js?v=4.1.0"></script>
  242. <script type="text/javascript" src="js/contabs.min.js"></script>
  243. <script src="js/plugins/pace/pace.min.js"></script>
  244. <script src="js/plugins/toastr/toastr.min.js"></script>
  245. <script src="js/es6-promise.js"></script>
  246. <script src="js/underscore.js" type="text/javascript" charset="utf-8"></script>
  247. <script src="js/util.js"></script>
  248. <script src="js/template.js"></script>
  249. <script src="js/api-service.js"></script>
  250. <script src="js/consulting-api.js"></script>
  251. <script src="js/plugins/fancybox/jquery.fancybox.js"></script>
  252. <script src="js/plugins/plyr/plyr.js"></script>
  253. <script src="js/plugins/artDialog/6.0.5/api/js/dialog-plus.js"></script>
  254. <script src="js/buz/prescription-consulting.js"></script>
  255. </html>