|
@ -187,6 +187,7 @@ Vue.component('server-items-detail', {
|
|
|
props: ['patientname','patientcode', 'planid', 'plandetailid'],
|
|
|
data: function() {
|
|
|
return {
|
|
|
scList:[],
|
|
|
ynow: currentGMT.getFullYear(),//年份
|
|
|
mnow: currentGMT.getMonth(),//月份(比实际少一个月---0开始至11)
|
|
|
dnow: currentGMT.getDate(),//当前日
|
|
@ -944,6 +945,25 @@ Vue.component('server-items-detail', {
|
|
|
}
|
|
|
this.viewDetail(planids,type, recordId)
|
|
|
},
|
|
|
getList:function(){
|
|
|
var vm=this
|
|
|
console.log('211111111111111111111111',vm.planInfo)
|
|
|
rehaAPI.getList({
|
|
|
doctor: docInfo.code,
|
|
|
diseaseType: vm.service.disease,
|
|
|
type: '',
|
|
|
patientName: '',
|
|
|
patientCode: this.patientCode,
|
|
|
isDanger: '',
|
|
|
pageNo: 1,
|
|
|
pageSize: 1,
|
|
|
filterType: 1,
|
|
|
isAscvd: vm.planInfo.disease=='3'? 1:''
|
|
|
}).then(function(res){
|
|
|
vm.scList= res.data
|
|
|
console.log(res,'dasssssssssssssssssss')
|
|
|
})
|
|
|
},
|
|
|
viewDetail:function(planids,type, recordId){
|
|
|
var vm=this;
|
|
|
if(!planids){
|
|
@ -982,7 +1002,7 @@ Vue.component('server-items-detail', {
|
|
|
closeBtn:1,
|
|
|
shift: 5,
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
content: '../../rehabilitation/html/service_item_content.html?planids='+planids+'&planId='+vm.planid+'&patient='+vm.patientcode+'&patientName='+vm.patientname,
|
|
|
content: '../../rehabilitation/html/service_item_content.html?planids='+planids+'&planId='+vm.planid+'&patient='+vm.patientcode+'&patientName='+vm.patientname+'&disease='+vm.service.disease+'&scLenght='+vm.scList.length,
|
|
|
end:function(){
|
|
|
vm.initData();
|
|
|
}
|