From e1f21815f3c897460448d1f3a908390491327313 Mon Sep 17 00:00:00 2001
From: zhal <15900249928@163.com>
Date: Mon, 29 Aug 2022 23:37:47 +0800
Subject: [PATCH] =?UTF-8?q?=E9=99=A4=E5=8F=91=E8=B5=B7=E8=8A=82=E7=82=B9?=
=?UTF-8?q?=E9=9A=90=E8=97=8F=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../js/coe.pal.process.publish.multiple.js | 37 +++++++++++++++----
1 file changed, 29 insertions(+), 8 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 54be8cfb..5905f5ca 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
@@ -15,6 +15,7 @@ var stopTemp;
var treeCheckedNewArr = [];
var treeCheckedChangeArr = [];
var treeCheckedStopArr = [];
+var taskArr=[];
// 统一中文变量
var varDutyDept = "责任部门";
var varDutyUser = "责任人";
@@ -228,9 +229,13 @@ function initHtml() {
newHtml += '
';
newHtml += '';
newHtml += '
';
- newHtml += '';
- // newHtml += '';
- newHtml += '';
+
+ if($("#userTaskDefId").val()=='obj_c9e5a2e257f00001e2a375d01f601518'){
+ newHtml += '';
+ // newHtml += '';
+ newHtml += '';
+ }
+
newHtml += '
';
newHtml += '
';
newHtml += '
';
@@ -254,9 +259,11 @@ function initHtml() {
changeHtml += '';
changeHtml += '';
changeHtml += '
';
+ if($("#userTaskDefId").val()=='obj_c9e5a2e257f00001e2a375d01f601518'){
changeHtml += '';
// changeHtml += '';
changeHtml += '';
+ }
changeHtml += '
';
changeHtml += '
';
changeHtml += '
';
@@ -282,9 +289,11 @@ function initHtml() {
stopHtml += '';
stopHtml += '';
stopHtml += '
';
- stopHtml += '';
- // stopHtml += '';
- stopHtml += '';
+ if($("#userTaskDefId").val()=='obj_c9e5a2e257f00001e2a375d01f601518') {
+ stopHtml += '';
+ // stopHtml += '';
+ stopHtml += '';
+ }
stopHtml += '
';
stopHtml += '
';
stopHtml += '
';
@@ -509,12 +518,14 @@ function showlist(data, type, pageNumber, start){
}
// 加载数据
var html = '';
+ //var appendTask="";
for (var i = 0, s = start; i < pageLimit; i++, s++) {
var curr;
if ((curr = data[s - 1]) != undefined) {
+ //appendTask+=curr.taskId+',';
var fileName = curr.publishFileName + ' V' + curr.fileVersion;
var outputName = getOutputName(curr.category, curr.methodId);
- var reportName = '' + fileName + "-" + outputName + '';
+ var reportName = '' + fileName + "-" + outputName + '';
var quickCreate = "立即创建";
var processNumber = '';
if(curr.processNumber != undefined){
@@ -535,9 +546,19 @@ function showlist(data, type, pageNumber, start){
//html += ' | ';
html += ''+ processNumber +' | ';
html += '';
+
}
+
+
}
+ //appendTask=appendTask.substring(0,appendTask.length-1);
$('#publish_new_tbody').empty().html(html);
+
+ /*var taskData=appendTask.split(",");
+ for(var i=0;i