From 0177a06443baf9fe1236787c44848731dfe87a65 Mon Sep 17 00:00:00 2001 From: lihongyu <504404568@qq.com> Date: Fri, 18 Nov 2022 05:34:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=8F=91=E5=B8=83=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=9A=82=E6=97=B6=E5=8E=BB=E6=8E=89=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=89=8B=E5=86=8C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/coe.pal.process.publish.multiple.js | 13 +++++++++++-- .../js/coe.pal.process.publish.multiple.mobile.js | 11 +++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js index 6dc9f8f6..7a760106 100644 --- a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js +++ b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js @@ -446,9 +446,10 @@ var changedId = ''; function initPublishData(data, type, pageNumber, start){ showlist(data, type, pageNumber, start); - var ff = $("#readonly").val(); if($("#readonly").val()=="true"){ $("#publish_new_button").hide(); + $("#publish_change_button").hide(); + $("#publish_stop_button").hide(); } } @@ -570,8 +571,13 @@ function showlist(data, type, pageNumber, start){ } } var fileName = curr.publishFileName + ' V' + curr.fileVersion; + debugger; var outputName = getOutputName(curr.category, curr.methodId); var reportName = '' + fileName + "-" + outputName + ''; + if(outputName=="表单封面"){ + var reportName = ""; + } + //var reportName = '' + fileName + "-" + outputName + ''; var quickCreate = "立即创建"; var processNumber = '提交后生成文件编号'; if(curr.processNumber != undefined&&curr.processNumber != ''){ @@ -643,7 +649,10 @@ function showlist(data, type, pageNumber, start){ targetId = curr.changedFileIdNew; } var outputName = getOutputName(curr.category, curr.methodId); - var reportName = '' + targetFileName + "-" + outputName + ''; + var reportName = '' + targetFileName + "-" + outputName + ''; + if(outputName=="表单封面"){ + var reportName = ""; + } var quickCreate = "立即创建"; createButtonObj[curr.changeFileId] = quickCreate; reportName = (curr.taskId == undefined || curr.taskId == '') ? '无' : curr.taskId == 'submit_create' ? quickCreate : reportName; 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 a6b6d259..bafb610b 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 @@ -212,7 +212,7 @@ function getOutputName(category, method) { return '制度手册'; } if (method == 'data.form') { - return '表单手册' + return '表单封面' } if (method.indexOf('process.') > -1) { return '流程手册'; @@ -236,9 +236,16 @@ function showlist(data, type, pageNumber, start){ var fileName = curr.publishFileName + ' V' + curr.fileVersion; var outputName = getOutputName(curr.category, curr.methodId); + if(outputName=="表单封面"){ + + + } + html +=''; html +=''; - html +='' +'文件预览: '+ fileName + "-" + outputName + ''; + if(outputName!="表单封面"){ + html +='' +'手册预览: '+ fileName + "-" + outputName + ''; + } html +=''; html +=''; html +='';