index.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <!-- 样式写在component/common/jtbc.css里 -->
  2. <el-dialog :visible.sync="visible" :title="title" @close="closeDialog" width="800px">
  3. <div class="patient-box">
  4. <img :src="setImg(patientInfo.photo)" alt="" class="info-avatar" />
  5. <div>
  6. <div style="margin-bottom: 6px">
  7. {{patientInfo.name}} {{patientInfo.sex}} {{patientInfo.age}}岁 {{patientInfo.idcardStr}}
  8. <el-button type="primary" size="mini" @click="copyToClipboard(patientInfo.idcard)">复制证件号码</el-button>
  9. </div>
  10. <div v-if="patientInfo.label">
  11. <el-tag size="medium" style="margin-right: 4px" v-for="(item,index) in patientInfo&&patientInfo.label&&patientInfo.label.split(',')" :key="index">{{item}}</el-tag>
  12. <!-- <el-tag size="medium" style="margin-right: 4px">高血压</el-tag> -->
  13. </div>
  14. </div>
  15. </div>
  16. <el-tabs v-model="type" type="card" v-if="!rehabilitationDetailVisible" v-loading="loading" @tab-click="handleClick">
  17. <el-tab-pane :label="'评估'+'('+patientInfo.assessNum+')'" name="1" class="scollY">
  18. <div class="year-item" v-for="item in assessment">
  19. <div class="year">
  20. <div class="time-label">{{item.year}}</div>
  21. <div class="year-circle"></div>
  22. </div>
  23. <div class="year-content">
  24. <div class="record-item" v-for="el in item.children">
  25. <div class="time-label">
  26. <div>{{el.date}}</div>
  27. <div>{{el.time}}</div>
  28. </div>
  29. <div class="time-circle"></div>
  30. <div class="record-detail-item">
  31. <div>
  32. <div class="risk">{{el.screenResult}}</div>
  33. <div>评估医生:{{el.doctorName}} &ensp; 评估状态:{{el.status}}</div>
  34. </div>
  35. <el-button type="primary" size="medium" @click="goAssessment(el.code)">评估详情</el-button>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </el-tab-pane>
  41. <el-tab-pane :label="'上转'+'('+patientInfo.turnUpNum+')'" name="2" class="scollY">
  42. <div class="year-item" v-for="item in turnup">
  43. <div class="year">
  44. <div class="time-label">{{item.year}}</div>
  45. <div class="year-circle"></div>
  46. </div>
  47. <div class="year-content">
  48. <div class="record-item" v-for="el in item.children">
  49. <div class="time-label">
  50. <div>{{el.date}}</div>
  51. <div>{{el.time}}</div>
  52. </div>
  53. <div class="time-circle"></div>
  54. <div class="record-detail-item">
  55. <div>
  56. <div class="risk">{{el.orgName}}</div>
  57. <div>预约科室:{{el.deptName}} &ensp; 预约医生:{{el.doctorName}}</div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </el-tab-pane>
  64. <el-tab-pane :label="'就诊'+'('+patientInfo.visitNum+')'" name="3" class="scollY">
  65. <div class="year-item" v-for="item in jzList">
  66. <div class="year">
  67. <div class="time-label">{{item.year}}</div>
  68. <div class="year-circle"></div>
  69. </div>
  70. <div class="year-content">
  71. <div class="record-item" v-for="el in item.children">
  72. <div class="time-label">
  73. <div>{{el.date}}</div>
  74. <div>{{el.time}}</div>
  75. </div>
  76. <div class="time-circle"></div>
  77. <div class="record-detail-item">
  78. <div>
  79. <div class="risk">
  80. {{el.orgName}}
  81. <el-tag size="small" style="margin-left: 6px">{{el.outpatientType==1?'门诊':'住院'}}</el-tag>
  82. </div>
  83. <div>预约科室:{{el.outpatientDeptName}} &ensp; 诊断名称:{{el.icd10Name}}</div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </el-tab-pane>
  90. <el-tab-pane :label="'下转'+'('+patientInfo.turnDownNum+')'" name="4" class="scollY">
  91. <div class="year-item" v-for="item in turnDown">
  92. <div class="year">
  93. <div class="time-label">{{item.year}}</div>
  94. <div class="year-circle"></div>
  95. </div>
  96. <div class="year-content">
  97. <div class="record-item" v-for="el in item.children">
  98. <div class="time-label">
  99. <div>{{el.date}}</div>
  100. <div>{{el.time}}</div>
  101. </div>
  102. <div class="time-circle"></div>
  103. <div class="record-detail-item">
  104. <div>
  105. <div class="risk">
  106. {{el.hospitalName}}
  107. <el-tag size="small" style="margin-left: 6px">{{el.eventType}}</el-tag>
  108. </div>
  109. <div>接收社区医院:{{el.orgName}}</div>
  110. </div>
  111. <div>
  112. <div>下转医生:{{el.hospitalDoctor}}</div>
  113. <div>接收医生:{{el.doctorName}}</div>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. </el-tab-pane>
  120. <el-tab-pane :label="'康复计划'+'('+patientInfo.rehabilitationNum+')'" name="5" class="scollY">
  121. <div class="year-item" v-for="item in rehabilitation">
  122. <div class="year">
  123. <div class="time-label">{{item.year}}</div>
  124. <div class="year-circle"></div>
  125. </div>
  126. <div class="year-content">
  127. <div class="record-item" v-for="el in item.children">
  128. <div class="time-label">
  129. <div>{{el.date}}</div>
  130. <div>{{el.time}}</div>
  131. </div>
  132. <div class="time-circle"></div>
  133. <div class="record-detail-item" style="cursor: pointer" @click="toRehabilitationDetail(el)">
  134. <div>
  135. <div class="risk">
  136. {{el.hospitalName}}
  137. <el-tag size="small" style="margin-left: 6px">{{el.eventType}}</el-tag>
  138. </div>
  139. <div>接收社区医院:{{el.orgName}} &ensp;接收医生:{{el.doctorName}}</div>
  140. </div>
  141. <i class="el-icon-arrow-right"></i>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </el-tab-pane>
  147. </el-tabs>
  148. <div v-else>
  149. <div class="between" style="margin-bottom: 10px">
  150. <span>{{currentPlan.hospitalName}}</span>
  151. <span>{{currentPlan.createTime.substring(0,10)}}</span>
  152. </div>
  153. <div class="service-item">
  154. <div class="between">
  155. <div class="c-409eff">康复随访</div>
  156. <div class="complete-situation" v-if="sfList.lenght">
  157. 完成情况:
  158. <span class="c-ff6600">{{sfNumObj.compeletTotal}}/{{sfNumObj.total}}</span>
  159. </div>
  160. </div>
  161. <div class="sf-box">
  162. <div class="sf-item" v-for="(item,index) in sfList" :key="index">
  163. <div class="sf-time">
  164. <div>{{item.create_time.substring(0,10)}}</div>
  165. <div>{{item.create_time.substring(11)}}</div>
  166. </div>
  167. <div class="time-circle"></div>
  168. <div class="sf-doctor">{{item.doctor_name}}</div>
  169. <div class="sf-hospital">{{item.hospital_name}}</div>
  170. <div class="sf-status">{{item.status == '0'?'未完成':'已完成'}}</div>
  171. <el-button type="primary" @click="toDetail(item)" size="mini" v-if="item.status == '1'">查看详情</el-button>
  172. </div>
  173. </div>
  174. </div>
  175. <div class="service-item between" v-for="(item,index) in PlanDetailItems" :key="index">
  176. <div class="c-409eff">{{item.name}}</div>
  177. <div class="complete-situation">
  178. 完成情况:
  179. <span class="c-ff6600" v-if="item.code!=2&&item.code!=3">{{item.compeletTotal}}/{{item.total}}</span>
  180. <span class="c-ff6600" v-else>{{item.compeletTotal}}次</span>
  181. </div>
  182. </div>
  183. <div class="bottom-box">
  184. <el-button @click="back" type="primary">返回康复计划</el-button>
  185. </div>
  186. </div>
  187. <el-dialog title="消息提醒" :visible.sync="messageVisible" @close="closeMessageDialog" width="540px" append-to-body>
  188. <div v-html="messInfo"></div>
  189. <span slot="footer" class="dialog-footer">
  190. <el-button @click="messageVisible = false">取消</el-button>
  191. </span>
  192. </el-dialog>
  193. </el-dialog>