diff --git a/com.awspaas.user.apps.yili.integration/template/page/index_web.html b/com.awspaas.user.apps.yili.integration/template/page/index_web.html index e5713c7f..6558fa29 100644 --- a/com.awspaas.user.apps.yili.integration/template/page/index_web.html +++ b/com.awspaas.user.apps.yili.integration/template/page/index_web.html @@ -12,17 +12,17 @@ - +
- +
-
<#ProcessTile>
+
<#ProcessTile>
-
+
收起
@@ -43,18 +43,22 @@ $(function (){ // alert($("#ProcessTile").val()); // alert(JSON.parse($("#jsonlist").val())); - + var code = $("#subString").val(); - $('#edithtml').html(code) + + if($("#ProcessTile").val()!='关于发布《液态奶事业部2024年喷粉量管控项目激励方案》的通知(该文件已撤回,给您带来不便请谅解)'){ + $('#edithtml').html(code) + } + if(code.length ==0){ //$('#edithtml').css('height',0) - $('#edithtml').css('height','8rem') + $('#edithtml').css('height','8rem') }else{ $('#edithtml').css('height','auto') } $(".poster-btn").click(function(){ - + if ($(this).text() == "展开更多") { $(this).text("收起"); $("#edithtml").css("height","auto"); @@ -64,77 +68,104 @@ } }); + if($("#ProcessTile").val()!='关于发布《液态奶事业部2024年喷粉量管控项目激励方案》的通知(该文件已撤回,给您带来不便请谅解)'){ + var json=JSON.parse($("#jsonlist").val()); + var str=''; + for(var i=0;i' + }else{ + str+='
  • ' + } - var json=JSON.parse($("#jsonlist").val()); - var str='' - debugger; - for(var i=0;i' - }else{ - str+='
  • ' - } - - //str+='
  • ' - - } - } - $('.nav').html(str); + //str+='
  • ' + + } + } + $('.nav').html(str); + } + + $('span').css({ + 'font-family': 'Microsoft YaHei', + }); + $("#RELEASE_INSTRUCTIONS_htmlRead p").slice(0, 3).remove(); }) -function createFile(taskId,title,id){ - debugger; - - awsui.ajax.request({ - type: "POST", - url: "./jd", - dataType:"json", - async: false, - data: { - sid: $("#sid").val(), - cmd: "com.awspaas.user.apps.integrates.createFileController", - taskId:taskId, - title:title, - id:id - }, - success: function (msg) { - console.log(msg); - if (msg.result == "ok") { - window.location.href = msg.data.url; + function createFile(taskId,title,id){ + awsui.ajax.request({ + type: "POST", + url: "./jd", + dataType:"json", + async: false, + data: { + sid: $("#sid").val(), + cmd: "com.awspaas.user.apps.integrates.createFileController", + taskId:taskId, + title:title, + id:id + }, + success: function (msg) { + console.log(msg); + if (msg.result == "ok") { + window.location.href = msg.data.url; + } } - } - }); + }); -} + } -function downloadZipFile(uuid,taskId,fileName,methodId) { -debugger; - $.ajax({ - type : "POST", - url : "./jd?sid=" + $("#sid").val() + "&cmd=com.actionsoft.apps.coe.pal_outputreport_output_downloadZipfile", - data : { - splitId : uuid, - toolbarname:fileName, - taskIdParams:taskId, - methodId:methodId - }, - success : function(msg) { - debugger; - if (msg.result == "ok") { - - window.location.href = msg.data.url; - } - } - }); -} + function downloadZipFile(uuid,taskId,fileName,methodId) { + $.ajax({ + type : "POST", + url : "./jd?sid=" + $("#sid").val() + "&cmd=com.actionsoft.apps.coe.pal_outputreport_output_downloadZipfile", + data : { + splitId : uuid, + toolbarname:fileName, + taskIdParams:taskId, + methodId:methodId + }, + success : function(msg) { + if (msg.result == "ok") { + window.location.href = msg.data.url; + } + } + }); + } +