index.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. <div class="copd-service-record-box">
  2. <div class="service-base-info">
  3. <div class="base-title ki-title ta-title">基本信息</div>
  4. <div class="base-content">
  5. <div class="base-info-item">姓名:{{detailInfo.name}}</div>
  6. <div class="base-info-item">性别:{{detailInfo.sexName}}</div>
  7. <div class="base-info-item">证件号码:{{detailInfo.idcard}}</div>
  8. <div class="base-info-item">联系电话:{{detailInfo.mobile}}</div>
  9. <div class="base-info-item">下转状态:{{detailInfo.turnDownStatus==1?'已下转':'未下转'}}</div>
  10. <template v-if="detailInfo.turnDownStatus==1&&detailInfo.receiveStatus!=1">
  11. <div class="base-info-item">分配医院:{{detailInfo.hospitalName}}</div>
  12. <div class="base-info-item">分配医生:{{detailInfo.basicDoctorName}}</div>
  13. </template>
  14. <div class="base-info-item">接收状态:{{detailInfo.receiveStatus==1?'已接收':'未接收'}}</div>
  15. <template v-if="detailInfo.receiveStatus==1">
  16. <div class="base-info-item">接收医院:{{detailInfo.hospitalName}}</div>
  17. <div class="base-info-item">接收医生:{{detailInfo.doctorName}}</div>
  18. </template>
  19. </div>
  20. </div>
  21. <div class="service-record-timeline">
  22. <div class="title">服务记录</div>
  23. <div>
  24. <div class="mb10 mt10" style="display: flex;align-items: center;">
  25. <span>服务年份:</span>
  26. <el-radio-group v-model="serviceYear" @input="getDealRecord">
  27. <el-radio-button :label="item.value" v-for="item in yearList">{{item.label}}</el-radio-button>
  28. </el-radio-group>
  29. <el-date-picker v-model="customizeYear" style="width: 400px;" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" v-if="serviceYear=='customize'" value-format="yyyy-MM-dd" @change="getDealRecord"></el-date-picker>
  30. </div>
  31. <div style="display: flex;align-items: center;">
  32. <span>服务节点:</span>
  33. <el-radio-group v-model="serviceNode" @input="getDealRecord">
  34. <el-radio-button :label="item.value" v-for="item in nodeList">{{item.label}}</el-radio-button>
  35. </el-radio-group>
  36. </div>
  37. </div>
  38. <div class="record-list time-line">
  39. <div class="timeline" v-loading="loading">
  40. <div v-for="(event, eI) in events" :key="eI">
  41. <div class="timeline-item" v-if="event.flag">
  42. <div class="timeline-time" :id="'left-' + eI">{{ event.createTime&&event.createTime.substring(0,4)}}</div>
  43. </div>
  44. <div class="timeline-item" :class="{'timeline-item-blue-dot': event.createTime != null}">
  45. <div class="timeline-time" :id="'left-' + eI">{{event.createTime&& event.createTime.slice(5) }}</div>
  46. <div class="timeline-content" :id="'right-' + eI">
  47. <div class="data-item">
  48. <div class="data-title">
  49. {{getTypeName(event.type)}}
  50. </div>
  51. <div class="data-cont" v-if="event.type!=5&&event.type!=6&&event.type!=7&&event.type!=8">
  52. <div style="width: 50%">
  53. <span style="color: #9fa2a8">下转状态:</span>
  54. <span style="color: #656565">
  55. <template>{{event.turnDownStatus==0?'未下转':'已下转'}}</template>
  56. </span>
  57. </div>
  58. <div style="width: 50%">
  59. <span style="color: #9fa2a8">接收状态:</span>
  60. <span style="color: #656565">
  61. <template>{{event.receiveStatus==0?'未接收':'已接收'}}</template>
  62. </span>
  63. </div>
  64. <template v-if="event.receiveStatus!=0">
  65. <div style="width: 50%">
  66. <span style="color: #9fa2a8">接收医生:</span>
  67. <span style="color: #656565">
  68. <template>{{event.doctorName}}</template>
  69. </span>
  70. </div>
  71. <div style="width: 50%">
  72. <span style="color: #9fa2a8">接收医院:</span>
  73. <span style="color: #656565">
  74. <template>{{event.hospitalName}}</template>
  75. </span>
  76. </div>
  77. </template>
  78. <div style="width: 50%">
  79. <span style="color: #9fa2a8">是否流转:</span>
  80. <span style="color: #656565">
  81. <template>{{event.isCirculation==0?'否':'是'}}</template>
  82. <!-- <template v-if="i% 3 == 0">———</template>
  83. <template v-else>这是数据值,他可能会很长</template> -->
  84. </span>
  85. </div>
  86. <div style="width: 50%" v-if="event.isCirculation!=0">
  87. <span style="color: #9fa2a8">流转去向:</span>
  88. <span style="color: #656565">
  89. <template v-if="event.isCirculation==0">———</template>
  90. <template v-else>{{event.circulation}}</template>
  91. </span>
  92. </div>
  93. <div style="width: 50%" >
  94. <span style="color: #9fa2a8">是否回退:</span>
  95. <span style="color: #656565">
  96. <template>{{event.isBack==0?'否':'是'}}</template>
  97. <!-- <template v-if="i% 3 == 0">———</template>
  98. <template v-else>这是数据值,他可能会很长</template> -->
  99. </span>
  100. </div>
  101. <div style="width: 50%" v-if="event.isBack!=0">
  102. <span style="color: #9fa2a8">回退原因:</span>
  103. <span style="color: #656565">
  104. <template v-if="event.isBack==0">———</template>
  105. <template v-else>
  106. {{event.backType==1?'找到本人或家属,但否认慢阻肺病史':event.backType==2?'找到本人或家属,非本辖区,也不清楚现在的住址':event.backReason}}
  107. </template>
  108. </span>
  109. </div>
  110. <div style="width: 50%" >
  111. <span style="color: #9fa2a8">是否失访:</span>
  112. <span style="color: #656565">
  113. <template>{{event.isLost==0?'否':'是'}}</template>
  114. <!-- <template v-if="i% 3 == 0">———</template>
  115. <template v-else>这是数据值,他可能会很长</template> -->
  116. </span>
  117. </div>
  118. <div style="width: 50%">
  119. <span style="color: #9fa2a8">操作医生:</span>
  120. <span style="color: #656565">
  121. <template>{{event.operaterName}}</template>
  122. <!-- <template v-if="i% 3 == 0">———</template>
  123. <template v-else>这是数据值,他可能会很长</template> -->
  124. </span>
  125. </div>
  126. <div style="width: 50%">
  127. <span style="color: #9fa2a8">操作机构:</span>
  128. <span style="color: #656565">
  129. <template>{{event.orgName}}</template>
  130. <!-- <template v-if="i% 3 == 0">———</template>
  131. <template v-else>这是数据值,他可能会很长</template> -->
  132. </span>
  133. </div>
  134. </div>
  135. <div class="data-cont" v-else-if="event.type==5">
  136. <div style="width: 50%">
  137. <span style="color: #9fa2a8">下转状态:</span>
  138. <span style="color: #656565">
  139. <template>{{event.turnDownStatus==0?'未下转':'已下转'}}</template>
  140. </span>
  141. </div>
  142. <div style="width: 50%">
  143. <span style="color: #9fa2a8">接收状态:</span>
  144. <span style="color: #656565">
  145. <template>{{event.receiveStatus==0?'未接收':'已接收'}}</template>
  146. </span>
  147. </div>
  148. <template v-if="event.receiveStatus==1">
  149. <div style="width: 50%">
  150. <span style="color: #9fa2a8">接收医院:</span>
  151. <span style="color: #656565">
  152. <template>{{event.hospitalName}}</template>
  153. </span>
  154. </div>
  155. <div style="width: 50%">
  156. <span style="color: #9fa2a8">接收医生:</span>
  157. <span style="color: #656565">
  158. <template>{{event.doctorName}}</template>
  159. </span>
  160. </div>
  161. </template>
  162. <div style="width: 50%">
  163. <span style="color: #9fa2a8">是否流转:</span>
  164. <span style="color: #656565">
  165. <template>{{event.isCirculation==0?'否':'是'}}</template>
  166. <!-- <template v-if="i% 3 == 0">———</template>
  167. <template v-else>这是数据值,他可能会很长</template> -->
  168. </span>
  169. </div>
  170. <div style="width: 50%" v-if="event.isCirculation!=0">
  171. <span style="color: #9fa2a8">流转去向:</span>
  172. <span style="color: #656565">
  173. <template v-if="event.isCirculation==0">———</template>
  174. <template v-else>{{event.circulation}}</template>
  175. </span>
  176. </div>
  177. <div style="width: 50%">
  178. <span style="color: #9fa2a8">是否回退:</span>
  179. <span style="color: #656565">
  180. <template>{{event.isBack==0?'否':'是'}}</template>
  181. <!-- <template v-if="i% 3 == 0">———</template>
  182. <template v-else>这是数据值,他可能会很长</template> -->
  183. </span>
  184. </div>
  185. <div style="width: 50%" v-if="event.isBack!=0">
  186. <span style="color: #9fa2a8">回退原因:</span>
  187. <span style="color: #656565">
  188. <template v-if="event.isBack==0">———</template>
  189. <template v-else>
  190. {{event.backType==1?'找到本人或家属,但否认慢阻肺病史':event.backType==2?'找到本人或家属,非本辖区,也不清楚现在的住址':event.backReason}}
  191. </template>
  192. </span>
  193. </div>
  194. <div style="display: flex; justify-content: space-between; width: 100%">
  195. <div class="data-title">随访信息</div>
  196. </div>
  197. <div style="width: 50%">
  198. <span style="color: #9fa2a8">随访医生:</span>
  199. <span style="color: #656565">
  200. <template>{{event.jkcopdFollowup.doctorName}}</template>
  201. </span>
  202. </div>
  203. <div style="width: 50%">
  204. <span style="color: #9fa2a8">随访机构:</span>
  205. <span style="color: #656565">
  206. <template>{{event.jkcopdFollowup.hospitalName}}</template>
  207. </span>
  208. </div>
  209. <div style="width: 50%">
  210. <span style="color: #9fa2a8">随访时间:</span>
  211. <span style="color: #656565">
  212. <template>{{event.jkcopdFollowup.followupDate}}</template>
  213. </span>
  214. </div>
  215. <div style="width: 50%">
  216. <span style="color: #9fa2a8">生存状态:</span>
  217. <span style="color: #656565">
  218. <template>{{event.jkcopdFollowup.isLive==1?'生存':'死亡'}}</template>
  219. </span>
  220. </div>
  221. </div>
  222. <div class="data-cont" v-else-if="event.type==7">
  223. <div style="width: 50%">
  224. <span style="color: #9fa2a8">常住地址:</span>
  225. <span style="color: #656565">
  226. <template>{{event.backReason}}</template>
  227. </span>
  228. </div>
  229. <div style="width: 50%">
  230. <span style="color: #9fa2a8">操作医生:</span>
  231. <span style="color: #656565">
  232. <template>{{event.operaterName}}</template>
  233. </span>
  234. </div>
  235. <div style="width: 50%">
  236. <span style="color: #9fa2a8">操作机构:</span>
  237. <span style="color: #656565">
  238. <template>{{event.orgName}}</template>
  239. </span>
  240. </div>
  241. </div>
  242. <div class="data-cont" v-else-if="event.type == 8">
  243. <div style="width: 50%">
  244. <span style="color: #9fa2a8">下转状态:</span>
  245. <span style="color: #656565">
  246. <template>{{event.turnDownStatus==0?'未下转':'已下转'}}</template>
  247. </span>
  248. </div>
  249. <div style="width: 50%">
  250. <span style="color: #9fa2a8">接收状态:</span>
  251. <span style="color: #656565">
  252. <template>{{event.receiveStatus==0?'未接收':'已接收'}}</template>
  253. </span>
  254. </div>
  255. <div style="width: 50%">
  256. <span style="color: #9fa2a8">分配医生</span>
  257. <span style="color: #656565">
  258. <template>{{event.doctorName}}</template>
  259. </span>
  260. </div>
  261. <div style="width: 50%">
  262. <span style="color: #9fa2a8">分配去向</span>
  263. <span style="color: #656565">
  264. <template>{{event.hospitalName}}</template>
  265. </span>
  266. </div>
  267. <div style="width: 50%">
  268. <span style="color: #9fa2a8">操作医生:</span>
  269. <span style="color: #656565">
  270. <template>{{event.operaterName}}</template>
  271. </span>
  272. </div>
  273. <div style="width: 50%">
  274. <span style="color: #9fa2a8">操作机构:</span>
  275. <span style="color: #656565">
  276. <template>{{event.orgName}}</template>
  277. </span>
  278. </div>
  279. </div>
  280. <div class="data-cont" v-else>
  281. <div style="width: 50%" v-for="item in event.achievesRecordList" :key="item.id">
  282. <span style="color: #9fa2a8">{{item.classFieldName}}:</span>
  283. <span style="color: #656565">
  284. <template>{{item.newCommentName}}</template>
  285. </span>
  286. </div>
  287. <div style="width: 50%">
  288. <span style="color: #9fa2a8">操作医生:</span>
  289. <span style="color: #656565">
  290. <template>{{event.operaterName}}</template>
  291. </span>
  292. </div>
  293. <div style="width: 50%">
  294. <span style="color: #9fa2a8">操作机构:</span>
  295. <span style="color: #656565">
  296. <template>{{event.orgName}}</template>
  297. </span>
  298. </div>
  299. </div>
  300. <div class="data-title" style="color: #12b7f5; font-size: 14px;cursor: pointer;" v-if="event.type==5" @click="showDetail(event)">查看随访详情</div>
  301. </div>
  302. </div>
  303. </div>
  304. </div>
  305. </div>
  306. </div>
  307. </div>
  308. <div class="cops-service-record-bottom-box">
  309. <el-button @click="recordBack">返回</el-button>
  310. </div>
  311. <el-dialog title="随访详情" :visible.sync="dialog" width="50%" :destroy-on-close="true">
  312. <div class="copd-follow-up-dialog-box">
  313. <div class="copd-bb-record-info">
  314. <div class="title ki-title ta-title">随访信息</div>
  315. <div class="copd-bb-base-content">
  316. <div class="copd-bb-base-info-item" v-if="followInfo.createTime">随访时间:{{followInfo.createTime}}</div>
  317. <div class="copd-bb-base-info-item" v-if="followInfo.doctorName">随访医生:{{followInfo.doctorName}}</div>
  318. <div class="copd-bb-base-info-item" v-if="followInfo.hospitalName">随访机构: {{followInfo.hospitalName}}</div>
  319. <div class="copd-bb-base-info-item" v-if="followup">随访状态:{{followup}}</div>
  320. <div class="copd-bb-base-info-item" v-if="followInfo.status==4">失访原因:{{followInfo.lostReason}}</div>
  321. <div class="copd-bb-base-info-item" v-if="followInfo.status==3">不详原因:{{followInfo.lostReason}}</div>
  322. </div>
  323. </div>
  324. <template v-if="followInfo.status!='4'&&followInfo.status!='3'&&followInfo.status!='2'">
  325. <div class="copd-bb-record-info">
  326. <div class="title ki-title">基本信息</div>
  327. <div class="copd-bb-base-content">
  328. <div class="copd-bb-base-info-item" v-if="followInfo.name">姓名:{{followInfo.name}}</div>
  329. <div class="copd-bb-base-info-item" v-if="followInfo.sex">性别:{{followInfo.sex==1?'男':'女'}}</div>
  330. <div class="copd-bb-base-info-item" v-if="nationName">民族:{{nationName}}</div>
  331. <div class="copd-bb-base-info-item" v-if="followInfo.birthday">出生日期:{{followInfo.birthday}}</div>
  332. <div class="copd-bb-base-info-item" v-if="idcardTypeName">证件类型:{{idcardTypeName}}</div>
  333. <div class="copd-bb-base-info-item" v-if="followInfo.idcard">证件号码:{{followInfo.idcard}}</div>
  334. <div class="copd-bb-base-info-item" v-if="followInfo.mobile">联系电话:{{followInfo.mobile}}</div>
  335. <div class="copd-bb-base-info-item" v-if="educational">学历:{{educational}}</div>
  336. <div class="copd-bb-base-info-item" v-if="marriageName">婚姻状况:{{marriageName}}</div>
  337. <div class="copd-bb-base-info-item" v-if="occupation">职业类型:{{occupation}}</div>
  338. <div class="copd-bb-base-info-item" v-if="followInfo.liveProvinceName">
  339. 常住地区:{{followInfo.liveProvinceName}}{{followInfo.liveCityName}}{{followInfo.liveTownName}}{{followInfo.liveStreetName}}
  340. </div>
  341. <div class="copd-bb-base-info-item" v-if="followInfo.liveAddress">常住地址:{{followInfo.liveAddress}}</div>
  342. <div class="copd-bb-base-info-item" v-if="followInfo.registProvinceName">
  343. 户籍地区:{{followInfo.registProvinceName}}{{followInfo.registCityName}}{{followInfo.registTownName}}{{followInfo.registStreetName}}
  344. </div>
  345. <div class="copd-bb-base-info-item" v-if="followInfo.registAddress">户籍地址:{{followInfo.registAddress}}</div>
  346. </div>
  347. </div>
  348. <div class="copd-bb-record-info">
  349. <div class="title ki-title ta-title">随访情况</div>
  350. <div class="copd-bb-base-content">
  351. <div class="copd-bb-base-info-item" v-if="followInfo.isLive">生存状态:{{followInfo.isLive==1?'生存':'死亡'}}</div>
  352. <template v-if="followInfo.isLive==1">
  353. <div class="copd-bb-base-info-item" v-if="followInfo.hasSmoke">是否抽烟:{{followInfo.hasSmoke==1?'是':followInfo.hasSmoke==0?'否':'已戒烟'}}</div>
  354. <div class="copd-bb-base-info-item" v-if="followInfo.hasDrink">是否饮酒:{{followInfo.hasDrink==1?'是':followInfo.hasDrink==0?'否':'已戒酒'}}</div>
  355. <div class="copd-bb-base-info-item" v-if="diseaseConversion">病情归转:{{diseaseConversion}}</div>
  356. </template>
  357. <!-- <div class="copd-bb-base-info-item">
  358. 是否做过肺功能检查:{{followInfo.hasLung}}
  359. </div> -->
  360. <!-- <div class="copd-bb-base-info-item">e
  361. 是否做过胸部CT或X线检查:{{followInfo.birthday}}
  362. </div> -->
  363. </div>
  364. </div>
  365. <template v-if="followInfo.isLive==1">
  366. <div class="copd-bb-record-info">
  367. <div class="title ki-title ta-title">首次确诊情况</div>
  368. <div class="copd-bb-base-content">
  369. <div class="copd-bb-base-info-item" v-if="followInfo.firstVisitTime">慢阻肺首次诊断时间:{{followInfo.firstVisitTime}}</div>
  370. <div class="copd-bb-base-info-item" v-if="followInfo.firstVisitArea">慢阻肺首次诊断地区:{{followInfo.firstVisitArea}}</div>
  371. <div class="copd-bb-base-info-item" v-if="orGlevelName">
  372. <!-- 慢阻肺首次诊断机构级别:{{
  373. followInfo.firstVisitOrgLevel == 1 ? '三级医院' :
  374. followInfo.firstVisitOrgLevel == 2 ? '二级医院' :
  375. followInfo.firstVisitOrgLevel == 3 ? '村卫生室' :
  376. followInfo.firstVisitOrgLevel == 4 ? '乡镇卫生院/社区卫生服务机构' :
  377. followInfo.firstVisitOrgLevel == 5 ? '其他医疗卫生机构' :
  378. ''
  379. }} -->
  380. 慢阻肺首次诊断机构级别:{{orGlevelName}}
  381. </div>
  382. <div class="copd-bb-base-info-item" v-if="followInfo.firstVisitOrg">首次诊断机构:{{followInfo.firstVisitOrg}}</div>
  383. <div class="copd-bb-base-info-item" v-if="diagnosticBasisName">最高诊断依据:{{diagnosticBasisName}}</div>
  384. <div class="copd-bb-base-info-item" v-if="symptom">症状:{{symptom}}</div>
  385. <div class="copd-bb-base-info-item" v-if="followInfo.drugBefore">使用支气管扩张剂前FEV1/FVC(%):{{followInfo.drugBefore}}</div>
  386. <div class="copd-bb-base-info-item" v-if="followInfo.drugAfter">使用支气管扩张剂后FEV1/FVC(%):{{followInfo.drugAfter}}</div>
  387. </div>
  388. </div>
  389. </template>
  390. <div class="copd-bb-record-info" v-if="followInfo.isLive!=1">
  391. <div class="title ki-title ta-title">死亡情况</div>
  392. <div class="copd-bb-base-content">
  393. <template v-if="followInfo.isLive!=1">
  394. <div class="copd-bb-base-info-item" v-if="followInfo.deathTime">死亡时间:{{followInfo.deathTime}}</div>
  395. <div class="copd-bb-base-info-item" v-if="followInfo.deathReason">死亡原因:{{followInfo.deathReason}}</div>
  396. </template>
  397. </div>
  398. </div>
  399. </template>
  400. </div>
  401. <span slot="footer" class="dialog-footer">
  402. <el-button @click="dialog = false">关闭</el-button>
  403. </span>
  404. </el-dialog>
  405. </div>