prescription-detail.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. <title>续方详情</title>
  7. <meta name="keywords" content="">
  8. <meta name="description" content="">
  9. <link rel="shortcut icon" href="favicon.ico">
  10. <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  11. <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  12. <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
  13. <link href="css/animate.min.css" rel="stylesheet">
  14. <link href="css/style.css?v=4.1.0" rel="stylesheet">
  15. <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
  16. <style>
  17. table td { padding-top: 5px; padding-bottom: 5px; }
  18. .ibox-content { padding-left: 0; padding-bottom: 0; }
  19. .ibox { margin-bottom: 0; }
  20. #adjustReason { padding: 0; }
  21. #adjustReason li.active {
  22. background-color: #12b7f5;
  23. color: #fff;
  24. }
  25. .wordCount {
  26. position:absolute;
  27. bottom: 5px;
  28. right: 15px;
  29. }
  30. #disagreeAudit, #agreeAudit { display: none; }
  31. </style>
  32. </head>
  33. <body class="white-bg plr10">
  34. <div id="main"></div>
  35. <script id="detailTmpl" type="text/html">
  36. <div class="ibox">
  37. <div class="mt15">
  38. <p class="c-333 c-f16 mb5">原处方记录</p>
  39. </div>
  40. <div class="ibox-content">
  41. <table class="c-wp100 c-999">
  42. <tr>
  43. <td>开方时间:{{prescription.presCreateTime}}</td>
  44. <td>开方医生:{{prescription.doctorName}}</td>
  45. </tr>
  46. <tr>
  47. <td>剩余药品可用天数:2天</td>
  48. <td>医院/科室:{{prescription.hospitalName}} / {{prescription.deptName}}</td>
  49. </tr>
  50. </table>
  51. </div>
  52. </div>
  53. <div class="ibox">
  54. <div class="mt15">
  55. <p class="c-333 c-f16 mb5">居民信息</p>
  56. </div>
  57. <div class="ibox-content">
  58. <table class="c-wp100 c-999">
  59. <tr>
  60. <td>续方居民:{{patient.name}}</td>
  61. <td>医保卡号:{{patient.ssc}}</td>
  62. <td>身份证号:{{patient.idcard | idcardWidthStar}}</td>
  63. </tr>
  64. </table>
  65. </div>
  66. </div>
  67. <div class="ibox mb5">
  68. <div class="mt15">
  69. <p class="c-333 c-f16 mb5">临床诊断</p>
  70. </div>
  71. <div class="ibox-content">
  72. <table class="c-wp100 c-999">
  73. <tr>
  74. <td>诊断结果:<span class="c-333">{{diagnosisNames}}</span></td>
  75. </tr>
  76. </table>
  77. </div>
  78. </div>
  79. <div class="ibox">
  80. <div class="mt15">
  81. <p class="c-333 c-f16 mb5">RP
  82. {{if prescriptionAdjust && prescriptionAdjust.id }}
  83. <span class="fr c-f14 c-12b7f5">已调整</span>
  84. {{/if}}
  85. </p>
  86. </div>
  87. <div class="ibox-content">
  88. <table ble class="c-wp100 c-999">
  89. {{each prescriptionInfo as p i}}
  90. <tr>
  91. <td class="c-333">{{p.drugName}}</td>
  92. <td>用法: <span class="c-333">{{p.direction}} {{p.drugRate}}</span></td>
  93. <td>总量:<span class="c-333">{{p.num}}{{p.drugNumUnitName}}</span></td>
  94. <td>规格:<span class="c-333">{{p.drugFormat}}</span></td>
  95. </tr>
  96. {{/each}}
  97. </table>
  98. {{if prescriptionAdjust && prescriptionAdjust.id }}
  99. <p class="c-999 mt10">调整原因:{{prescriptionAdjust.reason || '-'}}</p>
  100. {{/if}}
  101. </div>
  102. </div>
  103. <div class="ibox mb5">
  104. <div class="mt15">
  105. <p class="c-333 c-f16 mb5">续方信息</p>
  106. </div>
  107. <div class="ibox-content">
  108. {{if prescription.status == '31' }}
  109. <table class="c-wp100 c-999">
  110. <tr>
  111. <td>续方状态:<span class="c-333">{{prescription.status | getStatusName}}</span></td>
  112. <td>失败时间:<span class="c-333">{{prescription.failTime || ''}}</span></td>
  113. </tr>
  114. <tr>
  115. <td colspan="2">续方说明:<span class="c-333">{{prescription.reason}}</span></td>
  116. </tr>
  117. <tr>
  118. <td colspan="2">失败原因:<span class="c-333">{{prescription.failReason}}</span></td>
  119. </tr>
  120. </table>
  121. {{else}}
  122. <table class="c-wp100 c-999">
  123. <tr>
  124. <td>续方状态:<span class="c-333">{{prescription.status | getStatusName}}</span></td>
  125. </tr>
  126. <tr>
  127. <td>续方说明:<span class="c-333">{{prescription.reason}}</span></td>
  128. </tr>
  129. </table>
  130. {{/if}}
  131. </div>
  132. </div>
  133. {{if prescription.status >= 0 && prescription.status <= 10 && isLeader }}
  134. <div id="presctiptionAudit" class="ibox mb5">
  135. <div class="mt15">
  136. <p class="c-333 c-f16 mb5">续方审核</p>
  137. </div>
  138. <div class="ibox-content">
  139. <form class="form-horizontal">
  140. <div class="form-group">
  141. <label class="col-sm-3 control-label c-w100">审核结果:</label>
  142. <div class="col-sm-8 c-w270">
  143. <select id="auditResultSel" class="form-control" name="auditResultSel">
  144. <option>请选择审核结果</option>
  145. <option value="1">审核通过</option>
  146. <option value="2">审核不通过</option>
  147. </select>
  148. </div>
  149. </div>
  150. <div id="agreeAudit">
  151. <div class="form-group">
  152. <label class="col-sm-3 control-label c-w100" >诊查费用:</label>
  153. <div class="col-sm-8 c-w270">
  154. <select id="feeSel" class="form-control" name="feeSel">
  155. <option>请按医生级别选择诊查费用</option>
  156. {{each feeRes as fee i}}
  157. <option value="{{fee.deptCode}} {{fee.registerFee}}">{{fee.registerTypeName}} {{fee.registerFee?fee.registerFee+'元': ''}}</option>
  158. {{/each}}
  159. </select>
  160. </div>
  161. </div>
  162. <div class="form-group">
  163. <label class="col-sm-3 control-label c-w100">开方科室:</label>
  164. <div class="col-sm-8 c-w270">
  165. <select id="deptSel" class="form-control" name="deptSel">
  166. {{if depts.length == 1}}
  167. <option value="{{depts[0].deptCode}}">{{depts[0].deptName}}</option>
  168. {{else}}
  169. <option>请选择你所在的科室</option>
  170. {{each depts as dept i}}
  171. <option value="{{dept.deptCode}}">{{dept.deptName}}</option>
  172. {{/each}}
  173. {{/if}}
  174. </select>
  175. </div>
  176. </div>
  177. <div class="form-group">
  178. <label class="col-sm-3 control-label c-w100" >审方密码:</label>
  179. <div class="col-sm-8" >
  180. {{if isAuthentication}}
  181. <input id="reviewPassword" type="password" placeholder="请输入审方密码" class="form-control" style="width: 240px;">
  182. {{else}}
  183. <div class="pt7 c-f96565">审方密码:您暂未申请CA认证,请先在i健康APP上完成CA认证,认证路径:我的——设置——CA认证</div>
  184. {{/if}}
  185. </div>
  186. </div>
  187. </div>
  188. <div id="disagreeAudit">
  189. <table style="width: 80%">
  190. <tr>
  191. <td class="c-w100 pt10 c-vat">
  192. 不通过原因:
  193. </td>
  194. <td>
  195. <ul id="adjustReason" class="clearfix">
  196. {{each reasonTypes as r i}}
  197. <li data-code="{{r.code}}" class="fl c-b-c12b7f5 c-border c-12b7f5 ptb5 plr20 c-b-r20 mt10 mr10">
  198. {{r.value}}
  199. </li>
  200. {{/each}}
  201. </ul>
  202. <div class="pr">
  203. <textarea id="disagreeReason" class="c-wp100 mt10 c-h100 ptb10 plr10" calcWorld="200"></textarea>
  204. <span class="c-999 wordCount">0/200</span>
  205. </div>
  206. </td>
  207. </tr>
  208. </table>
  209. </div>
  210. </form>
  211. </div>
  212. </div>
  213. {{else if reviewed && reviewed.id}}
  214. <div class="ibox mb5">
  215. <div class="mt15">
  216. <p class="c-333 c-f16 mb5">审核记录</p>
  217. </div>
  218. <div class="ibox-content">
  219. <table class="c-wp100 c-999">
  220. <tr>
  221. <td>申请时间:<span class="c-333">{{reviewed.createTime}}</span></td>
  222. <td>审核医生:<span class="c-333">{{reviewed.doctorName}}</span></td>
  223. </tr>
  224. <tr>
  225. <td>审核机构:<span class="c-333">{{reviewed.hospitalName}}</span></td>
  226. <td>审核时间:<span class="c-333">{{reviewed.reviewedTime}}</span></td>
  227. </tr>
  228. <tr>
  229. <td>审核结果:<span class="c-333">{{reviewed.status | getReviewResultName}}</span></td>
  230. <td></td>
  231. </tr>
  232. </table>
  233. </div>
  234. </div>
  235. {{/if}}
  236. <div class="c-tac mb20 mt20">
  237. <button id="reviewBtn" type="button" class="btn btn-w-m btn-success mlr20">确认</button>
  238. <!--<button id="editBtn" type="button" class="btn btn-w-m btn-primary mlr20">调整处方</button>-->
  239. <button id="backBtn" type="button" class="btn btn-w-m btn-danger mlr20">返回</button>
  240. </div>
  241. </script>
  242. <script src="js/jquery.min.js?v=2.1.4"></script>
  243. <script src="js/bootstrap.min.js?v=3.3.6"></script>
  244. <script src="js/content.min.js?v=1.0.0"></script>
  245. <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
  246. <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  247. <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  248. <script src="js/plugins/toastr/toastr.min.js"></script>
  249. <script src="js/es6-promise.js"></script>
  250. <script src="js/underscore.js"></script>
  251. <script src="js/api-service.js"></script>
  252. <script src="js/prescription-detail-api.js"></script>
  253. <script src="js/util.js"></script>
  254. <script src="js/template.js"></script>
  255. <script src="js/buz/prescription-detail.js"></script>
  256. </body>
  257. </html>