模型阅览界面提交
This commit is contained in:
parent
a209efb3d3
commit
9f41faea21
Binary file not shown.
@ -39,12 +39,15 @@ import com.sini.com.spire.doc.formatting.ParagraphFormat;
|
|||||||
import freemarker.template.Configuration;
|
import freemarker.template.Configuration;
|
||||||
import freemarker.template.Template;
|
import freemarker.template.Template;
|
||||||
import freemarker.template.TemplateException;
|
import freemarker.template.TemplateException;
|
||||||
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
import static com.sini.com.spire.doc.documents.HorizontalAlignment.*;
|
||||||
|
|
||||||
public class OutputWordUtil {
|
public class OutputWordUtil {
|
||||||
|
|
||||||
public static final String DEPARTMENT = "department"; // 部门
|
public static final String DEPARTMENT = "department"; // 部门
|
||||||
@ -367,12 +370,6 @@ public class OutputWordUtil {
|
|||||||
//创建 Document 类的对象并从磁盘加载 Word 文档
|
//创建 Document 类的对象并从磁盘加载 Word 文档
|
||||||
Document document = new Document(outFile.getPath());
|
Document document = new Document(outFile.getPath());
|
||||||
|
|
||||||
/*//获取最后一节
|
|
||||||
Section section = document.getLastSection();
|
|
||||||
Paragraph paragraph = section.addParagraph();
|
|
||||||
|
|
||||||
paragraph.appendBreak(BreakType.Page_Break);*/
|
|
||||||
|
|
||||||
|
|
||||||
String suffix = fileName.substring(fileName.lastIndexOf(".") + 1);
|
String suffix = fileName.substring(fileName.lastIndexOf(".") + 1);
|
||||||
|
|
||||||
@ -560,7 +557,7 @@ public class OutputWordUtil {
|
|||||||
|
|
||||||
|
|
||||||
ParagraphFormat paragraphFormat1 = paragraph1.getFormat();
|
ParagraphFormat paragraphFormat1 = paragraph1.getFormat();
|
||||||
paragraphFormat1.setHorizontalAlignment(HorizontalAlignment.Left);
|
paragraphFormat1.setHorizontalAlignment(Left);
|
||||||
|
|
||||||
TextRange tr = paragraph1.appendText("相关文件");
|
TextRange tr = paragraph1.appendText("相关文件");
|
||||||
tr.getCharacterFormat().setBold(true);
|
tr.getCharacterFormat().setBold(true);
|
||||||
@ -590,19 +587,24 @@ public class OutputWordUtil {
|
|||||||
Table table = section.addTable(true);
|
Table table = section.addTable(true);
|
||||||
table.resetCells(data.length + 1, header.length);
|
table.resetCells(data.length + 1, header.length);
|
||||||
|
|
||||||
|
//自动调整表格大小
|
||||||
|
table.autoFit(AutoFitBehaviorType.Auto_Fit_To_Window);
|
||||||
|
|
||||||
|
|
||||||
TableRow row = table.getRows().get(0);
|
TableRow row = table.getRows().get(0);
|
||||||
row.isHeader(true);
|
row.isHeader(true);
|
||||||
row.setHeight(20);
|
row.setHeight(20);
|
||||||
row.setHeightType(TableRowHeightType.Exactly);
|
row.setHeightType(TableRowHeightType.Auto);
|
||||||
for (int i = 0; i < header.length; i++) {
|
for (int i = 0; i < header.length; i++) {
|
||||||
row.getCells().get(i).getCellFormat().setVerticalAlignment(VerticalAlignment.Middle);
|
row.getCells().get(i).getCellFormat().setVerticalAlignment(VerticalAlignment.Middle);
|
||||||
//设置固定列宽
|
//设置固定列宽
|
||||||
row.getCells().get(0).setWidth(150);
|
row.getCells().get(0).setWidth(150);
|
||||||
row.getCells().get(1).setWidth(500);
|
row.getCells().get(1).setWidth(500);
|
||||||
Paragraph p = row.getCells().get(i).addParagraph();
|
Paragraph p = row.getCells().get(i).addParagraph();
|
||||||
p.getFormat().setHorizontalAlignment(HorizontalAlignment.Center);
|
p.getFormat().setHorizontalAlignment(Center);
|
||||||
TextRange txtRange = p.appendText(header[i]);
|
TextRange txtRange = p.appendText(header[i]);
|
||||||
txtRange.getCharacterFormat().setBold(true);
|
txtRange.getCharacterFormat().setBold(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//将数据添加到其余行
|
//将数据添加到其余行
|
||||||
@ -617,6 +619,9 @@ public class OutputWordUtil {
|
|||||||
dataRow.getCells().get(0).setWidth(150);
|
dataRow.getCells().get(0).setWidth(150);
|
||||||
dataRow.getCells().get(1).setWidth(500);
|
dataRow.getCells().get(1).setWidth(500);
|
||||||
dataRow.getCells().get(c).addParagraph().appendText(data[r][c]);
|
dataRow.getCells().get(c).addParagraph().appendText(data[r][c]);
|
||||||
|
|
||||||
|
// cell.getCellFormat().setFitText(true); // 设置内容
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -649,7 +654,7 @@ public class OutputWordUtil {
|
|||||||
//添加段落,设置一级序列
|
//添加段落,设置一级序列
|
||||||
Paragraph paragraph2 = section.addParagraph();
|
Paragraph paragraph2 = section.addParagraph();
|
||||||
ParagraphFormat paragraphFormat2 = paragraph2.getFormat();
|
ParagraphFormat paragraphFormat2 = paragraph2.getFormat();
|
||||||
paragraphFormat2.setHorizontalAlignment(HorizontalAlignment.Left);
|
paragraphFormat2.setHorizontalAlignment(Left);
|
||||||
TextRange tr2 = paragraph2.appendText("支持文件");
|
TextRange tr2 = paragraph2.appendText("支持文件");
|
||||||
tr2.getCharacterFormat().setBold(true);
|
tr2.getCharacterFormat().setBold(true);
|
||||||
tr2.getCharacterFormat().setFontName("宋体");
|
tr2.getCharacterFormat().setFontName("宋体");
|
||||||
@ -676,17 +681,21 @@ public class OutputWordUtil {
|
|||||||
Table table = section.addTable(true);
|
Table table = section.addTable(true);
|
||||||
table.resetCells(data.length + 1, header.length);
|
table.resetCells(data.length + 1, header.length);
|
||||||
|
|
||||||
|
|
||||||
|
table.autoFit(AutoFitBehaviorType.Auto_Fit_To_Window);
|
||||||
|
|
||||||
|
|
||||||
TableRow row = table.getRows().get(0);
|
TableRow row = table.getRows().get(0);
|
||||||
row.isHeader(true);
|
row.isHeader(true);
|
||||||
row.setHeight(20);
|
row.setHeight(20);
|
||||||
row.setHeightType(TableRowHeightType.Exactly);
|
row.setHeightType(TableRowHeightType.Auto);
|
||||||
for (int i = 0; i < header.length; i++) {
|
for (int i = 0; i < header.length; i++) {
|
||||||
row.getCells().get(i).getCellFormat().setVerticalAlignment(VerticalAlignment.Middle);
|
row.getCells().get(i).getCellFormat().setVerticalAlignment(VerticalAlignment.Middle);
|
||||||
//设置固定列宽
|
//设置固定列宽
|
||||||
row.getCells().get(0).setWidth(150);
|
row.getCells().get(0).setWidth(150);
|
||||||
row.getCells().get(1).setWidth(500);
|
row.getCells().get(1).setWidth(500);
|
||||||
Paragraph p = row.getCells().get(i).addParagraph();
|
Paragraph p = row.getCells().get(i).addParagraph();
|
||||||
p.getFormat().setHorizontalAlignment(HorizontalAlignment.Center);
|
p.getFormat().setHorizontalAlignment(Center);
|
||||||
TextRange txtRange = p.appendText(header[i]);
|
TextRange txtRange = p.appendText(header[i]);
|
||||||
txtRange.getCharacterFormat().setBold(true);
|
txtRange.getCharacterFormat().setBold(true);
|
||||||
}
|
}
|
||||||
@ -720,7 +729,8 @@ public class OutputWordUtil {
|
|||||||
public int compare(UpfileModel o1, UpfileModel o2) {
|
public int compare(UpfileModel o1, UpfileModel o2) {
|
||||||
String p1 = o1.getFileName();
|
String p1 = o1.getFileName();
|
||||||
String p2 = o2.getFileName();
|
String p2 = o2.getFileName();
|
||||||
if (p1.substring(0, 2).equals("附件") && p2.substring(0, 2).equals("附件") && p1.contains(":") && p2.contains(":")) {
|
|
||||||
|
if (p1.substring(0, 2).equals("附件") && p2.substring(0, 2).equals("附件") && p1.contains(":") && p2.contains(":") && StringUtils.isNumeric(p1.substring(2, p1.indexOf(":"))) && StringUtils.isNumeric(p2.substring(2, p2.indexOf(":")))) {
|
||||||
return Integer.parseInt(p1.substring(2, p1.indexOf(":"))) - Integer.parseInt(p2.substring(2, p2.indexOf(":")));
|
return Integer.parseInt(p1.substring(2, p1.indexOf(":"))) - Integer.parseInt(p2.substring(2, p2.indexOf(":")));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -742,7 +752,7 @@ public class OutputWordUtil {
|
|||||||
Paragraph paragraph4 = section.addParagraph();
|
Paragraph paragraph4 = section.addParagraph();
|
||||||
|
|
||||||
ParagraphFormat paragraphFormat4 = paragraph4.getFormat();
|
ParagraphFormat paragraphFormat4 = paragraph4.getFormat();
|
||||||
paragraphFormat4.setHorizontalAlignment(HorizontalAlignment.Left);
|
paragraphFormat4.setHorizontalAlignment(Left);
|
||||||
|
|
||||||
TextRange tr4 = paragraph4.appendText("附件");
|
TextRange tr4 = paragraph4.appendText("附件");
|
||||||
|
|
||||||
@ -843,6 +853,7 @@ public class OutputWordUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
System.out.println("生成附件路径是=================="+outFile.getPath());
|
||||||
doc.saveToFile(outFile.getPath(), FileFormat.Docx_2013);
|
doc.saveToFile(outFile.getPath(), FileFormat.Docx_2013);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
@ -1003,7 +1014,7 @@ public class OutputWordUtil {
|
|||||||
|
|
||||||
|
|
||||||
ParagraphFormat paragraphFormat4 = paragraph.getFormat();
|
ParagraphFormat paragraphFormat4 = paragraph.getFormat();
|
||||||
paragraphFormat4.setHorizontalAlignment(HorizontalAlignment.Left);
|
paragraphFormat4.setHorizontalAlignment(Left);
|
||||||
|
|
||||||
TextRange tr4 = paragraph.appendText("表单/模板");
|
TextRange tr4 = paragraph.appendText("表单/模板");
|
||||||
|
|
||||||
|
|||||||
@ -4225,6 +4225,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
|||||||
else
|
else
|
||||||
throw new AWSException("创建流程手册失败:" + uuid);
|
throw new AWSException("创建流程手册失败:" + uuid);
|
||||||
} else if ("data.form".equals(model.getMethodId())) {
|
} else if ("data.form".equals(model.getMethodId())) {
|
||||||
|
|
||||||
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportBd(wsId, _uc.getUID(), teamId, uuid);
|
taskId = PALRepositoryQueryAPIManager.getInstance().createOutputReportBd(wsId, _uc.getUID(), teamId, uuid);
|
||||||
JSONObject object = JSONObject.parseObject(taskId);
|
JSONObject object = JSONObject.parseObject(taskId);
|
||||||
if ("ok".equals(object.getString("result")))
|
if ("ok".equals(object.getString("result")))
|
||||||
@ -4340,10 +4341,8 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
|||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
File[] fileList = file.listFiles();
|
File[] fileList = file.listFiles();
|
||||||
if (fileList.length > 0) {
|
if (fileList.length > 0) {
|
||||||
System.out.println("fileList==========" + fileList);
|
|
||||||
File docFile = null;
|
File docFile = null;
|
||||||
for (File file2 : fileList) {
|
for (File file2 : fileList) {
|
||||||
System.out.println("file2==============" + file2);
|
|
||||||
if (file2.isFile() && "xlsx".equals((file2.getName().substring(file2.getName().lastIndexOf(".") + 1)))) {
|
if (file2.isFile() && "xlsx".equals((file2.getName().substring(file2.getName().lastIndexOf(".") + 1)))) {
|
||||||
docFile = file2;
|
docFile = file2;
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -658,11 +658,11 @@
|
|||||||
$(".suofang").hide();
|
$(".suofang").hide();
|
||||||
$(".newadd_card .title").hide();
|
$(".newadd_card .title").hide();
|
||||||
//$(".headerTab").css("margin-right" , "5%");
|
//$(".headerTab").css("margin-right" , "5%");
|
||||||
changeUrl();
|
changeUrl();
|
||||||
}
|
}
|
||||||
// else {
|
// else {
|
||||||
// $(".headerTab").css("margin-right" , "4%");
|
// $(".headerTab").css("margin-right" , "4%");
|
||||||
// }
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -697,7 +697,7 @@
|
|||||||
|
|
||||||
//将文件预览页面嵌入流程模型页面
|
//将文件预览页面嵌入流程模型页面
|
||||||
function changeUrl() {
|
function changeUrl() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type : "POST",
|
type : "POST",
|
||||||
url : "./jd?sid=" + sid
|
url : "./jd?sid=" + sid
|
||||||
+ "&cmd=com.actionsoft.apps.coe.pal_outputreport_output_process_preview",
|
+ "&cmd=com.actionsoft.apps.coe.pal_outputreport_output_process_preview",
|
||||||
@ -819,7 +819,6 @@
|
|||||||
|
|
||||||
//隐藏评论div
|
//隐藏评论div
|
||||||
function hideLayerSide() {
|
function hideLayerSide() {
|
||||||
debugger;
|
|
||||||
$(".pinglun").animate({ "right": "-25%", "width": "25%", "height": "85%" });
|
$(".pinglun").animate({ "right": "-25%", "width": "25%", "height": "85%" });
|
||||||
$(".floatBtnDiv").animate({ "right":"-1%", "width": "69px", "height": "auto" });
|
$(".floatBtnDiv").animate({ "right":"-1%", "width": "69px", "height": "auto" });
|
||||||
}
|
}
|
||||||
@ -990,8 +989,8 @@
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
.floatBtn:hover {cursor: pointer;
|
.floatBtn:hover {cursor: pointer;
|
||||||
color: rgb(55,198,192);
|
color: rgb(55,198,192);
|
||||||
background-color: #3771e0;
|
background-color: #3771e0;
|
||||||
|
|
||||||
}
|
}
|
||||||
#x:hover {cursor: pointer;color: rgb(55,198,192);}
|
#x:hover {cursor: pointer;color: rgb(55,198,192);}
|
||||||
@ -1009,7 +1008,7 @@
|
|||||||
box-shadow: 0 10px 30px rgb(0, 0, 0, .2);
|
box-shadow: 0 10px 30px rgb(0, 0, 0, .2);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="newadd_body">
|
<body class="newadd_body">
|
||||||
@ -1090,13 +1089,13 @@
|
|||||||
</ul>-->
|
</ul>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="dock_view_supportingFileShow newadd_portalAttr" id="supportingFileDock">
|
<div class="dock_view_supportingFileShow newadd_portalAttr" id="supportingFileDock">
|
||||||
<!-- <div class="newadd_nav" id="newaddfile">-->
|
<!-- <div class="newadd_nav" id="newaddfile">-->
|
||||||
<div class="newadd_wen">
|
<div class="newadd_wen">
|
||||||
<div id="relevantDocument" class="fileheaderTab">相关/支持文件</div>
|
<div id="relevantDocument" class="fileheaderTab">相关/支持文件</div>
|
||||||
<!-- 制度/操作指导 -->
|
<!-- 制度/操作指导 -->
|
||||||
<!--<div class="dock_view_portalFileShow" id="portalFileDock"></div>-->
|
<!--<div class="dock_view_portalFileShow" id="portalFileDock"></div>-->
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -1162,104 +1161,104 @@
|
|||||||
<div class="floatBtnDiv" style="width: 69px">
|
<div class="floatBtnDiv" style="width: 69px">
|
||||||
<input type='button' class='floatBtn' onclick=showLayerSide(); value="评论"/>
|
<input type='button' class='floatBtn' onclick=showLayerSide(); value="评论"/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<!-- <div class="clearfix"></div>
|
<!-- <div class="clearfix"></div>
|
||||||
<div class="clearfix"></div>-->
|
<div class="clearfix"></div>-->
|
||||||
<!-- 弹框表格 -->
|
<!-- 弹框表格 -->
|
||||||
<div id="attribute-table-window2" style="width:500px;height:325px;display:none;">
|
<div id="attribute-table-window2" style="width:500px;height:325px;display:none;">
|
||||||
<div style='margin:0px;height:235px;width:500px;'>
|
<div style='margin:0px;height:235px;width:500px;'>
|
||||||
<div style="height: 225px;width: 493px;overflow:auto;border-top: 2px solid #928d8d;border-bottom: 2px solid #928d8d">
|
<div style="height: 225px;width: 493px;overflow:auto;border-top: 2px solid #928d8d;border-bottom: 2px solid #928d8d">
|
||||||
<table style="width: 100%;border-collapse:collapse;">
|
<table style="width: 100%;border-collapse:collapse;">
|
||||||
<tbody class="protalDialogTable" id='attribute-table-content2'>
|
<tbody class="protalDialogTable" id='attribute-table-content2'>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div style="margin-top: 5px" id="attribute-add-content2"></div>
|
<div style="margin-top: 5px" id="attribute-add-content2"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <button name="dock_btn_enlarge" type="button" class="awsui-btn" onclick="canvasresizeMax();">放大</button>-->
|
||||||
|
<!-- <button name="dock_btn_narrow" type="button" class="awsui-btn" onclick="canvasresizeMin();">缩小</button>-->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="designer">
|
||||||
|
<div id="designer_viewport" class="readonly">
|
||||||
|
|
||||||
|
<!-- Graphic Dock Window -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div style="width:510px;display:none;" id="shapes_dialog">
|
||||||
|
<div id="content" class="dlg-content awsui-ux">
|
||||||
|
<ul id="shape_manage_list">
|
||||||
|
<#liStr>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="designer-version-manager" style="width:600px; display:none;">
|
||||||
|
<div id='contentDiv' style='margin-top:1px;height:220px;' class="dlg-content">
|
||||||
|
<iframe width="100%" id="designerManager" name="coeCreateUser" frameBorder="0" style="width: 100%; height: 220px;"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 不支持HTML5的页面显示图片 -->
|
||||||
|
<div id="mainDiv" style="display: none;">
|
||||||
|
<div class="view_box">
|
||||||
|
<div id="chartDivBox" style="background: none;">
|
||||||
|
<div id="chartDiv" style="left: 148.5px; top: 0px;">
|
||||||
|
<img alt="<#fileName>" id="chart_img" style="display: block; opacity: 1;" src="<#diagram>">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="chart_preview" style="background: rgba(255, 255, 255, 0.701961);">
|
||||||
|
<div id="chart_preview_wrap" style="position: absolute; opacity: 1;">
|
||||||
|
<img id="preview_img" style="position: absolute; display: block;" src="<#diagram>">
|
||||||
|
<div class="preview_box" id="preview_box" style="cursor: move; background: rgba(255, 255, 255, 0);"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <button name="dock_btn_enlarge" type="button" class="awsui-btn" onclick="canvasresizeMax();">放大</button>-->
|
<div title="" style="width:550px;display:none;" id="upfile-dialog">
|
||||||
<!-- <button name="dock_btn_narrow" type="button" class="awsui-btn" onclick="canvasresizeMin();">缩小</button>-->
|
<div id='upfile-content' style='height:330px;'>
|
||||||
|
<iframe width="100%" id="upfile-content-iframe" name="upfile-content-iframe" frameBorder="0" style="width: 100%; height:100%;"></iframe>
|
||||||
|
|
||||||
<div id="designer">
|
|
||||||
<div id="designer_viewport" class="readonly">
|
|
||||||
|
|
||||||
<!-- Graphic Dock Window -->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
<!--WFVersion对话框-->
|
||||||
<div style="width:510px;display:none;" id="shapes_dialog">
|
<div id="dialog_wf_version" style="width:900px; display:none;">
|
||||||
<div id="content" class="dlg-content awsui-ux">
|
<div id="dialog_wf_version_area" style="height:250px;" class="dlg-content">
|
||||||
<ul id="shape_manage_list">
|
<iframe id="wf_version_frame" src="" frameborder="0" width="100%" height="100%"></iframe>
|
||||||
<#liStr>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="designer-version-manager" style="width:600px; display:none;">
|
|
||||||
<div id='contentDiv' style='margin-top:1px;height:220px;' class="dlg-content">
|
|
||||||
<iframe width="100%" id="designerManager" name="coeCreateUser" frameBorder="0" style="width: 100%; height: 220px;"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- 不支持HTML5的页面显示图片 -->
|
|
||||||
<div id="mainDiv" style="display: none;">
|
|
||||||
<div class="view_box">
|
|
||||||
<div id="chartDivBox" style="background: none;">
|
|
||||||
<div id="chartDiv" style="left: 148.5px; top: 0px;">
|
|
||||||
<img alt="<#fileName>" id="chart_img" style="display: block; opacity: 1;" src="<#diagram>">
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="chart_preview" style="background: rgba(255, 255, 255, 0.701961);">
|
<div class="dialog-button-wrap" style="text-align:right">
|
||||||
<div id="chart_preview_wrap" style="position: absolute; opacity: 1;">
|
<div class="dlg-button" style="text-align:right;">
|
||||||
<img id="preview_img" style="position: absolute; display: block;" src="<#diagram>">
|
<div class="dlg-info">
|
||||||
<div class="preview_box" id="preview_box" style="cursor: move; background: rgba(255, 255, 255, 0);"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div title="" style="width:550px;display:none;" id="upfile-dialog">
|
|
||||||
<div id='upfile-content' style='height:330px;'>
|
|
||||||
<iframe width="100%" id="upfile-content-iframe" name="upfile-content-iframe" frameBorder="0" style="width: 100%; height:100%;"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--WFVersion对话框-->
|
|
||||||
<div id="dialog_wf_version" style="width:900px; display:none;">
|
|
||||||
<div id="dialog_wf_version_area" style="height:250px;" class="dlg-content">
|
|
||||||
<iframe id="wf_version_frame" src="" frameborder="0" width="100%" height="100%"></iframe>
|
|
||||||
</div>
|
|
||||||
<div class="dialog-button-wrap" style="text-align:right">
|
|
||||||
<div class="dlg-button" style="text-align:right;">
|
|
||||||
<div class="dlg-info">
|
|
||||||
<span style='font-family: Consolas;font-size:16px;'>Version ID:
|
<span style='font-family: Consolas;font-size:16px;'>Version ID:
|
||||||
<input type='text' class='IDInput' readonly='readonly' value='<#processDefVersionId>' />
|
<input type='text' class='IDInput' readonly='readonly' value='<#processDefVersionId>' />
|
||||||
</span>
|
</span>
|
||||||
|
</div>
|
||||||
|
<button class="button" onclick="$('#dialog_wf_version').dialog('close');return false;">关闭</button>
|
||||||
</div>
|
</div>
|
||||||
<button class="button" onclick="$('#dialog_wf_version').dialog('close');return false;">关闭</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div id="noContent" class="awsui-message-page" style="display:none;">
|
||||||
<div id="noContent" class="awsui-message-page" style="display:none;">
|
<div class="content">
|
||||||
<div class="content">
|
<span class="icon" message-type="no_content"></span>
|
||||||
<span class="icon" message-type="no_content"></span>
|
<span class="title">无数据</span>
|
||||||
<span class="title">无数据</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<form id="openNewModelForm" name="openNewModelForm" method="post" action="./w" target="_blank">
|
||||||
<form id="openNewModelForm" name="openNewModelForm" method="post" action="./w" target="_blank">
|
<input type="hidden" name="sid" id="sid" value="<#sid>">
|
||||||
<input type="hidden" name="sid" id="sid" value="<#sid>">
|
<input type="hidden" name="imgPath" id="imgPath" value="<#imgPath>">
|
||||||
<input type="hidden" name="imgPath" id="imgPath" value="<#imgPath>">
|
<input type="hidden" name="openType" id="openType" value="<#openType>">
|
||||||
<input type="hidden" name="openType" id="openType" value="<#openType>">
|
<input type="hidden" name="wsId" id="wsId" value="<#wsId>">
|
||||||
<input type="hidden" name="wsId" id="wsId" value="<#wsId>">
|
<input type="hidden" name="teamId" id="teamId" value="<#teamId>">
|
||||||
<input type="hidden" name="teamId" id="teamId" value="<#teamId>">
|
<input type="hidden" name="filePerms" id="filePerms" value="<#filePerms>" />
|
||||||
<input type="hidden" name="filePerms" id="filePerms" value="<#filePerms>" />
|
<input type="hidden" name="defaultMoreAttrSort" id="defaultMoreAttrSort" value="<#defaultAttrSort>" />
|
||||||
<input type="hidden" name="defaultMoreAttrSort" id="defaultMoreAttrSort" value="<#defaultAttrSort>" />
|
</form>
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ function showByType() {
|
|||||||
if(methodId=="data.form"){
|
if(methodId=="data.form"){
|
||||||
$("#processAttr").hide();
|
$("#processAttr").hide();
|
||||||
}else if(methodId=="control.policy"){
|
}else if(methodId=="control.policy"){
|
||||||
$("#processAttr").text("条款");
|
$("#processAttr").hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1539,7 +1539,7 @@ function initProcessDesc() {
|
|||||||
$('#relevantDocument').append(b);
|
$('#relevantDocument').append(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#portalDescDock').find('table').append(t);
|
$('#processFileDockg').find('table').append(t);
|
||||||
// $('#portalDescDock').append('<table class="awsui-table"><tr><td> </td></tr></table>');
|
// $('#portalDescDock').append('<table class="awsui-table"><tr><td> </td></tr></table>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user