Index: ssts-web/src/main/webapp/disinfectsystem/interfere/interfereRecordForm.js =================================================================== diff -u -r31420 -r33697 --- ssts-web/src/main/webapp/disinfectsystem/interfere/interfereRecordForm.js (.../interfereRecordForm.js) (revision 31420) +++ ssts-web/src/main/webapp/disinfectsystem/interfere/interfereRecordForm.js (.../interfereRecordForm.js) (revision 33697) @@ -1397,8 +1397,9 @@ var childNode = createPendingSterilizationGoodsNode(childObjBarcode, childObjName, childObjAmount, childType , pNode.attributes.depart, pNode.attributes.reviewTime); DWREngine.setAsync(false); //如果灭菌程序不能添加器械包,要清除灭菌物品列表 - SterilizationRecordTableManager.isTousseUrgent(childObjBarcode,function(result){ - if(result == true){ + SterilizationRecordTableManager.isTousseUrgent(childObjBarcode,function(res){ + var result = Ext.decode(res); + if (result.isUrgent == true) { isUrgent = '是'; isBasketUrgent = true; } @@ -1416,8 +1417,9 @@ var isUrgent = '否'; DWREngine.setAsync(false); //如果灭菌程序不能添加器械包,要清除灭菌物品列表 - SterilizationRecordTableManager.isTousseUrgent(node.attributes.objBarcode,function(result){ - if(result == true){ + SterilizationRecordTableManager.isTousseUrgent(node.attributes.objBarcode,function(res){ + var result = Ext.decode(res); + if (result.isUrgent == true) { isUrgent = '是'; } }); Index: ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/sterilizationRecordForm.js =================================================================== diff -u -r33694 -r33697 --- ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/sterilizationRecordForm.js (.../sterilizationRecordForm.js) (revision 33694) +++ ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/sterilizationRecordForm.js (.../sterilizationRecordForm.js) (revision 33697) @@ -2512,14 +2512,17 @@ var childNode = createPendingSterilizationGoodsNodeForUrgent(params); DWREngine.setAsync(false); //如果灭菌程序不能添加器械包,要清除灭菌物品列表 - SterilizationRecordTableManager.isTousseUrgent(childObjBarcode, function (result) { - if (result == true) { + SterilizationRecordTableManager.isTousseUrgent(childObjBarcode, function (res) { + var result = Ext.decode(res); + if (result.isUrgent == true) { isUrgent = '是'; isBasketUrgent = true; + urgentLevel = result.urgentLevel; } }); DWREngine.setAsync(true); childNode.attributes.isUrgent = isUrgent; + childNode.attributes.urgentLevel = urgentLevel; array.push(childNode); }); } else { @@ -2539,15 +2542,19 @@ var node = createPendingSterilizationGoodsNodeForUrgent(params); if (type == 'TOUSSE') { var isUrgent = '否'; + var urgentLevel = ''; DWREngine.setAsync(false); //如果灭菌程序不能添加器械包,要清除灭菌物品列表 - SterilizationRecordTableManager.isTousseUrgent(node.attributes.objBarcode, function (result) { - if (result == true) { + SterilizationRecordTableManager.isTousseUrgent(node.attributes.objBarcode, function (res) { + var result = Ext.decode(res); + if (result.isUrgent == true) { isUrgent = '是'; + urgentLevel = result.urgentLevel; } }); DWREngine.setAsync(true); node.attributes.isUrgent = isUrgent; + node.attributes.urgentLevel = urgentLevel; } if (type == 'BASKET') { if (isBasketUrgent) {