rehabilitation_management.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>康复管理</title>
  6. <link rel="shortcut icon" href="../../favicon.ico">
  7. <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css" />
  8. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
  9. <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
  10. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  11. <link rel="stylesheet" type="text/css" href="../css/date.css" />
  12. <link rel="stylesheet" href="../css/rehabilitation_management.css" />
  13. <style>
  14. .plr11{
  15. padding-left: 11px;
  16. padding-right: 11px;
  17. }
  18. .div-line{
  19. width: 4px; height: 20px;background: #12b7f5;
  20. margin-right: 9px;
  21. margin-top: 5px;
  22. }
  23. .lh30{
  24. height: 30px;
  25. line-height: 30px;
  26. }
  27. .mr21{
  28. margin-right: 21px;
  29. }
  30. .c-ff9630{
  31. color: #ff9630;
  32. }
  33. .pb23{
  34. padding-bottom: 23px;
  35. }
  36. .plr13{
  37. padding-left: 13px;
  38. padding-right: 13px;
  39. }
  40. .dialos-textarea{
  41. padding: 25px 10px 25px 15px;
  42. min-height: 140px;
  43. width: 100%;
  44. background: #F5F5FA;
  45. border: 0;
  46. margin-top: 5px;
  47. text-indent: 28px;
  48. resize: none;
  49. line-height: 28px;
  50. }
  51. </style>
  52. </head>
  53. <body>
  54. <div class="c-container ui-grid ui-grid-vertical" id="app" v-cloak>
  55. <div class="page-title flex-box ui-col-0">
  56. <div class="flex-box-item mw400" flex-grow="2">
  57. <span class="page-title-name">康复计划</span>
  58. <a class="icon icon-back icon-16 mr10" href="javascript:history.back();"></a><i class="icon icon-shuaxin icon-16" @click="refreshPage"></i>
  59. </div>
  60. <div class="flex-box-item text-center" flex-grow="5">
  61. <div class="div-kuaisu-task" @click="changeSearch(1)" v-show="tabStatus!=3">快速找任务</div>
  62. <div class="pull-right switch-list" v-show="tabStatus!=3">
  63. <span class="rili" :class="{active:(tabStatus==1)}" @click="tabStatus=1"><i class="icon icon-rili icon-20"></i></span>
  64. <span class="shijianzhou" :class="{active:(tabStatus==2)}" @click="tabStatus=2"><i class="icon icon-liebiao icon-20"></i></span>
  65. </div>
  66. </div>
  67. </div>
  68. <div class="rehabilition c-position-r bgc-f5f5f5 ui-col-1">
  69. <div class="search-left w400 c-position-a">
  70. <span class="c-position-a set-close" @click="changeSearch(-1)"></span>
  71. <div class="search-condition">
  72. <p>快速找任务</p>
  73. <ul class="task-list">
  74. <li :class="{'active':(searchTask==task.code)}" v-for="task in taskArr" @click="changeTask(task)">{{task.name}}</li>
  75. </ul>
  76. <p>任务状态</p>
  77. <ul class="task-list">
  78. <li :class="{'active':(status==sts.code)}" v-for="sts in statusArr" @click="changeStatus(sts.code)">{{sts.name}}</li>
  79. </ul>
  80. </div>
  81. <div class="text-center">
  82. <button class="btn btn-search" @click="goToLoadData">确认</button>
  83. </div>
  84. </div>
  85. <div class="ui-grid c-h100">
  86. <div class="div-left ui-col-0 plr11" style="position: fixed;height: 100%;overflow: auto;">
  87. <div class="ui-grid c-border-b lh30">
  88. <div class="ui-col-0 div-line"></div>
  89. <div class="ui-col-1 c-f16 c-333">居民信息</div>
  90. </div>
  91. <div class="ui-grid c-border-b pb15 pt15">
  92. <div class="ui-col-0 mr10">
  93. <img :src="setImgSrc(planInfo.patientPhoto)" width="40" class="c-images-cycle">
  94. </div>
  95. <div class="ui-col-1">
  96. <div class="mt10"><span class="c-f16 mr5">{{planInfo.patientName}}</span><span class="c-f16 c-999">({{planInfo.sex}} {{planInfo.age}}岁)</span></div>
  97. <div class="tag mt10 tag-1 ml20"></div>
  98. </div>
  99. <!--<div class="ui-col-0 div-patient-home c-f14 c-333">进入居民首页</div>-->
  100. </div>
  101. <div class="ui-grid mt15 pb15">
  102. <div class="ui-col-1 c-f16 c-333">冠心病康复计划</div>
  103. <div class="ui-col-1 c-f14 c-999">总进度:</div>
  104. <div class="ui-col-0 div-patient-comfirm c-f14 c-fff bgc-12b7f5" v-show="planInfo.status==2 && !planInfo.patientImg" @tap="weiXinConfirmClick">邀请居民确认</div>
  105. </div>
  106. <div class="ui-grid">
  107. <div class="ui-col-1">
  108. <div class="progress-bar">
  109. <span class="progress bgc-ff9526" :style="{width: (planInfo.finishedCount/planInfo.allCount*100)+'%'}"></span>
  110. <span class="p-text">{{planInfo.finishedCount}}/{{planInfo.allCount}}</span>
  111. </div>
  112. </div>
  113. </div>
  114. <div class="ui-grid c-border-b lh30 mt15">
  115. <div class="ui-col-0 div-line"></div>
  116. <div class="ui-col-1 c-f16 c-333">服务医生</div>
  117. </div>
  118. <div class="ui-grid pt15" v-for="doc in docList">
  119. <div class="ui-col-0 ml30 mr21">
  120. <img :src="setImgSrc(doc.doctorPhoto)" width="40" class="c-images-cycle">
  121. </div>
  122. <div class="ui-col-0" style="width: 150px;">
  123. <div class="c-f16 c-333">{{doc.doctorName}}</div>
  124. <div class="c-f14 c-999">{{doc.type}}</div>
  125. </div>
  126. <div class="ui-col-1" style="width: 200px;">
  127. <div class="c-f14 c-333">完成项目:<span class="c-f14 c-ff9630">{{doc.finishedItem}}</span></div>
  128. <div class="c-f14 c-333">服务次数:<span class="c-f14 c-ff9630">{{doc.serviceCount}}</span></div>
  129. </div>
  130. </div>
  131. <!--<div class="ui-grid c-border-b lh30 mt15">
  132. <div class="ui-col-0 div-line"></div>
  133. <div class="ui-col-1 c-f16 c-333">出院医嘱</div>
  134. </div>
  135. <div class="w-100 c-border pb23 plr13 mt10 mb50">
  136. <div class="ui-grid pt20">
  137. <div class="ui-col-1">
  138. <div class="ui-grid">
  139. <div class="c-f14 c-999 ui-col-1">冠心病诊断</div>
  140. <div class="c-f14 c-999 ui-col-0">2018/08/01</div>
  141. </div>
  142. <div class="dialos-textarea c-f14 c-333">我们的冠心病发病率和死亡率呈快速上升趋势。40岁以后每增加10岁,患者率就要递增1倍左右,发病年龄有越来越年轻的人趋势。我们的冠心病发病率和死亡率呈快速上升趋势。40岁以后每增加10岁,患者率就要递增1倍左右,发病年龄有越来越年轻的人趋势。</div>
  143. </div>
  144. </div>
  145. </div>-->
  146. </div>
  147. <div class="nav-content-center bgc-fff c-position-r c-h100 div-right ui-col-1" style="margin-left: 460px;height: 100%;" v-show="tabStatus==3">
  148. <iframe id="framePage" src="" style="width: 100%;height: 100%;border: 0;"></iframe>
  149. </div>
  150. <div class="nav-content-center bgc-fff c-position-r c-h100 div-right ui-col-1" style="margin-left: 460px;" v-show="tabStatus!=3">
  151. <span style="position: absolute;top: 15px;left: 101px;">
  152. <i class="icon icon-prev icon-20" @click="preMonth"></i>
  153. <span class="currentDay">{{currentDay}}</span>
  154. <i class="icon icon-next icon-20" @click="nextMonth"></i></span>
  155. <div class="calendar-content" v-show="tabStatus==1">
  156. <div class="calendar-descript">
  157. <span>图例注释: </span><i class="icon icon-blue"></i> <span>专科团队</span>&emsp;<i class="icon icon-green"></i> <span>家医团队</span>&emsp; <i class="icon icon-flag"></i> <span>我的任务</span>
  158. </div>
  159. <div class="calendar-week">
  160. <div class="flex-box text-center">
  161. <div class="flex-box-item">
  162. 周一
  163. </div>
  164. <div class="flex-box-item">
  165. 周二
  166. </div>
  167. <div class="flex-box-item">
  168. 周三
  169. </div>
  170. <div class="flex-box-item">
  171. 周四
  172. </div>
  173. <div class="flex-box-item">
  174. 周五
  175. </div>
  176. <div class="flex-box-item">
  177. 周六
  178. </div>
  179. <div class="flex-box-item">
  180. 周日
  181. </div>
  182. </div>
  183. </div>
  184. <div class="calendar-days">
  185. <div v-for="items in calendarData" class="flex-box">
  186. <!--
  187. -->
  188. <div class="calendar-day" v-for="item in items" @click="viewDetail(item.planDetailIds)" :is-future="item.future">
  189. <span class="day-number">{{item.day}}</span>
  190. <div class="task-icon">
  191. <i v-if="item.myTaskFlag" class="icon icon-flag icon-20"></i>
  192. <i v-if="item.finishFlag" class="icon icon-check"></i>
  193. </div>
  194. <div class="coloured-box">
  195. <span v-if="item.specialist" class="coloured-ribbon coloured-ribbon-blue">专<br />科</span>
  196. <span v-if="item.family" class="coloured-ribbon coloured-ribbon-green">家<br />医</span>
  197. </div>
  198. <div class="progress-box">
  199. <div class="progress" :style="{opacity:item.specialist?'1':'0'}">
  200. <span>{{(item.specialist && item.specialist.finish)+'/'+(item.specialist && item.specialist.all)}}</span>
  201. <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" :style="{width: (item.specialist?(item.specialist.finish/item.specialist.all):0)*100+'%'}"></div>
  202. </div>
  203. <div class="progress" :style="{opacity:item.family?'1':'0'}">
  204. <span>{{(item.family && item.family.finish)+'/'+(item.family && item.family.all)}}</span>
  205. <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" :style="{width: (item.family?(item.family.finish/item.family.all):0)*100+'%'}"></div>
  206. </div>
  207. <p v-if="!item.noService" class="mb0 f12" :class="{'visibility-hide':!curTask}" style="line-height: 1;">{{curTaskName || '&emsp;'}}</p>
  208. </div>
  209. <p v-if="item.noService" class="no-server">无服务项</p>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <div class="time-axis mt50" v-show="tabStatus==2">
  215. <table class="table">
  216. <tr>
  217. <th style="padding-right: 50px;text-align: right;">时间</th>
  218. <th>项目</th>
  219. <th>执行人员</th>
  220. <th>执行地点</th>
  221. <th class="text-center">相关记录</th>
  222. <th class="text-center">状态</th>
  223. </tr>
  224. <tr v-for="item in timeAxisData" :is-future="item.future">
  225. <td class="time text-right time-box">
  226. <p class="mb5">{{item.date}}</p>
  227. <p class="mb0">{{item.time}}</p>
  228. <span class="cur-status">{{item.html}}</span>
  229. </td>
  230. <td class="project-name mw400">
  231. <p class="mb5">{{item.title}}</p>
  232. <p class="ellipsis mb0">{{item.content}}</p>
  233. </td>
  234. <td class="executor">{{item.doctor_name}}</td>
  235. <td class="place-of-execution">{{item.hospital_name}}</td>
  236. <td class="view-task" @click="viewDetail(item.id,item.status,1)">查看</td>
  237. <td class="task-status" :class="item.future==-1?'c-ff3b30':(item.status==0?'c-666':'')">{{item.status==0?'未完成':(item.status==1?'已完成':'已预约')}}</td>
  238. </tr>
  239. <tr v-if="!timeAxisData.length">
  240. <td colspan="6" class="f16 ptb10 text-center">
  241. <img src="../../../images/wushuju_img.png" />
  242. <p class="c-666">暂无数据</p>
  243. </td>
  244. </tr>
  245. </div>
  246. </div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. <script type="text/javascript" src="../../../js/vue.js"></script>
  252. <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
  253. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  254. <script src="../../../plugins/toastr/toastr.min.js"></script>
  255. <script type="text/javascript" src="../../../api/http-request.js"></script>
  256. <script type="text/javascript" src="../../../plugins/layer/layer.min.js"></script>
  257. <script type="text/javascript" src="../../../api/rehabilitation-api.js"></script>
  258. <script type="text/javascript" src="../../../js/underscore-1.9.1.js"></script>
  259. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  260. <script type="text/javascript" src="../js/rehabilitation_management.js"></script>
  261. </body>
  262. </html>