diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/manage/util/PalManageUtil.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/manage/util/PalManageUtil.java index 6a5542de..2bd59913 100644 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/manage/util/PalManageUtil.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/manage/util/PalManageUtil.java @@ -307,7 +307,7 @@ public class PalManageUtil { dataUrl = "xe835-707070.png"; break; case "|#D81E06"://关键点(-.png) - dataUrl = "xe63d-D81E06.png"; + dataUrl = "xe63d-D81E06_1.png"; break; } return dataUrl; diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java index e8d83a4c..995442e9 100755 --- a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/pal/output/util/OutputWordUtil.java @@ -245,6 +245,7 @@ public class OutputWordUtil { // 设置模本装置方法和路径 try { UtilFile temps = new UtilFile(tempPath); + System.out.println(">>>>>>>tempPath = " + tempPath); configuration.setDirectoryForTemplateLoading(temps); } catch (IOException e2) { e2.printStackTrace(); @@ -387,8 +388,6 @@ public class OutputWordUtil { //创建 Document 类的对象并从磁盘加载 Word 文档 Document document = new Document(outFile.getPath()); - - // 获取第一个节的第一个表格 Section firstsection = document.getSections().get(1); Table table1 = firstsection.getTables().get(0); @@ -776,13 +775,13 @@ public class OutputWordUtil { //设置固定列宽 if(i==0){ - row.getCells().get(0).setWidth(50); + row.getCells().get(0).setWidth(10); }else if(i==1){ - row.getCells().get(1).setWidth(150); + row.getCells().get(1).setWidth(10); }else if(i==2){ - row.getCells().get(2).setWidth(150); - }else { - row.getCells().get(3).setWidth(50); + row.getCells().get(2).setWidth(10); + }else if(i==3){ + row.getCells().get(3).setWidth(10); } } @@ -819,13 +818,13 @@ public class OutputWordUtil { //设置固定列宽 if(i==0){ - row.getCells().get(0).setWidth(50); + row.getCells().get(0).setWidth(10); }else if(i==1){ - row.getCells().get(1).setWidth(100); + row.getCells().get(1).setWidth(10); }else if(i==2){ - row.getCells().get(2).setWidth(50); - }else { - row.getCells().get(3).setWidth(50); + row.getCells().get(2).setWidth(10); + }else if(i==3){ + row.getCells().get(3).setWidth(10); } } diff --git a/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm b/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm index 483660df..28b0f787 100755 --- a/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm +++ b/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.htm @@ -486,9 +486,9 @@ if (methodId == 'data.form') { $('#bar_importPolicyFile').css('display','none') } - + debugger; //新增 打开wps文件逻辑 - if((methodId === 'control.policy' && ext3==='I/O_L4')|| methodId ==='engineering.standard' || methodId ==='process.scheme'){ + if(methodId === 'control.policy' || methodId ==='engineering.standard' || methodId ==='process.scheme'){ //执行切换显示按钮 switchWpsDisplay(true); }else{ @@ -1105,15 +1105,9 @@
-
-
-
-
-
-