From 05f6efe7000c3880f9baf64548a0c82b15784532 Mon Sep 17 00:00:00 2001 From: zhaol <15900249928@163.com> Date: Thu, 12 Dec 2024 22:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E6=B5=81=E7=A8=8Bjs=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=95=B4=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/coe.pal.process.publish.multiple_L4.js | 47 ++++++++++++------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple_L4.js b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple_L4.js index 6282e868..e9896d09 100644 --- a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple_L4.js +++ b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple_L4.js @@ -439,6 +439,7 @@ function initHtml() { stopHtml += '流程制度模型'; stopHtml += '文件预览'; stopHtml += '文件编号'; + stopHtml += '相关/支持文件'; stopHtml += ''; stopHtml += ''; stopHtml += ''; @@ -641,19 +642,8 @@ function queryapprove(){ ui("SECONDARY_AUDIT_REQUIRED",info.L2_SP); ui("LEVEL_1_AUDIT_REQUIRED",info.L1_SP); ui("FOURTH_AUDIT_REQUIRED",info.L4_SP); - - - } - var adaptregionname = r.data.ADAPT_REGION_NAME; - if(adaptregionname!=''){ - ui("ADAPT_REGION_NAME",adaptregionname); - } - var applicableproduct = r.data.APPLICABLE_PRODUCT; - if(applicableproduct!=''){ - ui("APPLICABLE_PRODUCT",applicableproduct); - } } }); } @@ -731,12 +721,7 @@ function showlist(data, type, pageNumber, start){ relatedStr += '

' + relatedName + ' 

'; } - if(relatedStr!=''){ - html += ''+ relatedStr+''; - } - - - /*html += ''+ curr.relatedData +'';*/ + html += ''+ curr.relatedData +''; html += ''; } } @@ -818,6 +803,22 @@ function showlist(data, type, pageNumber, start){ //html += '' + fName + ''; //html += ''; html += '' + changNumer +''; + + var relatedStr=''; + var relatedData = curr.relatedData; + for(var i = 0; i < relatedData.length; i++){ + var json=JSON.parse(relatedData[i]); + var relatedName = json.relatedName; + var relatedUrl = json.relatedUrl; + relatedStr += '

' + relatedName + ' 

'; + } + + html += ''+ relatedStr+''; + + + + + html += ''; // select2下拉框处理 var opt1 = { @@ -930,6 +931,18 @@ function showlist(data, type, pageNumber, start){ } html += ''; + + var relatedStr=''; + var relatedData = curr.relatedData; + for(var i = 0; i < relatedData.length; i++){ + var json=JSON.parse(relatedData[i]); + var relatedName = json.relatedName; + var relatedUrl = json.relatedUrl; + relatedStr += '

' + relatedName + ' 

'; + } + html += ''+ relatedStr+''; + + html += ''; } }