From 09439f8e72089314d599556c61b7b520cf298e35 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Sun, 28 Aug 2022 23:54:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../form/发布流程-批量流程制度发布申请.htm | 185 ++++++++++++++++++ .../js/coe.pal.process.publish.multiple.js | 174 ---------------- 2 files changed, 185 insertions(+), 174 deletions(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/template/form/发布流程-批量流程制度发布申请.htm b/com.actionsoft.apps.coe.pal.publisher/template/form/发布流程-批量流程制度发布申请.htm index 7140adc2..2e709350 100644 --- a/com.actionsoft.apps.coe.pal.publisher/template/form/发布流程-批量流程制度发布申请.htm +++ b/com.actionsoft.apps.coe.pal.publisher/template/form/发布流程-批量流程制度发布申请.htm @@ -1,6 +1,9 @@
+ + + @@ -30,6 +33,7 @@ } + @@ -909,6 +913,12 @@ var 下一页 = "下一页"; var 上一页 = "上一页"; var 显示0到1条共2条 = "显示 {0} 到 {1} 条,共 {2} 条"; // ]]> + + \ No newline at end of file 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 d908c538..54be8cfb 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 @@ -1280,7 +1280,6 @@ function getStopBatchResult(type) { // 获取已有的流程手册 function queryBatchReport(data) { - debugger; var ids = []; for (var i = 0; i < data.length; i++) { var temp = data[i]; @@ -1870,179 +1869,7 @@ function saveFormData(type) { } } -// 点击办理时的校验+保存字表 -function formSave(isTransact){ - if (!editPerm) {// 只读状态不处理 - return true; - } - $.simpleAlert('正在保存', 'loading'); - if(isTransact) {// 点击办理进行校验 - // 判断页面是否有数据 - if ($("#publisher_new_tr").css('display') == 'none' && $("#publisher_change_tr").css('display') == 'none' && $("#publisher_stop_tr").css('display') == 'none'){ - $.simpleAlert('close'); - $.simpleAlert('发布内容不能为空', 'info'); - return false; - } - debugger; - var index = 0; - if (!($("#publisher_new_tr").css('display') == 'none') && newTemp.length > 0) { - index++; - } - if (!($("#publisher_change_tr").css('display') == 'none') && changeTemp.length > 0) { - index++; - } - if (!($("#publisher_stop_tr").css('display') == 'none') && stopTemp.length > 0) { - index++; - } - if (index == 0) { - $.simpleAlert('close'); - $.simpleAlert('发布内容不能为空', 'info'); - return false; - } - // 校验变更文件是否全部都有变更后文件 - if (!($("#publisher_change_tr").css('display') == 'none') && changeTemp.length > 0) { - var flag = false; - var msg = '以下文件没有选择变更后的文件,不允许办理'; - for (var i = 0; i < changeTemp.length; i++) { - if (changeTemp[i].changedFileIdNew == "") { - flag = true; - msg += '