From 597942eb38d90990778ced670b66d4fab0bdeb30 Mon Sep 17 00:00:00 2001 From: ptt <2403326863@qq.com> Date: Mon, 12 May 2025 16:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=A4=96=E7=BD=91?= =?UTF-8?q?=E9=97=A8=E6=88=B7,=E6=B3=A8=E5=86=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/shkd/repc/resp/portal/IndexEditNewPlugin.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main/java/shkd/repc/resp/portal/IndexEditNewPlugin.java b/main/java/shkd/repc/resp/portal/IndexEditNewPlugin.java index 38b0eaa..cc9c950 100644 --- a/main/java/shkd/repc/resp/portal/IndexEditNewPlugin.java +++ b/main/java/shkd/repc/resp/portal/IndexEditNewPlugin.java @@ -5,6 +5,7 @@ import kd.bos.context.RequestContext; import kd.bos.dataentity.resource.ResManager; import kd.bos.dataentity.utils.StringUtils; import kd.bos.form.*; +import kd.bos.form.container.Container; import kd.bos.form.control.Control; import kd.bos.form.control.Label; import kd.repc.common.util.CacheMCData; @@ -101,6 +102,15 @@ public class IndexEditNewPlugin extends IndexEditNew { } + @Override + public void setHeadflexpanelBackgroundImg(boolean flag) { + Container flexPanel = (Container)this.getView().getControl("flexpanelap1"); + if (flag) { +// flexPanel.setBackgroundImg("/images/pc/other/AI_bg_108_110.png"); + } else { + flexPanel.setBackgroundImg((String)null); + } + } private void openForm(String formId, FormShowParameter formShowPara) { this.getPageCache().put(openPanelRegFlag, "true");