流程手册部署

This commit is contained in:
zhal 2022-07-12 17:38:45 +08:00
parent 2d7b10e410
commit a8ae0a267c
3 changed files with 21 additions and 9 deletions

View File

@ -709,6 +709,7 @@
}
function initOutputFileLink() {
if(taskId != "") {
var html = '';
// 只包含手册的链接
@ -736,6 +737,7 @@
//三员模式文件预览
function secOpenOutputFile(id) {
debugger;
if (taskId !="<#taskId>"){
openOutputFile(taskId);
}else{

View File

@ -1575,6 +1575,16 @@ function initUpfileData(obj) {
}
t += '</table>';
}
//流程手册附件展示
t += '<table class="awsui-table">';
t += '<tr>';
t += '<td class="tableHeader">流程手册</td>';
t += '</tr>';
t += '<tr>';
t += '<td class="tableContent" style="padding-left:20px;"><a href="javascript:void(0);" onclick="openOutputFile(\''+ ruuid +'\')">'+ fileName +'</a></td>';
t += '</tr>';
t += '</table>';
var elements = Model.define.elements;
for(var e in elements) {
var ele = elements[e];

View File

@ -4530,13 +4530,13 @@ var Designer = {
}
if (jjj.showType == "text" || jjj.showType == "attr") {
//判断如果岗位多个数据,...显示 by zhaolei
if(jjj.value!=""){
var lenth=jjj.value.match(/,/g).length;
if(lenth>=2){
var index1=jjj.value.indexOf(",");
var index2=jjj.value.indexOf(",",index1+1);
l+=jjj.value.substr(0,index2)+"...";
}else{
if (jjj.value != "") {
var lenth = jjj.value.match(/,/g).length;
if (lenth >= 2) {
var index1 = jjj.value.indexOf(",");
var index2 = jjj.value.indexOf(",", index1 + 1);
l += jjj.value.substr(0, index2) + "...";
} else {
l += jjj.value
}
}