service_item_content.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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" :class="{active:collapseIndex==index}" role="tab" @click="changeCollapseIndex(index)">
  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-down ml50"></span>
  27. </a>
  28. </div>
  29. </div>
  30. <div class="panel-collapse collapse" :class="{in:collapseIndex==index}" 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. 指导与汇报记录&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. <div class="flex-box btns-group clearfix" v-if="(service.isMyTask==1 || service.isCreate || service.isCK) && service.planStatus!=0 && service.status!=1">
  70. <button class="btn btn-yuyue" v-if="service.reserve==1 && service.status!=2 && service.isMyTask==1" @click="qwapp">转诊预约</button>
  71. <button class="btn btn-yuyue" v-if="service.itemType==2 && service.operate!=1 && !service.isZK && service.isMyTask==1" @click="jkjy(service.patient,service.planDetaiId)">健康教育</button>
  72. <button class="btn btn-yuyue" v-if="service.itemType==3 && service.operate!=1 && !service.isZK && service.isMyTask==1" @click="jkzd(service.planDetaiId,service.patient)">健康指导</button>
  73. <button class="btn btn-yuyue" v-if="service.itemType==4 && service.operate!=1 && !service.isZK && service.isMyTask==1" @click="qwapp">随访</button>
  74. <button class="btn btn-zhidao" v-if="service.itemType==1 && service.operate!=1 && service.isMyTask==1" @click="fwm(service.planDetaiId,service.patient)">服务码</button>
  75. <button class="btn btn-fuwuma" v-if="service.operate==1 && service.isMyTask==1" @click="goToFinish(service.planDetaiId)">记录服务</button>
  76. <button class="btn btn-fuwuma" v-if="service.itemType==0 && service.operate!=1 && service.isMyTask==1" @click="goToFinish(service.planDetaiId)">记录服务</button>
  77. </div>
  78. <div class="complete-info" v-if="service.status==1">
  79. <div class="complete-title">完成情况</div>
  80. <div class="ptb10">
  81. <p class="f14 mb5"><span class="c-999">完成时间:</span>{{service.completeTime}}</p>
  82. <p class="f14 mb5"><span class="c-999">执行医生:</span>{{service.operatorDoctorName}}</p>
  83. </div>
  84. </div>
  85. <div class="note-info pt10" v-if="service.status==1">
  86. <p class="f14 c-333">服务完成笔记</p>
  87. <div>{{service.node || '暂无服务记录'}}</div>
  88. </div>
  89. <div class="note-info ptb10" v-if="service.status==1">
  90. <p class="f14 c-333">相关记录</p>
  91. <ul class="upload-box" v-if="service.status==1 && service.relationRecordImg && service.relationRecordImg.length">
  92. <li class="flex-box" v-for="img in service.relationRecordImg">
  93. <div class="upload-img-box">
  94. <img :src="img | getImgUrl" @click="previewImg(img)"/>
  95. </div>
  96. </li>
  97. </ul>
  98. <div class="upload-box" v-if="service.status==1 && service.relationRecordImg && !service.relationRecordImg.length">
  99. <p>暂无相关记录</p>
  100. </div>
  101. </div>
  102. <div class="note-info pt10" v-if="(service.itemType==2 || service.itemType==3 || service.itemType==4) && service.relationRecordCode">
  103. <p class="f14 c-333">关联记录</p>
  104. <p class="guanlian-list text-center c-333" @click="viewDetial(service.itemType,service.relationRecordCode)">
  105. <span class="pull-right"><i class="icon icon-arrow-right"></i></span>{{service.itemType==2?'健康文章':(service.itemType==3?'健康指导':'随访记录')}} {{service.completeTimeShort}}
  106. </p>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <!--查看图片-->
  113. <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;">
  114. <div id="innerdiv" style="position:absolute;">
  115. <img id="bigimg" style="border:5px solid #fff;" src="" />
  116. </div>
  117. </div>
  118. <div class="fuwuma-model" v-show="qrModal">
  119. <div class="fuwuma-layer" @click="qrModal=false"></div>
  120. <div class="fuwuma-content">
  121. <img :src="qrCode" width="300px" />
  122. </div>
  123. </div>
  124. </div>
  125. <script type="text/javascript" src="../../../js/vue.js"></script>
  126. <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
  127. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  128. <script type="text/javascript" src="../../../api/http-request.js"></script>
  129. <script src="../../../plugins/toastr/toastr.min.js"></script>
  130. <script type="text/javascript" src="../../../api/rehabilitation-api.js"></script>
  131. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  132. <script type="text/javascript" src="../../../js/underscore.js"></script>
  133. <script type="text/javascript" src="../../../plugins/layer/layer.min.js" ></script>
  134. <script type="text/javascript" src="../js/service_item_content.js"></script>
  135. </body>
  136. </html>