yht2016 4 anni fa
parent
commit
9f7a92f5b0

+ 2 - 1
app/consulting/js/consulting.js

@ -196,7 +196,8 @@ new Vue({
		    consultingAPI.sendMessage(vm.sessionId, {data: params}).then(function(res){
		        console.log(res);
		        vm.count++;
		        if(vm.count==1 && JSON.parse(window.localStorage.getItem('wlyyAgent')).doctorType==1 && vm.planDetailId && vm.planDetailId!="undefined"){//level:1 专科医生 (只记录第一条数据)
				var doctorInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'))
		        if(vm.count==1 && doctorInfo.doctorType==1 && vm.planDetailId && vm.planDetailId!="undefined"){//level:1 专科医生 (只记录第一条数据)
			        var messages = res.messages[0];
			        var guidanceParams = {
			        	messageId:messages.id,//消息id

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

@ -684,7 +684,7 @@ Vue.component('server-items-detail', {
		zdly: function(data) {
			var vm = this
			var otherCode, otherName;
			var planDetailId = data.planDetaiId;
			var planDetailId = vm.plandetailid;
			if(vm.docInfo.doctorType == 1) {
				otherCode = data.familyDoctorCode;
				otherName = data.familyDoctorName;