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 {