From 78afcec93b2df52e6ad8fd5af5faf6687c2697e8 Mon Sep 17 00:00:00 2001
From: zhaol <15900249928@163.com>
Date: Thu, 7 Nov 2024 09:47:50 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E9=98=85=E6=96=87=E4=BB=B6=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../template/page/index_web.html | 169 +++++++++++-------
1 file changed, 100 insertions(+), 69 deletions(-)
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;
+ }
+ }
+ });
+ }
+