yht2016 4 years ago
parent
commit
a9404d2925

+ 56 - 25
app/recover/html/new_recover.html

@ -80,7 +80,7 @@
							</div>
						</div>
					</div>
					<button v-if="!isEditConfig" type="button" class="btn btn-default fr" style="width: 100%; background: #12B7F5; border-radius: 0px ;border: 0px ;padding: 10px;margin-top: 15px;" @click="addMedicalRecords()">添加住院病历</button>
					<button v-if="!isEditConfig&&medicalRecordsList.length==0" type="button" class="btn btn-default fr" style="width: 100%; background: #12B7F5; border-radius: 0px ;border: 0px ;padding: 10px;margin-top: 15px;" @click="addMedicalRecords()">添加住院病历</button>
				</div>
	        </div>
	        <div class="fl c-h100 w-100-400">
@ -685,7 +685,6 @@
                	},
                	// 获取居民信息
                	getPatientInfo: function() {
                		// this.findPatientSignSpecialistInfo()
                		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
@ -696,34 +695,66 @@
							if(res.status == 200) {
								vm.patiInfo = res.data
								vm.pati.patientName = res.data.name
								vm.jDlist.push({
									name: vm.patiInfo.ssDoctorName || vm.patiInfo.jtDoctorName,
									code: vm.patiInfo.ssDoctor || vm.patiInfo.jtDoctor,
									hospitalName: vm.patiInfo.jtHospitalName
								})
								vm.jDlist.push({
									name: vm.patiInfo.ssDoctorHealthName || vm.patiInfo.jtDoctorHealthName,
									code: vm.patiInfo.ssDoctorHealth || vm.patiInfo.jtDoctorHealth,
									hospitalName: vm.patiInfo.jtHospitalName
								})
								vm.jDlist.push({
									name: docInfo.name,
									code: docInfo.uid,
									hospitalName: docInfo.hospitalName
								})
								if(vm.planId){ // 编辑服务项时获取服务医生列表
									vm.selectPlanServerDoctor(vm.planId)
								} else {
									vm.jDlist.push({
										name: vm.patiInfo.ssDoctorName || vm.patiInfo.jtDoctorName,
										code: vm.patiInfo.ssDoctor || vm.patiInfo.jtDoctor,
										hospitalName: vm.patiInfo.jtHospitalName
									})
									vm.jDlist.push({
										name: vm.patiInfo.ssDoctorHealthName || vm.patiInfo.jtDoctorHealthName,
										code: vm.patiInfo.ssDoctorHealth || vm.patiInfo.jtDoctorHealth,
										hospitalName: vm.patiInfo.jtHospitalName
									})
									vm.jDlist.push({
										name: docInfo.name,
										code: docInfo.uid,
										hospitalName: docInfo.hospitalName
									})
								}
								// 获取居民标签
								vm.getPatientLabelInfo()
								if(!vm.teamCode){
								if(vm.docInfo.doctorType==1){
									vm.findPatientSignSpecialistInfo()
								}
								if(vm.planId){
									vm.getServiceItem()
								}
							} else {
								showErrorMessage(res.msg);
							}
						})
                	},
					// 获取服务医生列表
					selectPlanServerDoctor: function(id){
						var vm = this,
						params = {
							planId: id
						}
						rehaAPI.selectPlanServerDoctor(params).then(function(res){
							var jtList = [], zkList = []
							if(res.status==200){
								$.each(res.data, function(index, item){
									if(item.level==1){
										zkList.push({
											name: item.name,
											code: item.code,
											hospitalName: item.hospitalName
										})
									} else {
										jtList.push({
											name: item.name,
											code: item.code,
											hospitalName: item.hospitalName
										})
									}
								})
								vm.jDlist = jtList.concat(zkList)
								vm.getServiceItem()
							}else{
								layer.msg(res.msg,{icon:5});
							}
						})
					},
                	// 签约专科信息
                	findPatientSignSpecialistInfo: function() {
                		var vm = this,
@ -734,8 +765,10 @@
						recoverAPI.findPatientSignSpecialistInfo(params).then(function(res) {
							if(res.status == 200) {
								vm.pati.teamCode = res.data.teamCode
								vm.teamCode = res.data.teamCode
								vm.specialistTeam(res.data.teamCode)
								if(!vm.teamCode){
									vm.teamCode = res.data.teamCode
								}
								vm.specialistTeam(vm.teamCode)
							} else {
								showErrorMessage(res.msg);
							}
@ -1178,7 +1211,6 @@
							var obj;
							if(o.code=='2'||o.code=='3'||!o.frequencyCode){
								obj = {
									id: vm.planDetailId,
									hospitalServiceItemId: o.code,
									type: 2,
									doctor: vm.jDlist[0].code,
@ -1196,7 +1228,6 @@
										executeTime.push(v)
									});
									obj = {
										id: vm.planDetailId,
										hospitalServiceItemId: o.code, // 服务项code
										type: 2,
										doctor: o.executeDoctor,

+ 1 - 0
app/rehabilitation/css/rehabilitation_management.css

@ -652,6 +652,7 @@ html,
	border: solid 1px #d7dce6;
	position: absolute;
	right: 102px;
	cursor: pointer;
}

.calendar-descript {

+ 3 - 2
app/rehabilitation/html/guide_the_message.html

@ -80,12 +80,13 @@
					<!-- type: 服务项code 1 电话/短信关怀 2康复咨询 3远程健康监测 4 上门服务 5康复指导 6 康复随访 7 复诊-->
					<div v-if="islimit&&service.planStatus!=0" class="flex-box btns-group clearfix"> <!-- 限制频次 -->
						<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 && service.isZK" @click="sendSpecialistWeixinMessage(7)">提醒患者</button>
						<button class="btn btn-disabled" v-if="service.type==7 && service.status!=1 && service.isMyTask==1 && !service.isZK" @click="qwapp">代预约</button>
						<button class="btn btn-yuyue" v-if="service.type==7 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(7)">提醒患者</button>
						<button class="btn btn-12b7f5" v-if="service.type==7 && service.status!=1 && service.isMyTask==1" @click="qwapp">代预约</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>

+ 1 - 1
app/rehabilitation/html/medical-records-detail.html

@ -11,7 +11,7 @@
	</head>
	<body>
		<div id="app" v-cloak>
            <div class="p15">
            <div class="p15" style="padding-left: 50px;">
                <div class="flex vc ptb15">
                    <span class="c-666 c-f15 mr10" style="width: 90px;">姓&emsp;&emsp;名:</span>
                    <div class="flex1 c-333 c-f15">

+ 3 - 4
app/rehabilitation/html/service_item_content.html

@ -72,14 +72,13 @@
		      			<div class="flex-box btns-group clearfix" v-if="service.planStatus!=0">
							<button class="btn btn-yuyue" v-if="service.itemType==1 && service.status!=1 && service.isMyTask==1" @click="goToFinish(service.planDetaiId)">确认完成</button>
							<button class="btn btn-yuyue" v-if="service.itemType==4 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(service.planDetaiId,4)">提醒患者</button>
							<button class="btn btn-12b7f5" v-if="service.itemType==4 && service.status!=1 && service.isMyTask==1" @click="qwapp">代预约</button>
		      				<button class="btn btn-yuyue" v-if="service.itemType==5 && service.status!=1 && service.isMyTask==1" @click="kfzd(service.planDetaiId)">发送指导</button>
							<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>
							<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>
							<button class="btn btn-12b7f5" v-if="service.itemType==6 && service.status==1" @click="qwapp" style="width: auto">查看随访结果</button>
							<button class="btn btn-yuyue" v-if="service.itemType==7 && service.status!=1 && service.isMyTask==1 && service.isZK" @click="sendSpecialistWeixinMessage(service.planDetaiId,7)">提醒患者</button>
							<button class="btn btn-disabled" v-if="service.itemType==7 && service.status!=1 && service.isMyTask==1 && !service.isZK" @click="qwapp">代预约</button>
							<!-- <button class="btn btn-yuyue" v-if="service.itemType==5 && service.status!=1 && service.isMyTask==1" @click="jkjy(service.patient,service.planDetaiId)">健康教育</button> -->  
							<!-- <button class="btn btn-zhidao" v-if="service.itemType==1 && service.status!=1 && service.isMyTask==1" @click="fwm(service.planDetaiId,service.patient)">服务码</button> -->
							<button class="btn btn-yuyue" v-if="service.itemType==7 && service.status!=1 && service.isMyTask==1" @click="sendSpecialistWeixinMessage(service.planDetaiId,7)">提醒患者</button>
							<button class="btn btn-12b7f5" v-if="service.itemType==7 && service.status!=1 && service.isMyTask==1" @click="qwapp">代预约</button>
		      			</div>
		      			<div class="complete-info" v-if="service.status==1">
			      			<div class="complete-title">完成情况</div>

+ 1 - 0
component/rehabilitation/server-items-detail.js

@ -145,6 +145,7 @@ Vue.component('server-items-detail', {
						<button v-if="service.isMyTask" class="btn btn-12b7f5" @click="zdly(service)">查看留言</button>\
						<button v-if="service.isMyTask&&service.type==\'1\'" class="btn btn-yuyue" @click="addCompleteRecord()">添加完成记录</button>\
						<button v-if="service.isMyTask&&service.type==\'4\'" class="btn btn-yuyue" @click="sendSpecialistWeixinMessage(planDetaiId,4)">发送提醒</button>\
						<button v-if="service.isMyTask&&service.type==\'4\'" class="btn btn-12b7f5" @click="qwapp">代预约</button>\
						<button v-if="service.isMyTask&&service.type==\'5\'" class="btn btn-yuyue" @click="kfzd()">发送康复指导</button>\
						<button v-if="service.isMyTask&&service.type==\'6\'" class="btn btn-yuyue" @click="sfjh()">创建随访计划</button>\
						<button v-if="service.isMyTask&&service.type==\'7\'" class="btn btn-yuyue" @click="sendSpecialistWeixinMessage(planDetaiId,7)">发送提醒</button>\