From bd4ff367cba1c4de408477f0392894ab7ba3632c Mon Sep 17 00:00:00 2001 From: wuzuowei Date: Wed, 13 Mar 2024 10:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E6=A1=86=E6=B0=94=E6=B3=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CCFlow/CCFlow/WF/MyFlowGener.htm | 53 ++++++++++++++++++++++++++++++++ CCFlow/CCFlow/WF/Toolbar.js | 13 +++++++- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/CCFlow/CCFlow/WF/MyFlowGener.htm b/CCFlow/CCFlow/WF/MyFlowGener.htm index 806105ec..91328f33 100644 --- a/CCFlow/CCFlow/WF/MyFlowGener.htm +++ b/CCFlow/CCFlow/WF/MyFlowGener.htm @@ -76,6 +76,59 @@ .layui-footer { text-align: left !important; } + .dksp{ + position:relative; + } + + .dksp:hover::before { + content: ''; + position: absolute; + left: 50%; + top: 26px; + width: 0px; + height: 0px; + border: 5px solid transparent; + border-bottom-color: #FF7171; + } + + .dksp:hover::after { + content: '质量要点单独审批'; + position: absolute; + left: 0; + top: 36px; + box-sizing: border-box; + background: #FEFD23; + box-shadow: 0 0 1px 1px #FF7171; + white-space: pre; + padding: 4px; + border-radius: 5px; + } + .lhsp { + position: relative; + } + + .lhsp:hover::before { + content: ''; + position: absolute; + left: 50%; + top: 26px; + width: 0px; + height: 0px; + border: 5px solid transparent; + border-bottom-color: #FF7171; + } + .lhsp:hover::after { + content: '技术协议,\A质量要点共同审批'; + position: absolute; + left: 0; + top: 36px; + box-sizing: border-box; + background: #FEFD23; + box-shadow: 0 0 1px 1px #FF7171; + white-space: pre; + padding: 5px; + border-radius: 4px; + } diff --git a/CCFlow/CCFlow/WF/Toolbar.js b/CCFlow/CCFlow/WF/Toolbar.js index 058f3b4a..ec34db40 100644 --- a/CCFlow/CCFlow/WF/Toolbar.js +++ b/CCFlow/CCFlow/WF/Toolbar.js @@ -51,6 +51,7 @@ $(function () { var _html = ""; var sendBtnOper = ""; $.each(toolBars, function (i, toolBar) { + console.log("按钮遍历", toolBars, toolBar,i) var Oper = ""; if (toolBar.Oper != "") { @@ -84,8 +85,18 @@ $(function () { Icon = Icon.replace(Icon.substr(0, index), "../"); img = " "; } + if (toolBar.Name == "跳转审批") { + _html += ""; - _html += ""; + } + else if (toolBar.Name == "联合审批") { + _html += ""; + + } + else { + _html += ""; + + } } else {