guide_the_message.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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="../../../css/style.min.css"/>
  8. <link rel="stylesheet" type="text/css" href="../../../css/cross.css"/>
  9. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  10. <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css">
  11. <link rel="stylesheet" href="../css/guide_the_message.css" />
  12. </head>
  13. <body>
  14. <div id="app" v-cloak role="tablist" aria-multiselectable="true">
  15. <div class="panelcurPage">
  16. <div class="panel-heading" style="border-bottom: 1px solid #d7dce6;" role="tab">
  17. <h4 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">1</span>--><span>{{service.title}}</span></p>
  21. <div v-if="islimit" 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" v-if="service.shortExecuteTime">{{service.shortExecuteTime}}</span>
  24. <span class="label-blue" v-for="doctor in service.executeDoctorList">{{doctor}}</span>
  25. </div>
  26. <div v-else class="label-group">
  27. <span class="pull-right mt5" v-if="service.recordStatus==1"><i class="icon icon-gouxuan icon-18 mr5"></i>{{service.recordStatus==1?'已完成':'未完成'}}</span>
  28. <span class="label-blue" v-if="service.shortCompleteTime">{{service.shortCompleteTime}}</span>
  29. <span class="label-blue" v-for="doctor in service.executeDoctorList">{{doctor}}</span>
  30. </div>
  31. </div>
  32. <!--<span class="icon icon-arrow-down ml50"></span>-->
  33. </a>
  34. </h4>
  35. </div>
  36. <div v-if="islimit && service.type==7" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  37. <div class="panel-body">
  38. <div class="pb20 c-border-b">
  39. 为居民提供康复后的复诊提醒或代预约服务
  40. </div>
  41. </div>
  42. </div>
  43. <div class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
  44. <div class="panel-body" style="padding-top: 0;">
  45. <div v-if="service.type!=7" class="service-content pt20">{{service.content}}</div>
  46. <div class="service-address ptb20">
  47. <div class="flex-box">
  48. <div class="flex-box-item">
  49. <p class="m0">服务地点:{{service.hospitalName}}</p>
  50. <p class="m0">服务时间:{{service.executeTime | formatDate}}</p>
  51. </div>
  52. <div class="flex-box-item">
  53. <p class="m0 yslb">执行人:<span v-for="(doctor,index) in service.executeDoctorList">{{doctor}}</span></p>
  54. <p class="m0">服务收费:{{service.expense}}元</p>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="panel-body">
  62. <div class="service-operation">
  63. <div style="border-bottom: 1px solid #D7D4F0;">
  64. <div class="pb10">
  65. 指导与汇报记录&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>
  66. <div class="pull-right" v-if="(service.isMyTask==1 || service.isCreate || service.isCK) && service.planStatus!=0">
  67. <span class="view-detail" @click="zdly(service)" v-if="service.isCreate && (service.isMyTask!=1) && ((islimit&&service.status!=1)||(!islimit&&service.recordStatus!=1))">指导留言</span>
  68. <span class="view-detail" @click="zdly(service)" v-if="service.isCK && service.isMyTask==1">查看留言</span>
  69. </div>
  70. </div>
  71. <div class="record-list mb10" :class="{active:isCollapse}">
  72. <div class="record-item" v-for="item in service.messageList">
  73. <div class="flex-box c-999 f14">
  74. <div class="flex-box-item">
  75. {{item.adminTeamName}}
  76. </div>
  77. <div class="flex-box-item">
  78. {{item.createTime}}
  79. </div>
  80. </div>
  81. <div class="f14 c-333" v-html="getContent(item.content,item.contentType)"></div>
  82. </div>
  83. </div>
  84. <p class="c-999" style="margin-top: -10px;" v-if="service.messageList && !service.messageList.length">暂无记录</p>
  85. </div>
  86. <!-- 协诊信息 -->
  87. <div>
  88. <div class="setRadio mt40" v-if="showAppointHelpCheckBtn && !service.appointmentTime && service.type==7 && service.status!=1 && service.isMyTask==1">
  89. <el-radio-group v-model="selectCheckTyperadio">
  90. <el-radio :label="0">线下复诊--预约至专家医院进行复诊</el-radio>
  91. <el-radio :label="1">远程协诊--家庭医生与专科医生协同会诊</el-radio>
  92. <el-radio :label="2">线上复诊--入驻互联网医院提供线上复诊开方咨询</el-radio>
  93. </el-radio-group>
  94. </div>
  95. <div v-if="(selectCheckTyperadio==1 &&!showAppointHelpCheckBtn) || service.appointmentTime" class="ptb10">
  96. <div class="pb10 c-f14 c-333">协诊信息</div>
  97. <div class="flex-box-item">
  98. <p class="m0">预约时间:{{service.appointmentTime || appointTime}}</p>
  99. <p class="m0">预约医生:{{service.appointmentDoctorName || service.specialistDoctorName}}</p>
  100. <p class="m0">预约项目:远程协诊</p>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="note-info pt10" v-if="(service.type==7 && (islimit&&service.status==1) && service.reservationType!=1 && service.reservationType!=2) ||((islimit&&service.status!=1) && service.isMyTask==1 && showRecordFinished)">
  105. <p class="f14 c-333">服务完成笔记</p>
  106. <textarea v-if="(islimit&&service.status!=1) && service.isMyTask==1 && showRecordFinished" class="form-control" style="resize: none;" rows="4" placeholder="可备注您的服务记录" v-model="service.node"></textarea>
  107. <div v-if="service.type==7 && (islimit && service.status==1) && service.reservationType!=1 && service.reservationType!=2">{{service.node || '暂无服务记录'}}</div>
  108. </div>
  109. <div class="note-info ptb10" v-if="service.type==7 && (islimit&&service.status!=1) && service.isMyTask==1 && showRecordFinished">
  110. <p class="f14 c-333">相关记录</p>
  111. <ul class="upload-box">
  112. <li class="flex-box" v-for="(img,index) in upImgs">
  113. <div class="upload-img-box">
  114. <img :src="img.baseUrl" />
  115. </div>
  116. <a class="delete-img" @click="deleteImg(index)">&times;</a>
  117. </li>
  118. <li class="flex-box" v-if="upImgs.length<5">
  119. <span class="add-img">+</span>
  120. <input type="file" @change="upLoadImgToBase64" class="upload-img" />
  121. </li>
  122. </ul>
  123. </div>
  124. <div class="note-info ptb10" v-if="service.type==7 && (islimit&&service.status==1) && service.reservationType!=1 && service.reservationType!=2">
  125. <p class="f14 c-333">相关记录</p>
  126. <ul class="upload-box" v-if="service.relationRecordImg && service.relationRecordImg.length">
  127. <li class="flex-box" v-for="img in service.relationRecordImg">
  128. <div class="upload-img-box">
  129. <img :src="img | getImgUrl" />
  130. </div>
  131. </li>
  132. </ul>
  133. <div class="upload-box" v-else>
  134. <p>暂无相关记录</p>
  135. </div>
  136. </div>
  137. <!-- operate: 是否完成任务 0 未完成 1 已完成 isMyTask: 0 不是自己的任务 1是自己的任务 status: 0 未完成 1已完成 2已预约-->
  138. <!-- planStatus:计划的状态 0 已终止 1进行中 2已完成 -->
  139. <!-- type: 服务项code 1 电话/短信关怀 2康复咨询 3远程健康监测 4 上门服务 5康复指导 6 康复随访 7 复诊-->
  140. <!-- selectCheckTyperadio 0 线下复诊 1远程协诊 2线上复诊 -->
  141. <div v-if="islimit&&service.planStatus!=0" class="flex-box btns-group clearfix" style="position: relative;"> <!-- 限制频次 -->
  142. <button class="btn btn-yuyue" v-if="service.type==4 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(4)">提醒患者</button>
  143. <button class="btn btn-12b7f5" v-if="service.type==4 && service.status!=1 && service.isMyTask==1" @click="toDoorDialog">代预约</button>
  144. <button class="btn btn-yuyue" v-if="service.type==5 && service.status!=1 && service.isMyTask==1" @click="kfzd()">发送指导</button>
  145. <button class="btn btn-yuyue" v-if="service.type==6 && service.status!=1 && service.isMyTask==1 && service.operate==0" @click="sfjh()" style="width: auto">创建随访计划</button>
  146. <button class="btn btn-12b7f5" v-if="service.type==6 && service.status!=1 && service.isMyTask==1 && service.operate==1" @click="openFollowRecordForm" style="width: auto">记录随访表单</button>
  147. <button class="btn btn-12b7f5" v-if="service.type==6 && service.status==1" @click="openFollowRecordForm" style="width: auto">查看随访结果</button>
  148. <button class="btn btn-yuyue" v-if="service.type==7 && service.status!=1 && service.isMyTask==1 && selectCheckTyperadio!=1 && !service.appointmentTime" @click="sendSpecialistWeixinMessage(7)">提醒患者</button>
  149. <button class="btn btn-12b7f5" v-if="service.type==7 && service.status!=1 && service.isMyTask==1 && selectCheckTyperadio==0 && !service.appointmentTime" @click="rehabilitationReservation()">代预约</button>
  150. <button class="btn btn-12b7f5" v-if="selectCheckTyperadio==1 && showAppointHelpCheckBtn" @click="$refs.datePicker.pickerVisible = true">预约协诊</button>
  151. <div class="setPicker" style="visibility: hidden;">
  152. <el-date-picker
  153. v-model="appointDate"
  154. type="date"
  155. ref="datePicker"
  156. @change="$refs.timePicker.pickerVisible = true"
  157. value-format="yyyy-MM-dd"
  158. :picker-options="pickerOptions"
  159. >
  160. </el-date-picker>
  161. </div>
  162. <div class="setPicker" style="visibility: hidden;">
  163. <el-time-select
  164. v-model="appointHour"
  165. :picker-options="{
  166. step: '00:05',
  167. minTime:startTime,
  168. start:'08:00',
  169. end:'20:00'
  170. }"
  171. value-format="HH:mm"
  172. @change="appointHelpCheck(service)"
  173. ref="timePicker"
  174. placeholder="选择时间"></el-time-select>
  175. </div>
  176. <button
  177. class="btn btn-12b7f5"
  178. v-if="(!service.appointmentTime && selectCheckTyperadio==1 &&!showAppointHelpCheckBtn && doctorlevel==2 && service.isMyTask==1) || (service.appointmentTime && service.isMyTask==1 && !service.completeTime && !showRecordFinished && doctorlevel==2)"
  179. @click="openHelpCheck">
  180. 开启协诊
  181. </button>
  182. <button
  183. class="btn btn-12b7f5"
  184. v-if="(!service.appointmentTime && selectCheckTyperadio==1 &&!showAppointHelpCheckBtn && service.isMyTask==1 ) || (service.appointmentTime && service.isMyTask==1 && !showRecordFinished && !service.completeTime)"
  185. style="width: auto"
  186. @click="recordFinished">
  187. 记录完成情况
  188. </button>
  189. <!-- 复诊的确认完成 -->
  190. <button
  191. class="btn btn-zhidao"
  192. v-if="islimit&&service.planStatus!=0 && service.status!=1 && service.isMyTask==1 && service.type==7 && showRecordFinished && showRecordFinished"
  193. @click="qrwc(service.patient,service.type)">
  194. 确认完成
  195. </button>
  196. </div>
  197. <div v-if="!islimit&&service.planStatus!=0" class="flex-box btns-group clearfix">
  198. <!-- 不限制频次 -->
  199. <button
  200. class="btn btn-12b7f5"
  201. v-if="service.type==6 && service.recordStatus!=1 && service.isMyTask==1 && service.operate==1"
  202. @click="openFollowRecordForm"
  203. style="width: auto">
  204. 记录随访表单
  205. </button>
  206. <button class="btn btn-12b7f5" v-if="service.type==6 && service.recordStatus==1" @click="qwapp" style="width: auto">查看随访结果</button>
  207. </div>
  208. </div>
  209. <div class="complete-info" v-if="(islimit&&service.status==1)||(!islimit&&service.recordStatus==1)">
  210. <div class="complete-title">完成情况</div>
  211. <div class="ptb10">
  212. <p class="f14 mb5">
  213. <span class="c-999">完成时间:</span>
  214. {{service.completeTime}}
  215. </p>
  216. <p class="f14 mb5">
  217. <span class="c-999">执行医生:</span>
  218. {{service.operatorDoctorName}}
  219. </p>
  220. </div>
  221. </div>
  222. <div class="note-info pt10" v-if="service.type==1">
  223. <p class="f14 c-333">服务完成笔记</p>
  224. <textarea
  225. v-if="((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1"
  226. class="form-control"
  227. style="resize: none"
  228. rows="4"
  229. placeholder="可备注您的服务记录"
  230. v-model="service.node"></textarea>
  231. <div v-else>{{service.node || '暂无服务记录'}}</div>
  232. </div>
  233. <div class="note-info ptb10" v-if="service.type==1 && ((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1">
  234. <p class="f14 c-333">相关记录</p>
  235. <ul class="upload-box">
  236. <li class="flex-box" v-for="(img,index) in upImgs">
  237. <div class="upload-img-box">
  238. <img :src="img.baseUrl" />
  239. </div>
  240. <a class="delete-img" @click="deleteImg(index)">&times;</a>
  241. </li>
  242. <li class="flex-box" v-if="upImgs.length<5">
  243. <span class="add-img">+</span>
  244. <input type="file" @change="upLoadImgToBase64" class="upload-img" />
  245. </li>
  246. </ul>
  247. </div>
  248. <div class="note-info ptb10" v-if="service.type==1&& ((islimit&&service.status==1) || (!islimit&&service.recordStatus==1))">
  249. <p class="f14 c-333">相关记录</p>
  250. <ul class="upload-box" v-if="service.relationRecordImg && service.relationRecordImg.length">
  251. <li class="flex-box" v-for="img in service.relationRecordImg">
  252. <div class="upload-img-box">
  253. <img :src="img | getImgUrl" />
  254. </div>
  255. </li>
  256. </ul>
  257. <div class="upload-box" v-else>
  258. <p>暂无相关记录</p>
  259. </div>
  260. </div>
  261. <!-- type 服务项 1 电话/短信关怀 2康复咨询 3远程健康监测 4 上门服务 5康复指导 6 康复随访 7 复诊 -->
  262. <div class="note-info pt10" v-if="(service.type==4 || service.type==5 || service.type==7) && service.status==1">
  263. <p class="f14 c-333">关联记录</p>
  264. <div class="ptb10" v-if="service.type==4&&service.relationList&&service.relationList.length>0">
  265. <div v-for="(o, i) in service.relationList">
  266. <p class="f14 mb5">
  267. <span class="c-999">服务时间:</span>
  268. {{o.patientExpectedServeTime}}
  269. </p>
  270. <p class="f14 mb5">
  271. <span class="c-999">服务地址:</span>
  272. {{o.serveAddress}}
  273. </p>
  274. <p class="f14 mb5">
  275. <span class="c-999">服务描述:</span>
  276. {{o.serveDesc}}
  277. </p>
  278. <p class="f14 mb5">
  279. <span class="c-999">服务医生:</span>
  280. {{o.doctorName}}
  281. </p>
  282. </div>
  283. </div>
  284. <div class="pt10" v-if="service.type==5&&service.relationList&&service.relationList.length>0">
  285. <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)">
  286. <div class="ui-col-1 c-666">{{o.attachedTitle}}</div>
  287. <div class="ui-col-0 c-999">{{o.czrq}}</div>
  288. <img src="../images/arrow_icon.png" width="7px" height="14px" class="ml10" />
  289. </div>
  290. </div>
  291. <div class="ptb10" v-if="service.type==7&&service.relationList&&service.relationList.length>0">
  292. <div v-for="(o, i) in service.relationList">
  293. <p class="f14 mb5">
  294. <span class="c-999">预约医院:</span>
  295. {{o.orgName}}
  296. </p>
  297. <p class="f14 mb5">
  298. <span class="c-999">预约科室:</span>
  299. {{o.deptName}}
  300. </p>
  301. <p class="f14 mb5">
  302. <span class="c-999">预约医生:</span>
  303. {{o.doctorName}}
  304. </p>
  305. <p class="f14 mb5">
  306. <span class="c-999">就诊时间:</span>
  307. {{o.startTime}}
  308. </p>
  309. <p class="f14 mb5">
  310. <span class="c-999">挂号时间:</span>
  311. {{o.czrq}}
  312. </p>
  313. </div>
  314. </div>
  315. <div v-if="!service.relationList || service.relationList.length==0" class="guanlian-list c-999">暂无关联记录</div>
  316. </div>
  317. <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">
  318. <div id="innerdiv" style="position: absolute">
  319. <img id="bigimg" style="border: 5px solid #fff" src="" />
  320. </div>
  321. </div>
  322. <div class="text-center ptb50" v-if="islimit&&service.planStatus!=0 && service.status!=1 && service.isMyTask==1 && service.type==1">
  323. <button class="btn btn-zhidao" @click="qrwc(service.patient,service.type)">确认完成</button>
  324. </div>
  325. </div>
  326. </div>
  327. <script type="text/javascript" src="../../../js/vue.js"></script>
  328. <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
  329. <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
  330. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  331. <script src="../../../js/jsencrypt.js" type="text/javascript" charset="utf-8"></script>
  332. <script src="../../../plugins/toastr/toastr.min.js"></script>
  333. <script type="text/javascript" src="../../../plugins/layer/layer.min.js"></script>
  334. <script type="text/javascript" src="../../../api/http-request.js"></script>
  335. <script type="text/javascript" src="../../../api/rehabilitation-api.js"></script>
  336. <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
  337. <script type="text/javascript" src="../../../plugins/layer/layer.min.js"></script>
  338. <script type="text/javascript" src="../js/guide_the_message.js"></script>
  339. </body>
  340. </html>