Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.js
===================================================================
diff -u -r33814 -r33941
--- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.js (.../goodsApplicationView.js) (revision 33814)
+++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.js (.../goodsApplicationView.js) (revision 33941)
@@ -1950,40 +1950,45 @@
function renderModifyFun(v, p, record){
var cell;
var type = record.get('type');
+ var specialInfection = record.get('specialInfection') || '';
+ var warningImg = '';
+ if(specialInfection !== ''){
+ warningImg = "
";
+ }
if(type==customTousseApplicationForm) {//自定义器械包申请单
- cell = "" + v + "";
+ cell = warningImg + "" + v + "";
} else if (type==foreignTousseApplicationForm){//外来器械包申请单
if(sstsConfig.enableUrgentFunction && record.json.urgentLevel != "" ){//有背景色,白色图标加急级别
var colorCode = record.json.urgentLevel.colorCode;
- cell = "
";
+ cell = "";
}else if(sstsConfig.enableUrgentFunction && record.json.urgent =="是" && record.json.urgentLevel == ""){//无背景色,只有黑色加急图标
- cell = "
" + v + "";
+ cell = warningImg + "
" + v + "";
}else{
- cell = "" + v + "";
+ cell = warningImg + "" + v + "";
}
//cell = "" + v + "";
} else if(type == tousseLeaseApplicationForm){//借物单
- cell = "" + v + "";
+ cell = warningImg + "" + v + "";
} else if(type == foreignPorxyApplicationForm){//外部代理灭菌单
//cell = "" + v + "";
if(sstsConfig.enableUrgentFunction && record.json.urgentLevel != "" ){//有背景色,白色图标加急级别
var colorCode = record.json.urgentLevel.colorCode;
- cell = "";
+ cell = "";
}else if(sstsConfig.enableUrgentFunction && record.json.urgent =="是" && record.json.urgentLevel == ""){//无背景色,只有黑色加急图标
- cell = "
" + v + "";
+ cell = warningImg + "
" + v + "";
}else{
- cell = "" + v + "";
+ cell = warningImg + "" + v + "";
}
} else {
if(sstsConfig.enableUrgentFunction && record.json.urgentLevel != "" ){//有背景色,白色图标加急级别
var colorCode = record.json.urgentLevel.colorCode;
- cell = "";
+ cell = "";
}else if(sstsConfig.enableUrgentFunction && record.json.urgent =="是" && record.json.urgentLevel == ""){//无背景色,只有黑色加急图标
- cell = "
" + v + "";
+ cell = warningImg + "
" + v + "";
}else{
- cell = "" + v + "";
+ cell = warningImg + "" + v + "";
}
}
return cell;
@@ -3817,7 +3822,7 @@
top.Ext4.tip.QuickTipManager.init();
var columns = [
- {header : "流水号",width : 90 * fontSizeScale,dataIndex : 'serialNumber', renderer : renderModifyFun},
+ {header : "流水号",width : 110 * fontSizeScale,dataIndex : 'serialNumber', renderer : renderModifyFun},
{header : "申请科室",width : 120 * fontSizeScale,dataIndex : 'depart',hidden:sstsConfig.hideApplyDepartColumn || isCssdUser != 'true'},
{header : "结算科室",width : 120 * fontSizeScale,dataIndex : 'settleAccountsDepart',hidden:sstsConfig.hideSettleDepartColumn},
{header : "申请人",width : 60 * fontSizeScale,dataIndex : 'applicant'},
@@ -3927,6 +3932,7 @@
{name : 'id'},
{name : 'serialNumber'},
{name : 'applicant'},
+ {name : 'specialInfection'},
{name : 'applicationTime'},
{name : 'submitTime'},
{name : 'printTime'},