prescription-detail.html 12 KB

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