service_item_content.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>服务项目详情</title>
  6. <link rel="stylesheet" href="../../../css/bootstrap.min.css" />
  7. <link rel="stylesheet" type="text/css" href="../../../plugins/toastr/toastr.min.css"/>
  8. <link rel="stylesheet" href="../../../plugins/element-ui/element-ui.css" />
  9. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css"/>
  10. <link rel="stylesheet" type="text/css" href="../../../css/cross.css"/>
  11. <link rel="stylesheet" href="../css/service_item_content.css" />
  12. </head>
  13. <body>
  14. <div class="panel-group" id="app" v-cloak role="tablist" aria-multiselectable="true">
  15. <div class="panelcurPage" v-for="(service,index) in serviceData">
  16. <div class="panel-heading" role="tab" @click="clickItem(service)">
  17. <div class="panel-title">
  18. <a role="button" class="flex-box">
  19. <div class="flex-box-item service-top">
  20. <p class="service-name"><span class="service-index" v-if="serviceData && serviceData.length>1">{{index+1}}1</span><span>{{service.title}}</span></p>
  21. <div class="label-group">
  22. <span class="pull-right mt5" v-if="service.statusName=='已完成'"><i class="icon icon-gouxuan icon-18 mr5"></i>{{service.statusName}}</span>
  23. <span class="label-blue">{{service.shortExecuteTime}}</span>
  24. <span class="label-blue" v-for="doctor in service.executeDoctorList">{{doctor}}</span>
  25. </div>
  26. </div>
  27. <span class="icon icon-arrow-right ml50"></span>
  28. </a>
  29. </div>
  30. </div>
  31. <div class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
  32. <div class="panel-body">
  33. <div class="service-content">{{service.content}}</div>
  34. <div class="service-address ptb20 mb10">
  35. <div class="flex-box">
  36. <div class="flex-box-item">
  37. <p class="m0">服务地点:{{service.hospitalName}}</p>
  38. <p class="m0">服务时间:{{service.executeTime | formatDate}}</p>
  39. </div>
  40. <div class="flex-box-item">
  41. <p class="m0 yslb">执行人:<span v-for="(doctor,index) in service.executeDoctorList">{{doctor}}</span></p>
  42. <p class="m0">服务收费:{{service.expense}}元</p>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="service-operation">
  47. <div style="border-bottom: 1px solid #D7D4F0;">
  48. <div class="pb10">
  49. <span class="c-333">指导与汇报记录</span>&emsp;<span class="view-detail" v-if="service.messageList && service.messageList.length" :class="{active:isCollapse}" @click="chakan"><i class="icon icon-check mr5 icon-16"></i>{{isCollapse?'收起详情':'查看详情'}}</span>
  50. <div class="pull-right" v-if="(service.isMyTask==1 || service.isCreate || service.isCK) && service.planStatus!=0 && service.status!=1">
  51. <span class="view-detail" @click="zdly(service)" v-if="service.isCreate && (service.isMyTask!=1)">指导留言</span>
  52. <span class="view-detail" @click="zdly(service)" v-if="service.isCK">查看留言</span>
  53. </div>
  54. </div>
  55. <div class="record-list mb10" :class="{active:isCollapse}">
  56. <div class="record-item mb10" v-for="item in service.messageList">
  57. <div class="flex-box c-999 f14">
  58. <div class="flex-box-item">
  59. {{item.adminTeamName}}
  60. </div>
  61. <div class="flex-box-item">
  62. {{item.createTime}}
  63. </div>
  64. </div>
  65. <div class="f14 c-333" v-html="getContent(item.content,item.contentType)"></div>
  66. </div>
  67. </div>
  68. <p class="c-999" style="margin-top: -10px;" v-if="service.messageList && !service.messageList.length">暂无记录</p>
  69. </div>
  70. <!-- operate: 是否完成任务 0 未完成 1 已完成 isMyTask: 0 不是自己的任务 1是自己的任务 status: 0 未完成 1已完成 2已预约-->
  71. <!-- planStatus:计划的状态 0 已终止 1进行中 2已完成 -->
  72. <!-- itemType: 服务项code 1 电话/短信关怀 2康复咨询 3远程健康监测 4 上门服务 5康复指导 6 康复随访 7 复诊-->
  73. <div class="flex-box btns-group clearfix" v-if="service.planStatus!=0">
  74. <button class="btn btn-yuyue" v-if="service.itemType==1 && service.status!=1 && service.isMyTask==1" @click="goToFinish(service.planDetaiId)">确认完成</button>
  75. <button class="btn btn-yuyue" v-if="service.itemType==4 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(service.planDetaiId,4)">提醒患者</button>
  76. <button class="btn btn-12b7f5" v-if="service.itemType==4 && service.status!=1 && service.isMyTask==1" @click="qwapp">代预约</button>
  77. <button class="btn btn-yuyue" v-if="service.itemType==5 && service.status!=1 && service.isMyTask==1" @click="kfzd(service.planDetaiId)">发送指导</button>
  78. <button class="btn btn-yuyue" v-if="service.itemType==6 && service.status!=1 && service.isMyTask==1 && service.operate==0" @click="sfjh(service.planDetaiId)" style="width: auto">创建随访计划</button>
  79. <button class="btn btn-12b7f5" v-if="service.itemType==6 && service.status!=1 && service.isMyTask==1 && service.operate==1" @click="openFollowRecordForm" style="width: auto">记录随访表单</button>
  80. <button class="btn btn-12b7f5" v-if="service.itemType==6 && service.status==1" @click="qwapp" style="width: auto">查看随访结果</button>
  81. <button class="btn btn-yuyue" v-if="service.itemType==7 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(service.planDetaiId,7)">提醒患者</button>
  82. <button class="btn btn-12b7f5" v-if="service.itemType==7 && service.status!=1 && service.isMyTask==1" @click="qwapp">代预约</button>
  83. </div>
  84. <div class="complete-info" v-if="service.status==1">
  85. <div class="complete-title">完成情况</div>
  86. <div class="ptb10">
  87. <p class="f14 mb5"><span class="c-999">完成时间:</span>{{service.completeTime}}</p>
  88. <p class="f14 mb5"><span class="c-999">执行医生:</span>{{service.operatorDoctorName}}</p>
  89. </div>
  90. </div>
  91. <div class="note-info pt10" v-if="service.itemType==1&&service.status==1">
  92. <p class="f14 c-333">服务完成笔记</p>
  93. <div>{{service.node || '暂无服务记录'}}</div>
  94. </div>
  95. <div class="note-info ptb10" v-if="service.itemType==1">
  96. <p class="f14 c-333">相关记录</p>
  97. <ul class="upload-box" v-if="service.status==1 && service.relationRecordImg && service.relationRecordImg.length">
  98. <li class="flex-box" v-for="img in service.relationRecordImg">
  99. <div class="upload-img-box">
  100. <img :src="img | getImgUrl" @click="previewImg(img)"/>
  101. </div>
  102. </li>
  103. </ul>
  104. <div class="upload-box" v-if="service.status==1 && service.relationRecordImg && !service.relationRecordImg.length">
  105. <p>暂无相关记录</p>
  106. </div>
  107. </div>
  108. <div class="note-info pt10" v-if="(service.itemType==4 || service.itemType==5 || service.itemType==7) && service.status==1">
  109. <p class="f14 c-333">关联记录</p>
  110. <!-- <p class="guanlian-list text-center c-333" @click="viewDetial(service.itemType,service.relationRecordCode)">
  111. <span class="pull-right"><i class="icon icon-arrow-right"></i></span> 暂无关联记录
  112. </p> -->
  113. <div class="ptb10" v-if="service.itemType==4&&service.relationList&&service.relationList.length>0">
  114. <div v-for="(o, i) in service.relationList">
  115. <p class="f14 mb5"><span class="c-999">服务时间:</span>{{o.patientExpectedServeTime}}</p>
  116. <p class="f14 mb5"><span class="c-999">服务地址:</span>{{o.serveAddress}}</p>
  117. <p class="f14 mb5"><span class="c-999">服务描述:</span>{{o.serveDesc}}</p>
  118. <p class="f14 mb5"><span class="c-999">服务医生:</span>{{o.doctorName}}</p>
  119. </div>
  120. </div>
  121. <div class="pt10" v-if="service.itemType==5&&service.relationList&&service.relationList.length>0">
  122. <div v-for="(o, i) in service.relationList" class="ui-grid mb20 pb5" style="border-bottom: 1px solid #D7DCE6;align-items: center;" @click="viewGuidance(o)">
  123. <div class="ui-col-1 c-666">{{o.attachedTitle}}</div>
  124. <div class="ui-col-0 c-999">{{o.czrq}}</div>
  125. <img src="../images/arrow_icon.png" width="7px" height="14px" class="ml10"/>
  126. </div>
  127. </div>
  128. <div class="ptb10" v-if="service.itemType==7&&service.relationList&&service.relationList.length>0">
  129. <div v-for="(o, i) in service.relationList">
  130. <p class="f14 mb5"><span class="c-999">预约医院:</span>{{o.orgName}}</p>
  131. <p class="f14 mb5"><span class="c-999">预约科室:</span>{{o.deptName}}</p>
  132. <p class="f14 mb5"><span class="c-999">预约医生:</span>{{o.doctorName}}</p>
  133. <p class="f14 mb5"><span class="c-999">就诊时间:</span>{{o.startTime}}</p>
  134. <p class="f14 mb5"><span class="c-999">挂号时间:</span>{{o.czrq}}</p>
  135. </div>
  136. </div>
  137. <div v-if="!service.relationList || service.relationList.length==0" class="guanlian-list c-999">暂无关联记录</div>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <!--查看图片-->
  144. <div id="outerdiv" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;">
  145. <div id="innerdiv" style="position:absolute;">
  146. <img id="bigimg" style="border:5px solid #fff;" src="" />
  147. </div>
  148. </div>
  149. <div class="fuwuma-model" v-show="qrModal">
  150. <div class="fuwuma-layer" @click="qrModal=false"></div>
  151. <div class="fuwuma-content">
  152. <img :src="qrCode" width="300px" />
  153. </div>
  154. </div>
  155. </div>
  156. <script type="text/javascript" src="../../../js/vue.js"></script>
  157. <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
  158. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  159. <script type="text/javascript" src="../../../api/http-request.js"></script>
  160. <script type="text/javascript" src="../../../plugins/element-ui/element-ui.js"></script>
  161. <script src="../../../plugins/toastr/toastr.min.js"></script>
  162. <script type="text/javascript" src="../../../api/rehabilitation-api.js"></script>
  163. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  164. <script type="text/javascript" src="../../../js/underscore.js"></script>
  165. <script type="text/javascript" src="../../../plugins/layer/layer.min.js" ></script>
  166. <script type="text/javascript" src="../js/service_item_content.js"></script>
  167. </body>
  168. </html>