|
@ -123,6 +123,14 @@
|
|
<div class="f14 c-333">{{item.content}}</div>
|
|
<div class="f14 c-333">{{item.content}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex-box btns-group" v-if="service.isMyTask==1 || service.isZD">
|
|
|
|
<button class="btn btn-yuyue" v-if="service.reserve==1" @click="qwapp">转诊预约</button>
|
|
|
|
<button class="btn btn-yuyue" v-if="service.itemType==2 && service.operate!=1" @click="jkjy(service.patient,service.planDetaiId)">健康教育</button>
|
|
|
|
<button class="btn btn-yuyue" v-if="service.itemType==3 && service.operate!=1" @click="jkzd(service.planDetaiId,service.patient)">健康指导</button>
|
|
|
|
<button class="btn btn-yuyue" v-if="service.itemType==4 && service.operate!=1" @click="zwkf">随访</button>
|
|
|
|
<button class="btn btn-zhidao" @click="zdly(service)" v-if="service.isZD">指导留言</button>
|
|
|
|
<button class="btn btn-zhidao" @click="zdly(service)" v-if="service.isCK">查看留言</button>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="complete-info pt10">
|
|
<div class="complete-info pt10">
|
|
<div class="complete-title">完成情况</div>
|
|
<div class="complete-title">完成情况</div>
|
|
@ -193,6 +201,45 @@
|
|
this.getServiceItem();
|
|
this.getServiceItem();
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
|
|
zwkf:function(){
|
|
|
|
top.layer.msg('此功能暂未开放',{icon:1});
|
|
|
|
},
|
|
|
|
jkjy:function(patient,planId){
|
|
|
|
var vm=this
|
|
|
|
top.layer.open({
|
|
|
|
type: 2,
|
|
|
|
// offset: ['100px'], //右下角弹出
|
|
|
|
area: ['800px', '648px'],
|
|
|
|
shade: 0.5,
|
|
|
|
title: '健康教育',
|
|
|
|
fixed: true, //不固定
|
|
|
|
maxmin: true,
|
|
|
|
closeBtn: 1,
|
|
|
|
shift: 5,
|
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
|
content: '../../article/html/article.html?code='+patient+'&planId='+planId+'&isReha=true'
|
|
|
|
});
|
|
|
|
},
|
|
|
|
// 健康指导
|
|
|
|
jkzd:function(patient,planId){
|
|
|
|
var vm=this
|
|
|
|
top.layer.open({
|
|
|
|
type: 2,
|
|
|
|
// offset: ['100px'], //右下角弹出
|
|
|
|
area: ['800px', '648px'],
|
|
|
|
shade: 0.5,
|
|
|
|
title: '健康教育',
|
|
|
|
fixed: true, //不固定
|
|
|
|
maxmin: true,
|
|
|
|
closeBtn: 1,
|
|
|
|
shift: 5,
|
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
|
content:'../../guidance/html/index.html#/person-edit-panel?patient='+patient+'&planId='+planId
|
|
|
|
});
|
|
|
|
},
|
|
|
|
qwapp:function(){
|
|
|
|
top.layer.msg('请前往app处理',{icon:5});
|
|
|
|
},
|
|
getServiceItem:function(){
|
|
getServiceItem:function(){
|
|
var vm=this;
|
|
var vm=this;
|
|
var loadding = top.layer.load(0, {shade: false}); //0代表加载的风格,支持0-2
|
|
var loadding = top.layer.load(0, {shade: false}); //0代表加载的风格,支持0-2
|
|
@ -205,6 +252,35 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
zdly:function(data){
|
|
|
|
var vm = this
|
|
|
|
var loginDoctor = JSON.parse(window.localStorage.getItem('wlyyAgent'));
|
|
|
|
var otherCode,otherName;
|
|
|
|
var planDetailId=data.planDetaiId;
|
|
|
|
if(loginDoctor.doctorType==1){
|
|
|
|
otherCode=data.familyDoctorCode;
|
|
|
|
otherName=data.familyDoctorName;
|
|
|
|
}else{
|
|
|
|
otherCode=data.specialistDoctorCode;
|
|
|
|
otherName=data.specialistDoctorName;
|
|
|
|
}
|
|
|
|
top.layer.open({
|
|
|
|
type: 2,
|
|
|
|
// offset: ['100px'], //右下角弹出
|
|
|
|
area: ['800px', '650px'],
|
|
|
|
shade: 0.5,
|
|
|
|
title: '指导留言',
|
|
|
|
fixed: true, //不固定
|
|
|
|
maxmin: true,
|
|
|
|
closeBtn:1,
|
|
|
|
shift: 5,
|
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
|
content: '../../consulting/html/consulting.html?otherCode='+otherCode+'&otherName='+encodeURI(otherName)+'&planDetailId='+planDetailId,
|
|
|
|
end:function(){ // 未点击确定按钮,点击关闭按钮
|
|
|
|
vm.getServiceItemList();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
},
|
|
deleteImg:function(idx){
|
|
deleteImg:function(idx){
|
|
console.log(idx)
|
|
console.log(idx)
|
|
this.upImgs.splice(idx,1)
|
|
this.upImgs.splice(idx,1)
|