Browse Source

健康文章更新状态

zyz 6 years ago
parent
commit
d9480d34a0

+ 3 - 0
api/jbsc-api.js

@ -67,6 +67,9 @@
	    },
	    doctorSendArticleToPatients:function(data) {
        return httpRequest.articlePost('doctor/jkEdu/article/doctorSendArticleToPatients', {data:data})
    	},
    	updateAfterEducate:function(data){
    		return httpRequest.articlePost('doctor/screen/updateAfterEducate', {data:data})
    	}
		
    }

+ 8 - 0
app/article/html/article.html

@ -111,6 +111,7 @@
		            levelArr2: [],
		            levelTit2: '请选择',
		            isShowLevel2: false,
		            resultCose:httpData['resultCode'],
		            selectObj: {
		                firstLevelCategoryId: null, // 文章一级分类
		                secondLevelCategoryId: null, // 文章二级分类
@ -287,8 +288,15 @@
			            jbscAPI.doctorSendArticleToPatients(obj).then(function(res){
			            	top.layer.close(loadding);
				            top.layer.msg(res.message, {icon: 1});
				            if(status==1000){
				            	vm.updataHeathStatus()
				            }
			            })   
			        }
			    },
			    updataHeathStatus:function(){
			    	var obj={code:this.resultCode}
			    	jbscAPI.updateAfterEducate(obj)
			    }
    })
        </script>

+ 3 - 1
app/jbsc/css/statistics.css

@ -1,6 +1,8 @@
.nav-tabs li a{background-color: #f5f5f5;color: #666;margin-right: 5px;border-color: #ddd #ddd rgba(0, 0, 0, 0);}
.nav-tabs li.active a,.nav-tabs li.active a:link{color: #12b7f5;}
.jhover {
    background: #12B7F5!important;
    color: #fff;}
.re-title .name{font-size: 18px;font-weight: bold;color: #333;height: 40px;line-height: 40px;display: inline-block;padding: 0px 20px;}
.re-title .team{font-size: 14px;color: #333;display: inline-block;}
.no-select{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select:none}

+ 1 - 1
app/jbsc/html/view_screening_results.html

@ -227,7 +227,7 @@
							closeBtn: 1,
							shift: 5,
							shadeClose: false, //点击遮罩关闭层
							content: "../../article/html/article.html?code="+this.userInfo.code
							content: "../../article/html/article.html?code="+this.userInfo.code+'&resultCode='+vm.resultCode
						});
				  	},
				  	jkzg:function(){

+ 7 - 2
app/jbsc/js/statistics.js

@ -108,7 +108,12 @@ new Vue({
						{
							code: "4",
							name: "待处理"
						}						
						}
						,
						{
							code: "5",
							name: "日常健康管理"
						}	
					]
				},
				getDataMethod: "data",
@ -177,7 +182,7 @@ new Vue({
				closeBtn: 1,
				shift: 5,
				shadeClose: false, //点击遮罩关闭层
				content: "../../article/html/article.html?code="+data.patientCode
				content: "../../article/html/article.html?code="+data.patientCode+'&resultCode='+data.code
			});
			//		location.href="../../../../health-education/login.html?origin=jbsc"
		},