|
@ -1,5 +1,6 @@
|
|
|
!function(){
|
|
|
var httpData=GetRequest();
|
|
|
var patientImg = "";
|
|
|
var userInfo = JSON.parse(window.localStorage.getItem(httpRequest.agentName));
|
|
|
//设置网页打印的页眉页脚为空
|
|
|
function PageSetup_Null() {
|
|
@ -27,6 +28,24 @@
|
|
|
window.document.body.innerHTML = prnhtml;
|
|
|
PageSetup_Null();
|
|
|
})
|
|
|
//查看签收
|
|
|
$("#seeQianShou").click(function() {
|
|
|
var imgUrl = httpRequest.getImgUrl(patientImg);
|
|
|
parent.layer.open({
|
|
|
type: 1,
|
|
|
title:false,
|
|
|
shadeClose: true,
|
|
|
content:'<img style="width:360px;height:500px;" src="'+imgUrl+'">'
|
|
|
})
|
|
|
// parent.layer.open({
|
|
|
// type:1,
|
|
|
// shift: 2,
|
|
|
// shade:0.6,
|
|
|
// title:false,
|
|
|
// shadeClose:true,
|
|
|
// content:'<img style="width:360px;height:500px;" src="'+imgUrl+'">'
|
|
|
// });
|
|
|
})
|
|
|
}
|
|
|
new Vue({
|
|
|
el:"#app",
|
|
@ -35,7 +54,10 @@
|
|
|
},
|
|
|
mounted:function(){
|
|
|
this.getServiceItemsAfterStop()
|
|
|
bindEvent()
|
|
|
bindEvent();
|
|
|
if(httpData.completePlan){//居民已确认完成计划,显示“查看签收”按钮
|
|
|
$("#seeQianShou").show();
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
getServiceItemsAfterStop: function() {
|
|
@ -45,6 +67,7 @@
|
|
|
layer.close(loadding);
|
|
|
if(res.status==200){
|
|
|
vm.accountList = res.data
|
|
|
patientImg = res.data.patient_img;
|
|
|
}else{
|
|
|
layer.msg(res.msg,{icon:5});
|
|
|
}
|