|
@@ -113,7 +113,7 @@ function getRecordDetail(){
|
|
|
global_activeTab=$(".sub-menu .page.active").attr("code");
|
|
|
initPatientInfo(info);
|
|
|
initContent(result.pageData);
|
|
|
- initList(drgs);
|
|
|
+ initList(msg);
|
|
|
initScoreItem(msg);
|
|
|
global_flawData=msg;
|
|
|
global_flawDataPay=drgs;
|
|
@@ -126,28 +126,8 @@ function changePay(){
|
|
|
$(document).on('click',".titleSpecial span",function(){
|
|
|
let type = $(this).attr("data-type")
|
|
|
if(type == 1){
|
|
|
- $(".titlePay").css({
|
|
|
- 'background-color': '#00A1FF',
|
|
|
- 'color': '#fff',
|
|
|
- 'border-color': '#00A1FF'
|
|
|
- })
|
|
|
- $(".titleNo").css({
|
|
|
- 'background-color': '#fff',
|
|
|
- 'border': '1px solid #777',
|
|
|
- 'color': '#777'
|
|
|
- })
|
|
|
initList(global_flawDataPay,type);
|
|
|
}else{
|
|
|
- $(".titlePay").css({
|
|
|
- 'background-color': '#fff !important',
|
|
|
- 'border': '1px solid #777',
|
|
|
- 'color': '#777'
|
|
|
- })
|
|
|
- $(".titleNo").css({
|
|
|
- 'background-color': '#00A1FF',
|
|
|
- 'color': '#fff',
|
|
|
- 'border-color': '#00A1FF'
|
|
|
- })
|
|
|
initList(global_flawData,type);
|
|
|
}
|
|
|
})
|
|
@@ -239,25 +219,25 @@ function formatInfoData(k,data){
|
|
|
}
|
|
|
});
|
|
|
if(type&&type == 1){
|
|
|
- $(".titlePay").css({
|
|
|
+ $(".titleNo").css({
|
|
|
'background-color': '#00A1FF',
|
|
|
'color': '#fff',
|
|
|
'border-color': '#00A1FF'
|
|
|
})
|
|
|
- $(".titleNo").css({
|
|
|
+ $(".titlePay").css({
|
|
|
'background-color': '#fff',
|
|
|
'border': '1px solid #777',
|
|
|
- 'border-left':0,
|
|
|
+ 'border-right':0,
|
|
|
'color': '#777'
|
|
|
})
|
|
|
}else if(type&&type==2){
|
|
|
- $(".titlePay").css({
|
|
|
+ $(".titleNo").css({
|
|
|
+ 'border-left':0,
|
|
|
'background-color': '#fff',
|
|
|
'border': '1px solid #777',
|
|
|
- 'border-right':0,
|
|
|
'color': '#777'
|
|
|
})
|
|
|
- $(".titleNo").css({
|
|
|
+ $(".titlePay").css({
|
|
|
'background-color': '#00A1FF',
|
|
|
'color': '#fff',
|
|
|
'border-color': '#00A1FF'
|