| | |
| | | textMap.put("P_Impmg11","65"); |
| | | textMap.put("BST1","66"); |
| | | textMap.put("BST2","67"); |
| | | textMap.put("box","1"); |
| | | textMap.put("Box","1"); |
| | | changeChart(document,textMap); |
| | | document.write(os); |
| | | }catch (Exception e){ |
| | |
| | | if (text.contains("{{box0}}")) { // 检查是否包含要替换的文字变量 |
| | | String picturePath = ""; // 图片路径 |
| | | |
| | | String Box = (String) textMap.get("box"); |
| | | String Box = (String) textMap.get("Box"); |
| | | int box = Integer.parseInt(Box); |
| | | if(box== 0) |
| | | { |
| | |
| | | if (text.contains("{{box1}}")) { // 检查是否包含要替换的文字变量 |
| | | String picturePath = ""; // 图片路径 |
| | | |
| | | String Box = (String) textMap.get("box"); |
| | | String Box = (String) textMap.get("Box"); |
| | | int box = Integer.parseInt(Box); |
| | | if(box== 1) |
| | | { |
| | |
| | | if (text.contains("{{box2}}")) { // 检查是否包含要替换的文字变量 |
| | | String picturePath = ""; // 图片路径 |
| | | |
| | | String Box = (String) textMap.get("box"); |
| | | String Box = (String) textMap.get("Box"); |
| | | int box = Integer.parseInt(Box); |
| | | if(box== 2) |
| | | { |