Index: ssts-web/src/main/webapp/debug/speech/speechDebug.js =================================================================== diff -u --- ssts-web/src/main/webapp/debug/speech/speechDebug.js (revision 0) +++ ssts-web/src/main/webapp/debug/speech/speechDebug.js (revision 22554) @@ -0,0 +1,949 @@ + +var barcode = '010926225'; +var maxToussNameLength = 9; +var maxMaterialNameLength = 10; +var maxMaterialsAmount = 30; +var maxDisposableGoodsNameLength = 10; +var toussName = ''; +var materialName = ''; +var washOperator = '杨晓敏'; +var operator = '杨晓敏'; +var reviewer = '杨晓敏'; +var sterilizationUser = '杨晓敏'; +var sterilizationDate = '2015-09-30'; +var validDate = '2015-10-30'; +var hospitalName = '广医二院'; +var sterilizer = '1'; +var sterilizerName = '1'; +var frequency = '2'; +var sterileFrequency = '2'; +var markTousse = 1; +var sterilingType = '高压灭菌'; +var packageTypeAbbreviation = 'P'; +var materialsAmount = 8;// 材料数量 +var diposableGoodsAmount = 2;// 一次性物品数量 +var idCardDefinitionUseAmount = 100; // 器械包的使用次数 +var virtualBasketSeqNum = 72; +var tousseDepartment = '急诊科'; +var weight = '2KG'; +var isPrintOrg = true; +var isUrgentTousse = true; +function buildName(char,charAmount){ + var name = ''; + while(true){ + name += char; + if(name.length >= charAmount){ + break; + } + } + name = name.substr(0,charAmount); +// for(var i=0;i 0){ +// name += charAmount; +// } + return name; +} +function buildTousseName(){ + var toussName = buildName('包', maxToussNameLength); + return toussName; +} +function buildDisposableGoods(){ + var toussName = buildName('物', maxDisposableGoodsNameLength); + return toussName; +} +// 构造器械包 +function buildTousse() { + +} +// 构造材料 +function buildMaterial() { + var material = { + name:buildName('材料',maxMaterialNameLength), + specification:'', + count:5 + } + return material; +} +// 构造一次性物品材料 +function buildDiposableGoods() { + var material = { + name:buildName('一次性',maxMaterialNameLength), + specification:'', + count:5 + } + return material; +} +// 构造材料列表 +function buildMaterials(materialsAmount,diposableGoodsAmount) { + var materials = []; + for(var i=0;i +<%@page import="com.forgon.disinfectsystem.basedatamanager.supplyroomconfig.service.SupplyRoomConfigManager"%> +<%@page import="com.forgon.disinfectsystem.entity.basedatamanager.supplyroomconfig.SupplyRoomConfig"%> +<%@page import="com.forgon.disinfectsystem.entity.systemwarning.SystemWarningItemVO"%> +<%@ page contentType="text/html; charset=UTF-8"%> +<%@ page import="com.forgon.tools.SpringBeanManger,com.forgon.directory.vo.LoginUserData,com.forgon.portal.action.PortalPageAction"%> +<%@ page import="java.util.Date"%> +<%@ include file="/common/taglibs.jsp"%> + + + +打印调试 + + + + + + + + + +<%@ include file="/common/includeExtJsAndCss.jsp"%> +<%@ include file="/common/includeExtJs4_2.jsp"%> + + + + + + + + + + \ No newline at end of file