|
@ -88,6 +88,7 @@ layui.use('element', function () {
|
|
isStop: 1, //
|
|
isStop: 1, //
|
|
isActive: true,
|
|
isActive: true,
|
|
doctorType: "",
|
|
doctorType: "",
|
|
|
|
docCode:"",
|
|
docInfo: [],
|
|
docInfo: [],
|
|
isLeader: 0,
|
|
isLeader: 0,
|
|
planCreateUser: ""
|
|
planCreateUser: ""
|
|
@ -105,11 +106,8 @@ layui.use('element', function () {
|
|
var isStop = val[i].status
|
|
var isStop = val[i].status
|
|
var ishospitalName = val[i].hospitalName
|
|
var ishospitalName = val[i].hospitalName
|
|
vm.planCreateUser = val[i].planCreateUser
|
|
vm.planCreateUser = val[i].planCreateUser
|
|
if (vm.planCreateUser[i]!== vm.docInfo.code) {
|
|
|
|
$("#stopBtn_" + val[i].id).attr('disabled', "true")
|
|
|
|
$("#stopBtn_" + val[i].id).addClass("falsebutton")
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ishospitalName == null) {
|
|
if (ishospitalName == null) {
|
|
$("#hospitalName_" + val[i].id).html("暂无社区信息")
|
|
$("#hospitalName_" + val[i].id).html("暂无社区信息")
|
|
}
|
|
}
|
|
@ -215,7 +213,17 @@ layui.use('element', function () {
|
|
$(".neironglef>button").css("color", "white")
|
|
$(".neironglef>button").css("color", "white")
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
healthAPI.doctorBaseinfo().then(function (res) {
|
|
|
|
vm.isLeader = res.data.isLeader
|
|
|
|
for(var i=0;i<vm.tablelist.length;i++){
|
|
|
|
if (vm.isLeader == 0) {
|
|
|
|
$("#stopBtn_" + vm.tablelist[i].id).attr('disabled', "true")
|
|
|
|
$("#stopBtn_" + vm.tablelist[i].id).addClass("falsebutton")
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@ -224,15 +232,9 @@ layui.use('element', function () {
|
|
}
|
|
}
|
|
|
|
|
|
})
|
|
})
|
|
healthAPI.doctorBaseinfo().then(function (res) {
|
|
|
|
console.log(res.data)
|
|
|
|
vm.isLeader = res.data.isLeader
|
|
|
|
console.log(vm.isLeader)
|
|
|
|
if (vm.isLeader == 0) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|
|
@ -327,7 +329,9 @@ layui.use('element', function () {
|
|
var vm = this
|
|
var vm = this
|
|
location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + data.id
|
|
location.href = "../../rehabilitation/html/rehabilitation_management.html?planId=" + data.id
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
modelControl:function(){
|
|
|
|
location.href = "../../rehabilitation/html/management.html"
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|