|
@ -196,7 +196,6 @@
|
|
pagesize: vm.pageSize
|
|
pagesize: vm.pageSize
|
|
}
|
|
}
|
|
jbscAPI.patientsByTeam(data).then(function(res){
|
|
jbscAPI.patientsByTeam(data).then(function(res){
|
|
console.log(res)
|
|
|
|
if(res.status==200){
|
|
if(res.status==200){
|
|
var list=vm.denizenList;
|
|
var list=vm.denizenList;
|
|
var _length=res.data && res.data.length || 0;
|
|
var _length=res.data && res.data.length || 0;
|
|
@ -212,7 +211,6 @@
|
|
},
|
|
},
|
|
getDoctorTeam:function(){
|
|
getDoctorTeam:function(){
|
|
var vm=this
|
|
var vm=this
|
|
console.log("A")
|
|
|
|
var wlyyAgentForDoc=JSON.parse(window.localStorage.getItem('wlyyAgentForDoc'));
|
|
var wlyyAgentForDoc=JSON.parse(window.localStorage.getItem('wlyyAgentForDoc'));
|
|
var uid=wlyyAgentForDoc && wlyyAgentForDoc.uid;
|
|
var uid=wlyyAgentForDoc && wlyyAgentForDoc.uid;
|
|
jbscAPI.getDoctorTeam(uid).then(function(res){
|
|
jbscAPI.getDoctorTeam(uid).then(function(res){
|