|
@ -97,14 +97,11 @@ layui.use('element', function () {
|
|
|
var ishospitalName = val[i].hospitalName
|
|
|
for (var i = 0; i < val.length; i++){
|
|
|
var isOperator=val[i].isOperator
|
|
|
console.log(isOperator)
|
|
|
if (isOperator==0) {
|
|
|
console.log('aa')
|
|
|
$("#stopBtn_" + val[i].planId).attr('disabled', 'true')
|
|
|
$("#stopBtn_" + val[i].planId).css("pointer-events", "none")
|
|
|
|
|
|
// $(".ii_"+val[i].patientCode).attr('disabled', 'true')
|
|
|
// $(".ii_"+val[i].patientCode).css("pointer-events", "none");
|
|
|
$("#stopBtn_" + val[i].planId).css("color","#999999")
|
|
|
|
|
|
}
|
|
|
if (ishospitalName == null) {
|
|
@ -139,15 +136,10 @@ layui.use('element', function () {
|
|
|
}
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
patientlist:function(val){
|
|
|
this.$nextTick(function () {
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
mounted() {
|
|
|
var vm = this
|
|
@ -188,13 +180,15 @@ layui.use('element', function () {
|
|
|
vm.name = res.data.patientName
|
|
|
vm.sex = res.data.sex
|
|
|
vm.age = res.data.age
|
|
|
vm.patientlist=res.data
|
|
|
vm.patientPhoto = res.data.patientPhoto
|
|
|
vm.hospital = res.data.hospitalName
|
|
|
vm.patientlist=res.data
|
|
|
vm.docInfo = JSON.parse(window.localStorage.getItem('wlyyAgent'))
|
|
|
console.log(res.data.length)
|
|
|
for(var i=0;i<res.data.length;i++){
|
|
|
vm.diseaseList = res.data[i].diseaseList
|
|
|
// vm.diseaseList = res.data[i].diseaseList
|
|
|
vm.tablelist = _.sortBy(res.data[i].rehabilitationPlanList, "patientName")
|
|
|
console.log(vm.diseaseList)
|
|
|
|
|
|
|
|
|
}
|