hd 4 months ago
parent
commit
be56c3d427

+ 7 - 7
app/rehabilitation/html/guide_the_message.html

@ -163,15 +163,15 @@
          <!-- 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="toDoorDialog">代预约</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 class="btn btn-yuyue" v-if="service.type==4 && service.status!=1" @click="sendSpecialistWeixinMessage(4)">提醒患者</button>
            <button class="btn btn-12b7f5" v-if="service.type==4 && service.status!=1" @click="toDoorDialog">代预约</button>
            <button class="btn btn-yuyue" v-if="service.type==5 && service.status!=1" @click="kfzd()">发送指导</button>
            <button class="btn btn-yuyue" v-if="service.type==6 && service.status!=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"
              v-if="service.type==6 && service.status!=1 && service.operate==1"
              @click="openFollowRecordForm"
              style="width: auto">
              记录随访表单
@ -179,13 +179,13 @@
            <button class="btn btn-12b7f5" v-if="service.type==6 && service.status==1" @click="openFollowRecordForm" style="width: auto">查看随访结果</button>
            <button
              class="btn btn-yuyue"
              v-if="service.type==7 && service.status!=1 && service.isMyTask==1 && selectCheckTyperadio!=1 && !service.appointmentTime"
              v-if="service.type==7 && service.status!=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"
              v-if="service.type==7 && service.status!=1 && selectCheckTyperadio==0 && !service.appointmentTime"
              @click="rehabilitationReservation()">
              代预约
            </button>

+ 17 - 7
app/rehabilitation/html/toDoorService.html

@ -179,6 +179,13 @@
          this.detailId = GetRequest().detailId
          this.relationCode = GetRequest().relationCode
          this.docInfo = JSON.parse(localStorage.getItem('docInfo'))
          this.doctor={
				    doctor: this.docInfo.code,
				    name: this.docInfo.name,
				    jobName: this.docInfo.jobName
			    }
          
          this.getPatientInfo()
          this.initMap()
        },
@ -221,17 +228,20 @@
            var point = new BMap.Point(116.404, 39.915) // 创建点坐标
            vm.bmap.centerAndZoom(point, 15) // 初始化地图,设置中心点坐标和缩放级别
            // 添加缩放控件
            // var zoomCtrl = new BMap.ZoomControl({
            //   anchor: BMAP_ANCHOR_BOTTOM_RIGHT
            // })
            // vm.bmap.addControl(zoomCtrl)
            var zoomCtrl = new BMap.ZoomControl({
              anchor: BMAP_ANCHOR_BOTTOM_RIGHT
            })
            vm.bmap.addControl(zoomCtrl)
            vm.marker = new BMap.Marker(point)
            vm.bmap.addOverlay(vm.marker)
            vm.bmap.enableDragging()
            // vm.bmap.enableScrollWheelZoom()
            vm.bmap.addEventListener('click', function (e) {
              console.log(e,"e");
              
              // return
              vm.getAddress(e.point)
              vm.bmap.clearOverlays()
@ -374,9 +384,9 @@
                  serveLat: vm.serveLat,
                  serveLon: vm.serveLon,
                  doctor: vm.docInfo.code,
                  doctorName: vm.docInfo.name,
                  doctorType: vm.docInfo.jobName,
                  doctor: vm.doctor.doctor,
                  doctorName: vm.doctor.name,
                  doctorType: vm.doctor.jobName,
                  id: null, //重新派单增加orderId
                  relationCode: vm.relationCode
                },