|
@ -18,7 +18,7 @@ var links = [{
|
|
name: '咨询',
|
|
name: '咨询',
|
|
class: ''
|
|
class: ''
|
|
},{
|
|
},{
|
|
url: 'prescription-detail.html?from=tab&code='+prescriptionCode,
|
|
|
|
|
|
url: 'prescription-detail.html?from=tab&code='+prescriptionCode+'&id='+teamCode,
|
|
name: '续方详情',
|
|
name: '续方详情',
|
|
class: ''
|
|
class: ''
|
|
},{
|
|
},{
|
|
@ -46,6 +46,8 @@ var links = [{
|
|
$(function(){
|
|
$(function(){
|
|
if(!prescriptionCode){
|
|
if(!prescriptionCode){
|
|
//没有续方的code,就从咨询中获取对应的code
|
|
//没有续方的code,就从咨询中获取对应的code
|
|
|
|
//这种情况下,患者的签约团队一定是医生所在的团队的id
|
|
|
|
teamCode = docInfo.adminTeamCode;
|
|
getPrescriptionInfo();
|
|
getPrescriptionInfo();
|
|
}else{
|
|
}else{
|
|
//有续方的code,通过code获得续方详情
|
|
//有续方的code,通过code获得续方详情
|
|
@ -129,7 +131,7 @@ function updateLinkInfo(){
|
|
name: '咨询',
|
|
name: '咨询',
|
|
class: ''
|
|
class: ''
|
|
},{
|
|
},{
|
|
url: 'prescription-detail.html?from=tab&code='+prescriptionCode,
|
|
|
|
|
|
url: 'prescription-detail.html?from=tab&code='+prescriptionCode+'&id='+teamCode,
|
|
name: '续方详情',
|
|
name: '续方详情',
|
|
class: ''
|
|
class: ''
|
|
},{
|
|
},{
|