|
@ -80,6 +80,10 @@
|
|
|
.other-advice{border-top: 1px solid #ececec;line-height: 2;height: 90px;padding: 5px 20px;}
|
|
|
.bgc-02cfb9{background-color: #02cfb9;color: #fff;}
|
|
|
.bgc-12b7f5{background-color: #12b7f5;color: #fff;}
|
|
|
.bgc-FF9630{background-color: #FF9630;color: #fff;}
|
|
|
.bgc-2DBE55{background-color: #2DBE55;color: #fff;}
|
|
|
.bgc-2DBE55.focus, .bgc-2DBE55:focus, .bgc-2DBE55:hover{color: #fff;background-color: #39b65b;}
|
|
|
.bgc-FF9630.focus, .bgc-FF9630:focus, .bgc-FF9630:hover{color: #fff;background-color: #ff9731;}
|
|
|
.bgc-12b7f5.focus, .bgc-12b7f5:focus, .bgc-12b7f5:hover{color: #fff;background-color: #01a9bd;}
|
|
|
.bgc-02cfb9.focus, .bgc-02cfb9:focus, .bgc-02cfb9:hover{color: #fff;background-color: #00bda8;}
|
|
|
</style>
|
|
@ -157,7 +161,8 @@
|
|
|
</div>
|
|
|
<div class="clear-bottom" v-if="!isView || userInfo.is_again">
|
|
|
<div class="btn-group-bottom flex-box">
|
|
|
<button class="btn btn-success" @click="jkjy">健康教育</button>
|
|
|
<button class="btn bgc-2DBE55" @click="jkjy" v-if="result.doctorOtherAdvice || result.doctorAdvice">健康教育</button>
|
|
|
<button class="btn bgc-FF9630" @click="jkzg" v-else>健康跟踪</button>
|
|
|
<button class="btn bgc-12b7f5" v-if="userInfo.is_again&&(result.doctorOtherAdvice || result.doctorAdvice)" @click="reScreening">再次筛查</button>
|
|
|
<button class="btn bgc-02cfb9" @click="referral">转诊</button>
|
|
|
</div>
|
|
@ -203,10 +208,35 @@
|
|
|
})
|
|
|
},
|
|
|
jkjy:function(){
|
|
|
top.layer.open({
|
|
|
type: 2,
|
|
|
// offset: ['100px'], //右下角弹出
|
|
|
area: ['80%', '648px'],
|
|
|
shade: 0.5,
|
|
|
title: '健康教育',
|
|
|
fixed: true, //不固定
|
|
|
maxmin: true,
|
|
|
closeBtn: 1,
|
|
|
shift: 5,
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
content: "../../article/html/article.html?code="+data.patientCode
|
|
|
});
|
|
|
},
|
|
|
jkzg:function(){
|
|
|
var vm=this
|
|
|
var receiver={"code":vm.userInfo.patient_code,name:vm.userInfo.patient_name}
|
|
|
sessionStorage.setItem("jbsc-jkwzreceiver",JSON.stringify(receiver))
|
|
|
top.location.href="../../../../health-education/login.html?origin=jbsc"
|
|
|
var index = top.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
|
|
top.layer.open({
|
|
|
type: 2,
|
|
|
area: ['500px', '550px'],
|
|
|
shade: 0.5,
|
|
|
title: '家医建议',
|
|
|
fixed: true, //不固定
|
|
|
maxmin: false,
|
|
|
closeBtn:1,
|
|
|
shift: 5,
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
content: '../../jbsc/html/advice.html?parentIframe='+index+'&resultCode='+vm.resultCode+'&filter_code='+vm.screeningType
|
|
|
});
|
|
|
},
|
|
|
getScreenResultDetail:function(){
|
|
|
var vm=this;
|