prescription-detail.html 12 KB

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