From 890282071a8836f7127fab3c3963a436f624acf7 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Wed, 28 Sep 2022 19:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=85=B3=E8=81=94=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...coe.pal.process.publish.multiple.mobile.js | 47 ++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.mobile.js b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.mobile.js index 374099f3..834923a3 100644 --- a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.mobile.js +++ b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.mobile.js @@ -230,6 +230,10 @@ function showlist(data, type, pageNumber, start){ for (var i = 0, s = start; i < pageLimit; i++, s++) { var curr; if ((curr = data[s - 1]) != undefined) { + + + + var fileName = curr.publishFileName + ' V' + curr.fileVersion; var outputName = getOutputName(curr.category, curr.methodId); html +=''; @@ -242,6 +246,25 @@ function showlist(data, type, pageNumber, start){ html +='' +'模型预览: '+ fileName+''; html +=''; html +=''; + + + //获取文件属性附件 + var upFileId = curr.upfileId; + if(upFileId!=''&&upFileId!=undefined){ + for(var i = 0; i < upFileId.length; i++){ + var upFileJson = upFileId[i] + var json=JSON.parse(upFileJson); + var upName = json.upFileName; + var openUrl = json.openUrl; + + html +=''; + html +='' +'关联附件: '+ upName+''; + html +=''; + + } + } + + } } $("#appendNewBody").empty().html(html); @@ -276,6 +299,23 @@ function showlist(data, type, pageNumber, start){ html +=''; html +=''; + + var upFileId = curr.upfileId; + if(upFileId!=''&&upFileId!=undefined){ + for(var i = 0; i < upFileId.length; i++){ + var upFileJson = upFileId[i] + var json=JSON.parse(upFileJson); + var upName = json.upFileName; + var openUrl = json.openUrl; + html +=''; + html +=''; + html +='' +'关联附件: '+ upName+''; + html +=''; + html +=''; + } + } + + } } $("#appendChangeBody").empty().html(html); @@ -306,7 +346,12 @@ function showlist(data, type, pageNumber, start){ } - +//预览下载附件 +function openUrl(url) { + //$.simpleAlert("文件正在处理", "loading"); + var url = url; + window.location.href = url; +} // 打开流程手册 function openReportFile(taskId,appendid) {