Przeglądaj źródła

Merge branch 'master' of http://192.168.1.220:10080/raolu/PC-application

yingzhou 6 lat temu
rodzic
commit
95f41e08c6

+ 2 - 2
app/consulting/html/consulting.html

@ -71,7 +71,7 @@
            {{/if}}
            {{if type == 3}}
            <dd class="word-bread">
                <div class="player" style="width:292px;">
                <div class="player" style="width:300px;">
                    <audio controls>
                        <!-- Audio files -->
                        <source src="{{content.path | getSourceUrl}}" type="audio/mp3">
@ -83,7 +83,7 @@
            {{/if}}
            {{if type == 12}}
            <dd class="word-bread">
                <div class="player" style="width:292px;">
                <div class="player" style="width:300px;">
                    <video poster="{{content.img | getSourceUrl}}" controls crossorigin>
                        <!-- Video files -->
                        <source src="{{content.path | getSourceUrl}}" type="video/mp4">

+ 11 - 10
app/consulting/js/consulting.js

@ -273,8 +273,17 @@ new Vue({
		        }
		        var content = '';
		        try{
		        	if(reply.content_type == 18 || reply.content_type == 19){//居民名片、聊天记录
		        	  if(reply.content_type == 18 || reply.content_type == 19){//居民名片、聊天记录
		            	content = "暂不支持此类信息";
		            }else if(reply.content_type == 3){ //语音
		                content = {};
		                content.path = JSON.parse(reply.content).path;
		            }else if(reply.content_type == 12){ //视频文件
		                var arr = reply.content.split(",");
		                content = {};
		                content.img = arr[0];
		                content.path = arr[1];
		                content.time = arr[2];
		            }else{
		            	if(vm.isString(reply.content)){
		            		content = reply.content;
@ -283,15 +292,7 @@ new Vue({
		            	}
		        	}
		        }catch(e){
		            if(reply.content_type == 12){ //视频文件
		                var arr = reply.content.split(",");
		                content = {};
		                content.img = arr[0];
		                content.path = arr[1];
		                content.time = arr[2];
		            }else{
		                content = reply.content;
		            }
		            
		        }
		        var obj = {
		            isSelf: isSelf,

+ 14 - 7
app/recover/html/new_recover.html

@ -112,6 +112,7 @@
        											<span class="fl">{{time}}</span><span class="fl ml5 sub-tap cur-pit" @click="spliceTimeArr(index, ind)"></span>
        										</p>
        										<span class="fl c-12b7f5 cur-pit calendar" contenteditable="true" readonly @mousedown="selectTime(index)" class=flatpickr data-enable-time=true data-time_24hr=true>添加</span>
        										<span class="fl c-12b7f5 cur-pit ml10" v-show="sureIndex == index">确定</span>
        									</div>
		        						</div>
		        						<div class='fr w60 c-t-right clearfix'>
@ -138,8 +139,8 @@
		        		<div class="plr5 c-h100">
		        			<h4 class="m0 pl10 lh40 c-border-b">添加其他项目</h4>
		        			<div class="clearfix mtb10 c-border">
								<input class="fl search-input plr10" type="text" placeholder="输入项目名称" />
								<span class="fr search-btn"></span>
								<input class="fl search-input plr10" type="text" v-model="searchKey" placeholder="输入项目名称" />
								<span class="fr search-btn" @click="searchProject()"></span>
							</div>
							<div class="c-h100-99" style="overflow: hidden;">
								<ul class="c-h100 p0 m0" style="overflow: auto;">
@ -209,7 +210,7 @@
				})
			}
			// 初始化加载flatpickr插件
			$(".calendar").flatpickr();
//			$(".calendar").flatpickr();
			
			recoverVue = new Vue({
                el: "#app",
@ -222,6 +223,7 @@
                	patiInfo: null,
                	diseaseObj: null,
                	mubanList: [],
                	sureIndex: null,
                	templateDetail: [],
                	templateResult: [],
                	allFee: 0,
@ -240,7 +242,8 @@
                	}],
                	jDlist: null,
                	zDlist: null,
                	selectProjectDetail: null
                	selectProjectDetail: null,
                	searchKey: null
                },
                mounted: function() {
                	
@ -332,7 +335,8 @@
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				doctor: docInfo.uid,
								patient: this.pati.patient
								patient: this.pati.patient,
								serviceItemName: this.searchKey
			    			}
						recoverAPI.findServiceItemsByHospital(params).then(function(res) {
							layer.close(loadding)
@ -370,6 +374,9 @@
							}
						})
                	},
                	searchProject: function() {
                		this.findServiceItemsByHospital()
                	},
                	setPatImg: function(src) {
			    		if(!src) {
			    			return "../../../images/p-female.png"
@ -519,10 +526,9 @@
                		this.labelCode = label.code
                	},
                	selectTime: function(index) {
                		event.cancelBubble = true;
                		event.stopPropagation();
                		var currentEle = $(event.target),
                			vm = this;
                		this.sureIndex = index
                		currentEle.flatpickr({
                			defaultDate: currentEle.val(),
                			minDate: "today",
@ -534,6 +540,7 @@
                				if(!str) {
                					return false;
                				}
                				vm.sureIndex = null
                				vm.templateDetail[index].specialistServiceItemDO.executeTime.push(str)
                				vm.allFee += Number(vm.templateDetail[index].expense)
                			}

+ 14 - 10
app/recover/html/personal-manage.html

@ -2,18 +2,18 @@
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人康复管理</title>
		<title>康复管理</title>
		<link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/cross.ui.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/new_recover.css" />
		<link rel="stylesheet" type="text/css" href="../css/personal-manage.css" />
		<style>
			.content {height: calc(100% - 14px);}
		</style>
	</head>
	<body class="m0">
	<div id="app" class="c-333" v-cloak>
		<div class="re-title no-select">
			<div class="name">康复管理</div>
		</div>
		<div class="content clearfix">
	        <div class="fl c-h100 w350 person_info c-border-r">
	        	<div class="plr5 c-h100">
@ -28,11 +28,11 @@
		    					</p>
		    					<p class="m0 p0 mb10">
		    						<span class="c-999">健康情况:</span>{{recoverPatInfo.patientInfo.healthyCondition}}
		    						<span class="c-999 ml20">联系电话:</span><span class="c-12b7f5 cur-pit">点击查看</span>
		    						<span class="c-999 ml10">联系电话:</span><span class="c-12b7f5 cur-pit" v-if="isMobile" @click="changeStatu()">点击查看</span><span v-else>recoverPatInfo.patientInfo.mobile</span>
		    					</p>
		    				</div>
		    				<div class="fr set-photo">
		    					<img :src="recoverPatInfo.patientInfo.photo" alt="居民头像" />
		    					<img :src="setPatImg(recoverPatInfo.patientInfo.photo)" alt="居民头像" />
		    				</div>
	    				</div>
	    				<p class="m0 p0 mb10">
@ -124,7 +124,7 @@
	    					</li>
	    					<li class="plr20">
	    						<div class="c-border lh40 b-r-3 c-t-center cur-pit" v-if="isFinishMore" @click="addPage()">点击查看更早时间</div>
	    						<div class="c-border lh40 b-r-3 c-t-center" v-else>没有更多了</div>
	    						<!--<div class="c-border lh40 b-r-3 c-t-center" v-else>没有更多了</div>-->
	    					</li>
	    				</ul>
	    			</div>
@ -200,6 +200,7 @@
			recoverVue = new Vue({
                el: "#app",
                data: {
                	isMobile: true,
                	recoverPatInfo: null,
                	finishData: null,
                	seeRecord: [],
@ -214,6 +215,9 @@
                	this.archivesEvent()
                },
                methods: {
                	changeStatu: function() {
                		this.isMobile = false
                	},
                	jumpPlan: function(plan) {
                		location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + plan.id
                	},
@ -233,7 +237,7 @@
			    		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				patientCode: httpData.patientCode || "915ccc97-5b1d-11e6-8344-fa163e8aee56"
			    				patientCode: httpData.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c"
			    			}
						recoverAPI.patientRehabilitationDetail(params).then(function(res) {
							layer.close(loadding)
@ -248,7 +252,7 @@
			    		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				patientCode: httpData.patientCode || "915ccc97-5b1d-11e6-8344-fa163e8aee56",
			    				patientCode: httpData.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c",
			    				page: vm.eventPage,
			    				pageSize: 10
			    			}
@ -275,7 +279,7 @@
			    		var vm = this,
			    			loadding = layer.load(0, {shade: false}),
			    			params = {
			    				patient: httpData.patientCode || "915ccc97-5b1d-11e6-8344-fa163e8aee56",
			    				patient: httpData.patientCode || "e040dd6814b648ceb3ba8d8a04f9f22c",
			    				page: vm.page,
			    				pageSize: 20
			    			}

+ 38 - 0
app/recover/html/photo_show.html

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>照片查看</title>
		<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../../css/cross.css"/>
		<link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
		<style>
			.img_list { position: fixed; bottom: 0; wdith: 100%; height: 40px;}
			.img_list img {opacity: 0.4;}
			.img_list img.active, .img_list img:hover {opacity: 1;}
			.w-20 {width: 20%;}
			.h100 {height: 100px;}
			.w-100 {width: 100%;}
			.h-100 {height: 100%;}
		</style>
	</head>
	<body>
		<div id="app" class="c-position-r h-100 bgc-999">
			<div class="h-100">
				<div class="h-100 c-t-center">
					<img class="h-100 w-100" :src="setImg(src)" alt="图片">
				</div>
			</div>
		</div>
		<script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
        <script src="../../../js/jquery-2.2.4.js"></script>
        <script src="../../../plugins/layer/layer.min.js"></script>
        <script src="../../../js/bootstrap.min.js"></script>
        <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
        <script src="../../../js/underscore.js" type="text/javascript" charset="utf-8"></script>
        <script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../api/http-request.js" type="text/javascript"></script>
		<script src="../js/photo_show.js" type="text/javascript"></script>
	</body>
</html>

+ 12 - 2
app/recover/html/project-detail.html

@ -25,7 +25,7 @@
					<span class="fl w-50">时间:{{handleTime(planDetail.executeTime)}}</span>
					<span class="fl w-50">收费:{{planDetail.expense}}元</span>
				</div>
				<p class="p0 m0 ptb10 c-333 clearfix">指导与回报记录<span class="fr pl15 set-show c-12b7f5" :class="{'active':isShowMore}" @click="changeShow()">{{isShowMore ? "收起详情" : "查看详情"}}</span></p>
				<p class="p0 m0 ptb10 c-333 clearfix">指导与汇报记录<span class="fr pl15 set-show c-12b7f5" :class="{'active':isShowMore}" @click="changeShow()">{{isShowMore ? "收起详情" : "查看详情"}}</span></p>
				<ul class="p0 m0" v-show="isShowMore">
					<li class="bgc-f2fcfe plr10 ptb10 mb10" v-for="(record, index) in planDetail.messageList" :key="index">
						<p class="m0 p0 mb10 clearfix">
@ -48,7 +48,7 @@
				<p class="m0 p0 ptb10 c-333">相关记录</p>
				<ul class="p0 m0 ptb10 plr10 mb20 c-border b-r-3 clearfix">
					<li class="fl set-photo c-border mr10 clearfix" v-for="(record, index) in planDetail.relationRecordImg" :key="index">
						<img class="fl" :src="handleImg(record)" alt="记录图" />
						<img class="fl" :src="handleImg(record)" alt="记录图" @click="lookPhoto(record)" />
					</li>
					<li class="c-t-center" v-if="!planDetail.relationRecordImg.length">暂无相关记录</li>
				</ul>
@ -130,6 +130,16 @@
			    	addZero: function(num) {
			    		return num >= 10 ? num : '0' + num
			    	},
			    	lookPhoto: function(src) {
			    		parent.photoLayerIndex = parent.layer.open({
			        		type: 2,
			        		area: ['400px', '400px'],
			        		title: false,
			        		shade: 0.5,
			        		shadeClose: true,
			        		content: '../html/photo_show.html?src=' + src
			        	})
			    	},
			    	handleImg: function(src) {
			    		var str = httpRequest.getImgUrl(src);
			    		return str

+ 15 - 0
app/recover/js/photo_show.js

@ -0,0 +1,15 @@
var httpData=GetRequest();
parent.$("#layui-layer" + parent.photoLayerIndex + " .layui-layer-setwin").addClass("set-close-btn")
new Vue({
    el: "#app",
    data: {
    	src: httpData.src
    },
    methods: {
    	setImg: function(str) {
        	return httpRequest.getImgUrl(str);
        }
    }
})

+ 13 - 13
app/rehabilitation/html/moreplan.html

@ -30,25 +30,25 @@
            </ul>
            <!-- henfu -->
            <div class="henfu">
                <div class="data flex-box">
                <div class="data flex-box" v-for="(dat, index) in patientlist">
                    <div class="dataa">
                        <div class="quote"></div>
                        <div class="dataatop">
                            <div class="dac flex-box">
                                <p>
                               <img :src="setImgSrc(patientPhoto)" width="40" height="40" class="c-images-cycle" />
                               <img :src="setImgSrc(dat.patientPhoto)" width="40" height="40" class="c-images-cycle" />
                                </p>
                                <div class="xinxi">
                                    <div class="xinxitop flex-box">
                                            <p>{{name}}&#x3000;({{sex}}{{age}}岁)
                                            <p>{{dat.patientName}}&#x3000;({{dat.sex}}{{dat.age}}岁)
                                                </p>
                                                <p class="biaoqian">
                                                    <span></span>康复期
                                                </p>
                                    </div>
                                  
                                    <p>{{hospital}}</p>
                                    <p>{{dat.hospital}}</p>
                                </div>
@ -68,17 +68,17 @@
                                <img src="../../../images/moren_yishengqun_img .jpg" width="40" height="40" class="c-images-cycle">
                                <div class="miaoshu cgre">
                                    <p>
                                        <span>家庭医生</span>&nbsp;{{signFamilyAdminTeamName}}</p>
                                    <p class="mt10">{{familyHospitalName}}</p>
                                        <span>家庭医生</span>&nbsp;{{dat.signFamilyAdminTeamName}}</p>
                                    <p class="mt10">{{dat.familyHospitalName}}</p>
                                </div>
                            </div>
                            <div class="fdb flex-box">
                                <p>完成项目
                                    <span>{{signFamilyFinishItemCount}}</span>
                                    <span>{{dat.signFamilyFinishItemCount}}</span>
                                </p>
                                <p>服务记录
                                    <span>{{signFamilyServiceRecordCount}}</span>
                                    <span>{{dat.signFamilyServiceRecordCount}}</span>
                                </p>
                            </div>
@ -88,17 +88,17 @@
                                <img src="../../../images/moren_yishengqun_img .jpg" width="40" height="40" class="c-images-cycle">
                                <div class="miaoshu cgre">
                                    <p>
                                        <span>专科医生</span>&nbsp;{{specialistAdminTeamName}}</p>
                                    <p class="mt10">{{specialistHospitalName}}</p>
                                        <span>专科医生</span>&nbsp;{{dat.specialistAdminTeamName}}</p>
                                    <p class="mt10">{{dat.specialistHospitalName}}</p>
                                </div>
                            </div>
                            <div class="fdb flex-box">
                                <p>完成项目
                                    <span>{{specialistFinishItemCount}}</span>
                                    <span>{{dat.specialistFinishItemCount}}</span>
                                </p>
                                <p>服务记录
                                    <span>{{specialistServiceRecordCount}}</span>
                                    <span>{{dat.specialistServiceRecordCount}}</span>
                                </p>
                            </div>
@ -145,7 +145,7 @@
                    <div class="detaild">
                        <a href="javascript: void(0)" @click="checkPatient()">查看患者</a>
                        <a href="javascript: void(0)" @click="checkPlan(data)">查看计划</a>
                        <a href="javascript: void(0)" class="ii" @click="stop(data)" :id="'stopBtn_'+data.planId">终止计划</a>
                        <a href="javascript: void(0)"  @click="stop(data)" :id="'stopBtn_'+data.planId">终止计划</a>
                    </div>

+ 64 - 57
app/rehabilitation/js/health_control.js

@ -20,24 +20,24 @@ layui.use('element', function () {
        layer.confirm('您确定要执行该操作吗?', { btn: ['确定', '取消'], title: "提示" }, function (index) {
            if (num == 2) {
                showInfoMessage("计划已完成")
                $("#stopBtn_"+planid).attr('disabled', true).addClass("falsebutton")
                $("#stopBtn_" + planid).attr('disabled', true).addClass("falsebutton")
            } else {
                isStop = num == 0 ? 1 : 0
            }
            if (isStop == 0) {
                $("#progress_"+planid).css({
                     "background-color": "gray"
                 })
                $("#stopBtn_"+planid).html("激活计划")
             } else {
                 $("#progress_"+planid).css({
                     "background-color": "#ff9526"
                 })
                 $("#stopBtn_"+planid).html("终止计划")
             }
          console.log(isStop)
                $("#progress_" + planid).css({
                    "background-color": "gray"
                })
                $("#stopBtn_" + planid).html("激活计划")
            } else {
                $("#progress_" + planid).css({
                    "background-color": "#ff9526"
                })
                $("#stopBtn_" + planid).html("终止计划")
            }
            console.log(isStop)
            var params = {
                status: isStop,
@ -81,10 +81,10 @@ layui.use('element', function () {
            planid: "",
            isStop: 1, //
            isActive: true,
            doctorType:"",
            docInfo:[],
            isLeader:0,
            
            doctorType: "",
            docInfo: [],
            isLeader: 0,
            planCreateUser: ""
        },
@ -97,50 +97,56 @@ layui.use('element', function () {
                        var allFinishCount = val[i].allFinishCount
                        var allCount = val[i].allCount
                        var isStop = val[i].status
                        var ishospitalName=val[i].hospitalName
                        if(ishospitalName==null){
                            $("#hospitalName_"+val[i].id).html("暂无社区信息")
                        var ishospitalName = val[i].hospitalName
                        vm.planCreateUser = val[i].planCreateUser
                            if (vm.planCreateUser[i]!== vm.docInfo.code) {
                                $("#stopBtn_" + val[i].id).attr('disabled', "true")
                                $("#stopBtn_" + val[i].id).addClass("falsebutton")
                            }
                        if (ishospitalName == null) {
                            $("#hospitalName_" + val[i].id).html("暂无社区信息")
                        }
                        if(allCount==0){
                        if (allCount == 0) {
                            Progress(val[i].id, 0 + "%")
                        }else{
                        } else {
                            var progressNum = Math.ceil((allFinishCount / allCount) * 100)
                            Progress(val[i].id, progressNum + "%")
                        }
                        if (isStop == 0) {
                            $("#progress_"+val[i].id).css({
                                 "background-color": "gray"
                             })
                            $("#stopBtn_"+val[i].id).html("激活计划")
                         } else {
                             $("#progress_"+val[i].id).css({
                                 "background-color": "#ff9526"
                             })
                             $("#stopBtn_"+val[i].id).html("终止计划")
            
                         }
                            $("#progress_" + val[i].id).css({
                                "background-color": "gray"
                            })
                            $("#stopBtn_" + val[i].id).html("激活计划")
                        } else {
                            $("#progress_" + val[i].id).css({
                                "background-color": "#ff9526"
                            })
                            $("#stopBtn_" + val[i].id).html("终止计划")
                        }
                    }
                    var lastColor = 'red';
                    for (var i = 0; i < val.length; i++) {
                        if (i == 0) {
                            $($(".quote")[i]).css("background-color","#12b7f5")
                            $($(".quote")[i]).css("background-color", "#12b7f5")
                            continue
                        }
                        if (val[i].patientName == val[i - 1].patientName) {
                            $($(".quote")[i]).css("background-color","#02cfb9")
                            $($(".quote")[i]).css("background-color", "#02cfb9")
                            if (lastColor === 'red') {
                                $($(".quote")[i]).css("background-color","#12b7f5")
                                $($(".quote")[i]).css("background-color", "#12b7f5")
                            }
                        } else {
                            if (lastColor !== 'red') {
                                $($(".quote")[i]).css("background-color","#12b7f5")
                                $($(".quote")[i]).css("background-color", "#12b7f5")
                                lastColor = 'red'
                            } else {
                                lastColor = 'white'
                                $($(".quote")[i]).css("background-color","#02cfb9")
                                $($(".quote")[i]).css("background-color", "#02cfb9")
                            }
@ -159,11 +165,11 @@ layui.use('element', function () {
            // vm.getModal()
            vm.getDatas()
            vm.gettypes()
         
        },
        methods: {
            setImgSrc: function(src) {
            setImgSrc: function (src) {
                var str = httpRequest.getImgUrl(src)
                return str
            },
@ -191,15 +197,15 @@ layui.use('element', function () {
                        }
                        vm.docInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'))
                        vm.doctorType= vm.docInfo.doctorType
                        if(vm.doctorType!==1){
                            $(".neironglef>button").attr('disabled',"true")
                        vm.doctorType = vm.docInfo.doctorType
                        if (vm.doctorType !== 1) {
                            $(".neironglef>button").attr('disabled', "true")
                            $(".neironglef>button").addClass("falsebutton")
                            $(".neironglef>button").css("color","white")
                            $(".stopBtn").attr('disabled',"true")
                            $(".stopBtn").addClass("falsebutton")
                            }
                      
                            $(".neironglef>button").css("color", "white")
                        }
                       
                    } else {
@ -209,10 +215,10 @@ layui.use('element', function () {
                })
                healthAPI.doctorBaseinfo().then(function (res) {
                    console.log(res.data)
                    vm.isLeader=res.data.isLeader
                    console.log( vm.isLeader)
                    if( vm.isLeader==0){
                    
                    vm.isLeader = res.data.isLeader
                    console.log(vm.isLeader)
                    if (vm.isLeader == 0) {
                    }
                })
@ -295,18 +301,19 @@ layui.use('element', function () {
            morePlan: function (data) {
                location.href = "moreplan.html?patientCode=" + data.patientCode
            },
           
            stop: function (data) {
                var vm = this
                vm.planid = data.id
                conFirm("确定终止该计划吗", data.status, vm.isStop, vm.planid, vm.getDatas)
                
            },
            newRecover:function(){
                location.href="../../recover/html/new_recover.html"
            newRecover: function () {
                location.href = "../../recover/html/new_recover.html"
            },
            checkPlan:function(data){
            checkPlan: function (data) {
                var vm=this
                location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + data.id

+ 34 - 8
app/rehabilitation/js/moreplan.js

@ -79,6 +79,8 @@ layui.use('element', function () {
            patientPhoto: "",
            doctorType: "",
            docInfo: [],
            patientlist:[],
            docInfo:[],
@ -87,14 +89,26 @@ layui.use('element', function () {
            tablelist: function (val) {
                this.$nextTick(function () {
                    element.init()
                    var vm=this
                    for (var i = 0; i < val.length; i++) {
                        var allFinishCount = val[i].allFinishCount
                        var allCount = val[i].allCount
                        var isStop = val[i].status
                        var ishospitalName = val[i].hospitalName
                        for (var i = 0; i < val.length; i++){
                            var isOperator=val[i].isOperator
                            console.log(isOperator)
                            if (isOperator==0) {
                                console.log('aa')
                                $("#stopBtn_" + val[i].planId).attr('disabled', 'true')
                                $("#stopBtn_" + val[i].planId).css("pointer-events", "none")
                               
                                    // $(".ii_"+val[i].patientCode).attr('disabled', 'true')
                                    // $(".ii_"+val[i].patientCode).css("pointer-events", "none");
                                    
                            }
                        if (ishospitalName == null) {
                            $("#hospitalName_" + val[i].id).html("暂无社区信息")
                            $("#hospitalName_" + val[i].planId).html("暂无社区信息")
                        }
                        if (isStop == 2) {
                            $("#span_font" + val[i].planId).html("已完成")
@ -122,10 +136,18 @@ layui.use('element', function () {
                        var progressNum = Math.ceil((allFinishCount / allCount) * 100)
                        Progress(val[i].planId, progressNum + "%")
                    }
                }
                })
            },
            patientlist:function(val){
                this.$nextTick(function () {
                  
                })
            }
        },
        mounted() {
            var vm = this
@ -168,8 +190,14 @@ layui.use('element', function () {
                        vm.age = res.data.age
                        vm.patientPhoto = res.data.patientPhoto
                        vm.hospital = res.data.hospitalName
                        vm.diseaseList = res.data.diseaseList
                        vm.tablelist = _.sortBy(res.data.rehabilitationPlanList, "patientName")
                        vm.patientlist=res.data
                        vm.docInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'))
                        for(var i=0;i<res.data.length;i++){
                            vm.diseaseList = res.data[i].diseaseList
                        vm.tablelist = _.sortBy(res.data[i].rehabilitationPlanList, "patientName")
                        }
                        vm.signFamilyServiceRecordCount = res.data.signFamilyServiceRecordCount
                        vm.signFamilyFinishItemCount = res.data.signFamilyFinishItemCount
                        vm.signFamilyAdminTeamName = res.data.signFamilyAdminTeamName
@ -182,10 +210,8 @@ layui.use('element', function () {
                            vm.wujilu = true
                        }
                        vm.doctorType= vm.docInfo.doctorType
                        if(vm.doctorType!==1){
                            $(".ii").attr('disabled', 'true')
                            $(".ii").css("pointer-events", "none");
                            }
                        
                      
                     
                    } else {
                        // showErrorMessage(res.msg);

+ 1 - 1
plugins/plyr/plyr.js

@ -76,7 +76,7 @@
            defaultActive: false
        },
        fullscreen: {
            enabled: true,
            enabled: false,
            fallback: true,
            hideControls: true
        },