123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>完成项目服务</title>
- <link rel="stylesheet" href="../../../css/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" href="../../../css/style.min.css"/>
- <link rel="stylesheet" type="text/css" href="../../../css/cross.css"/>
- <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="../../../css/element-ui.css">
- <link rel="stylesheet" href="../css/guide_the_message.css" />
- </head>
- <body>
- <div id="app" v-cloak role="tablist" aria-multiselectable="true">
- <div class="panelcurPage">
- <div class="panel-heading" style="border-bottom: 1px solid #d7dce6;" role="tab">
- <h4 class="panel-title">
- <a role="button" class="flex-box">
- <div class="flex-box-item service-top">
- <p class="service-name"><!--<span class="service-index">1</span>--><span>{{service.title}}</span></p>
- <div v-if="islimit" class="label-group">
- <span class="pull-right mt5" v-if="service.statusName=='已完成'"><i class="icon icon-gouxuan icon-18 mr5"></i>{{service.statusName}}</span>
- <span class="label-blue" v-if="service.shortExecuteTime">{{service.shortExecuteTime}}</span>
- <span class="label-blue" v-for="doctor in service.executeDoctorList">{{doctor}}</span>
- </div>
- <div v-else class="label-group">
- <span class="pull-right mt5" v-if="service.recordStatus==1"><i class="icon icon-gouxuan icon-18 mr5"></i>{{service.recordStatus==1?'已完成':'未完成'}}</span>
- <span class="label-blue" v-if="service.shortCompleteTime">{{service.shortCompleteTime}}</span>
- <span class="label-blue" v-for="doctor in service.executeDoctorList">{{doctor}}</span>
- </div>
- </div>
- <!--<span class="icon icon-arrow-down ml50"></span>-->
- </a>
- </h4>
- </div>
- <div v-if="islimit && service.type==7" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
- <div class="panel-body">
- <div class="pb20 c-border-b">
- 为居民提供康复后的复诊提醒或代预约服务
- </div>
- </div>
- </div>
- <div class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
- <div class="panel-body" style="padding-top: 0;">
- <div v-if="service.type!=7" class="service-content pt20">{{service.content}}</div>
- <div class="service-address ptb20">
- <div class="flex-box">
- <div class="flex-box-item">
- <p class="m0">服务地点:{{service.hospitalName}}</p>
- <p class="m0">服务时间:{{service.executeTime | formatDate}}</p>
- </div>
- <div class="flex-box-item">
- <p class="m0 yslb">执行人:<span v-for="(doctor,index) in service.executeDoctorList">{{doctor}}</span></p>
- <p class="m0">服务收费:{{service.expense}}元</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="panel-body">
- <div class="service-operation">
- <div style="border-bottom: 1px solid #D7D4F0;">
- <div class="pb10">
- 指导与汇报记录 <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>
- <div class="pull-right" v-if="(service.isMyTask==1 || service.isCreate || service.isCK) && service.planStatus!=0">
- <span class="view-detail" @click="zdly(service)" v-if="service.isCreate && (service.isMyTask!=1) && ((islimit&&service.status!=1)||(!islimit&&service.recordStatus!=1))">指导留言</span>
- <span class="view-detail" @click="zdly(service)" v-if="service.isCK && service.isMyTask==1">查看留言</span>
- </div>
- </div>
- <div class="record-list mb10" :class="{active:isCollapse}">
- <div class="record-item" v-for="item in service.messageList">
- <div class="flex-box c-999 f14">
- <div class="flex-box-item">
- {{item.adminTeamName}}
- </div>
- <div class="flex-box-item">
- {{item.createTime}}
- </div>
- </div>
- <div class="f14 c-333" v-html="getContent(item.content,item.contentType)"></div>
- </div>
- </div>
- <p class="c-999" style="margin-top: -10px;" v-if="service.messageList && !service.messageList.length">暂无记录</p>
- </div>
- <!-- 协诊信息 -->
- <div>
- <div class="setRadio mt40" v-if="showAppointHelpCheckBtn && !service.appointmentTime && service.type==7 && service.status!=1 && service.isMyTask==1">
- <el-radio-group v-model="selectCheckTyperadio">
- <el-radio :label="0">线下复诊--预约至专家医院进行复诊</el-radio>
- <el-radio :label="1">远程协诊--家庭医生与专科医生协同会诊</el-radio>
- <el-radio :label="2">线上复诊--入驻互联网医院提供线上复诊开方咨询</el-radio>
- </el-radio-group>
- </div>
- <div v-if="(selectCheckTyperadio==1 &&!showAppointHelpCheckBtn) || service.appointmentTime" class="ptb10">
- <div class="pb10 c-f14 c-333">协诊信息</div>
- <div class="flex-box-item">
- <p class="m0">预约时间:{{service.appointmentTime || appointTime}}</p>
- <p class="m0">预约医生:{{service.appointmentDoctorName || service.specialistDoctorName}}</p>
- <p class="m0">预约项目:远程协诊</p>
- </div>
- </div>
- </div>
- <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)">
- <p class="f14 c-333">服务完成笔记</p>
- <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>
- <div v-if="service.type==7 && (islimit && service.status==1) && service.reservationType!=1 && service.reservationType!=2">{{service.node || '暂无服务记录'}}</div>
- </div>
- <div class="note-info ptb10" v-if="service.type==7 && (islimit&&service.status!=1) && service.isMyTask==1 && showRecordFinished">
- <p class="f14 c-333">相关记录</p>
- <ul class="upload-box">
- <li class="flex-box" v-for="(img,index) in upImgs">
- <div class="upload-img-box">
- <img :src="img.baseUrl" />
- </div>
- <a class="delete-img" @click="deleteImg(index)">×</a>
- </li>
- <li class="flex-box" v-if="upImgs.length<5">
- <span class="add-img">+</span>
- <input type="file" @change="upLoadImgToBase64" class="upload-img" />
- </li>
- </ul>
- </div>
- <div class="note-info ptb10" v-if="service.type==7 && (islimit&&service.status==1) && service.reservationType!=1 && service.reservationType!=2">
- <p class="f14 c-333">相关记录</p>
- <ul class="upload-box" v-if="service.relationRecordImg && service.relationRecordImg.length">
- <li class="flex-box" v-for="img in service.relationRecordImg">
- <div class="upload-img-box">
- <img :src="img | getImgUrl" />
- </div>
- </li>
- </ul>
- <div class="upload-box" v-else>
- <p>暂无相关记录</p>
- </div>
- </div>
- <!-- operate: 是否完成任务 0 未完成 1 已完成 isMyTask: 0 不是自己的任务 1是自己的任务 status: 0 未完成 1已完成 2已预约-->
- <!-- planStatus:计划的状态 0 已终止 1进行中 2已完成 -->
- <!-- type: 服务项code 1 电话/短信关怀 2康复咨询 3远程健康监测 4 上门服务 5康复指导 6 康复随访 7 复诊-->
- <!-- selectCheckTyperadio 0 线下复诊 1远程协诊 2线上复诊 -->
- <div v-if="islimit&&service.planStatus!=0" class="flex-box btns-group clearfix" style="position: relative;"> <!-- 限制频次 -->
- <button class="btn btn-yuyue" v-if="service.type==4 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(4)">提醒患者</button>
- <button class="btn btn-12b7f5" v-if="service.type==4 && service.status!=1 && service.isMyTask==1" @click="qwapp">代预约</button>
- <button class="btn btn-yuyue" v-if="service.type==5 && service.status!=1 && service.isMyTask==1" @click="kfzd()">发送指导</button>
- <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>
- <button class="btn btn-12b7f5" v-if="service.type==6 && service.status!=1 && service.isMyTask==1 && service.operate==1" @click="qwapp" style="width: auto">记录随访表单</button>
- <button class="btn btn-12b7f5" v-if="service.type==6 && service.status==1" @click="qwapp" style="width: auto">查看随访结果</button>
- <button class="btn btn-yuyue" v-if="service.type==7 && service.status!=1 && service.isMyTask==1 && selectCheckTyperadio!=1 && !service.appointmentTime" @click="sendSpecialistWeixinMessage(7)">提醒患者</button>
- <button class="btn btn-12b7f5" v-if="service.type==7 && service.status!=1 && service.isMyTask==1 && selectCheckTyperadio==0 && !service.appointmentTime" @click="qwapp">代预约</button>
- <button class="btn btn-12b7f5" v-if="selectCheckTyperadio==1 && showAppointHelpCheckBtn" @click="$refs.datePicker.pickerVisible = true">预约协诊</button>
- <div class="setPicker" style="visibility: hidden;">
- <el-date-picker
- v-model="appointDate"
- type="date"
- ref="datePicker"
- @change="$refs.timePicker.pickerVisible = true"
- value-format="yyyy-MM-dd"
- :picker-options="pickerOptions"
- >
- </el-date-picker>
- </div>
- <div class="setPicker" style="visibility: hidden;">
- <el-time-select
- v-model="appointHour"
- :picker-options="{
- step: '00:05',
- minTime:startTime,
- start:'08:00',
- end:'20:00'
- }"
- value-format="HH:mm"
- @change="appointHelpCheck(service)"
- ref="timePicker"
- placeholder="选择时间">
- </el-time-select>
- </div>
- <button class="btn btn-12b7f5" v-if="(!service.appointmentTime && selectCheckTyperadio==1 &&!showAppointHelpCheckBtn && doctorlevel==2 && service.isMyTask==1) || (service.appointmentTime && service.isMyTask==1 && !service.completeTime && !showRecordFinished && doctorlevel==2)" @click="openHelpCheck">开启协诊</button>
- <button class="btn btn-12b7f5" v-if="(!service.appointmentTime && selectCheckTyperadio==1 &&!showAppointHelpCheckBtn && service.isMyTask==1 ) || (service.appointmentTime && service.isMyTask==1 && !showRecordFinished && !service.completeTime)" style="width: auto" @click="recordFinished">记录完成情况</button>
- <!-- 复诊的确认完成 -->
- <button class="btn btn-zhidao" v-if="islimit&&service.planStatus!=0 && service.status!=1 && service.isMyTask==1 && service.type==7 && showRecordFinished && showRecordFinished" @click="qrwc(service.patient,service.type)">确认完成</button>
- </div>
- <div v-if="!islimit&&service.planStatus!=0" class="flex-box btns-group clearfix"> <!-- 不限制频次 -->
- <button class="btn btn-12b7f5" v-if="service.type==6 && service.recordStatus!=1 && service.isMyTask==1 && service.operate==1" @click="qwapp" style="width: auto">记录随访表单</button>
- <button class="btn btn-12b7f5" v-if="service.type==6 && service.recordStatus==1" @click="qwapp" style="width: auto">查看随访结果</button>
- </div>
- </div>
- <div class="complete-info" v-if="(islimit&&service.status==1)||(!islimit&&service.recordStatus==1)">
- <div class="complete-title">完成情况</div>
- <div class="ptb10">
- <p class="f14 mb5"><span class="c-999">完成时间:</span>{{service.completeTime}}</p>
- <p class="f14 mb5"><span class="c-999">执行医生:</span>{{service.operatorDoctorName}}</p>
- </div>
- </div>
- <div class="note-info pt10" v-if="service.type==1">
- <p class="f14 c-333">服务完成笔记</p>
- <textarea v-if="((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1" class="form-control" style="resize: none;" rows="4" placeholder="可备注您的服务记录" v-model="service.node"></textarea>
- <div v-else>{{service.node || '暂无服务记录'}}</div>
- </div>
- <div class="note-info ptb10" v-if="service.type==1 && ((islimit&&service.status!=1) || (!islimit&&service.recordStatus!=1)) && service.isMyTask==1">
- <p class="f14 c-333">相关记录</p>
- <ul class="upload-box">
- <li class="flex-box" v-for="(img,index) in upImgs">
- <div class="upload-img-box">
- <img :src="img.baseUrl" />
- </div>
- <a class="delete-img" @click="deleteImg(index)">×</a>
- </li>
- <li class="flex-box" v-if="upImgs.length<5">
- <span class="add-img">+</span>
- <input type="file" @change="upLoadImgToBase64" class="upload-img" />
- </li>
- </ul>
- </div>
- <div class="note-info ptb10" v-if="service.type==1&& ((islimit&&service.status==1) || (!islimit&&service.recordStatus==1))">
- <p class="f14 c-333">相关记录</p>
- <ul class="upload-box" v-if="service.relationRecordImg && service.relationRecordImg.length">
- <li class="flex-box" v-for="img in service.relationRecordImg">
- <div class="upload-img-box">
- <img :src="img | getImgUrl" />
- </div>
- </li>
- </ul>
- <div class="upload-box" v-else>
- <p>暂无相关记录</p>
- </div>
- </div>
- <!-- type 服务项 1 电话/短信关怀 2康复咨询 3远程健康监测 4 上门服务 5康复指导 6 康复随访 7 复诊 -->
- <div class="note-info pt10" v-if="(service.type==4 || service.type==5 || service.type==7) && service.status==1">
- <p class="f14 c-333">关联记录</p>
- <div class="ptb10" v-if="service.type==4&&service.relationList&&service.relationList.length>0">
- <div v-for="(o, i) in service.relationList">
- <p class="f14 mb5"><span class="c-999">服务时间:</span>{{o.patientExpectedServeTime}}</p>
- <p class="f14 mb5"><span class="c-999">服务地址:</span>{{o.serveAddress}}</p>
- <p class="f14 mb5"><span class="c-999">服务描述:</span>{{o.serveDesc}}</p>
- <p class="f14 mb5"><span class="c-999">服务医生:</span>{{o.doctorName}}</p>
- </div>
- </div>
- <div class="pt10" v-if="service.type==5&&service.relationList&&service.relationList.length>0">
- <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)">
- <div class="ui-col-1 c-666">{{o.attachedTitle}}</div>
- <div class="ui-col-0 c-999">{{o.czrq}}</div>
- <img src="../images/arrow_icon.png" width="7px" height="14px" class="ml10"/>
- </div>
- </div>
- <div class="ptb10" v-if="service.type==7&&service.relationList&&service.relationList.length>0">
- <div v-for="(o, i) in service.relationList">
- <p class="f14 mb5"><span class="c-999">预约医院:</span>{{o.orgName}}</p>
- <p class="f14 mb5"><span class="c-999">预约科室:</span>{{o.deptName}}</p>
- <p class="f14 mb5"><span class="c-999">预约医生:</span>{{o.doctorName}}</p>
- <p class="f14 mb5"><span class="c-999">就诊时间:</span>{{o.startTime}}</p>
- <p class="f14 mb5"><span class="c-999">挂号时间:</span>{{o.czrq}}</p>
- </div>
- </div>
- <div v-if="!service.relationList || service.relationList.length==0" class="guanlian-list c-999">暂无关联记录</div>
- </div>
- <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;">
- <div id="innerdiv" style="position:absolute;">
- <img id="bigimg" style="border:5px solid #fff;" src="" />
- </div>
- </div>
- <div class="text-center ptb50" v-if="islimit&&service.planStatus!=0 && service.status!=1 && service.isMyTask==1 && service.type==1">
- <button class="btn btn-zhidao" @click="qrwc(service.patient,service.type)">确认完成</button>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="../../../js/vue.js"></script>
- <script type="text/javascript" src="../../../js/jquery-2.2.4.js" ></script>
- <script src="../../../js/element-ui.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../js/jsencrypt.js" type="text/javascript" charset="utf-8"></script>
- <script src="../../../plugins/toastr/toastr.min.js"></script>
- <script type="text/javascript" src="../../../plugins/layer/layer.min.js"></script>
- <script type="text/javascript" src="../../../api/http-request.js"></script>
- <script type="text/javascript" src="../../../api/rehabilitation-api.js"></script>
- <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
- <script type="text/javascript" src="../../../plugins/layer/layer.min.js" ></script>
- <script type="text/javascript" src="../js/guide_the_message.js"></script>
- </body>
- </html>
|