diff --git a/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.view.portal.html b/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.view.portal.html index 5bed1d1a..fdba7419 100755 --- a/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.view.portal.html +++ b/com.actionsoft.apps.coe.pal/template/page/pal.pl.repository.designer.view.portal.html @@ -709,6 +709,7 @@ } function initOutputFileLink() { + if(taskId != "") { var html = ''; // 只包含手册的链接 @@ -736,6 +737,7 @@ //三员模式文件预览 function secOpenOutputFile(id) { + debugger; if (taskId !="<#taskId>"){ openOutputFile(taskId); }else{ diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.view.portal.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.view.portal.js index d784cf29..9195a265 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.view.portal.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.view.portal.js @@ -1575,6 +1575,16 @@ function initUpfileData(obj) { } t += ''; } + //流程手册附件展示 + t += ''; + t += ''; + t += ''; + t += ''; + t += ''; + t += ''; + t += ''; + t += '
流程手册
'+ fileName +'
'; + var elements = Model.define.elements; for(var e in elements) { var ele = elements[e]; diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js index 255704f3..2ececac0 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/scripts/diagraming/designer.core.js @@ -4530,15 +4530,15 @@ 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{ - l += jjj.value - } + 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 + } } } else {