service_item_content.html 11 KB

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