Browse Source

no message

liu 2 years ago
parent
commit
e1b122a5f2

+ 16 - 15
ruoyi-system/src/main/resources/templates/process/declaration/showVerifyDialogLD.html

@@ -438,15 +438,15 @@
 
             <!-- 导航 -->
             <div class="need-fill-gap"></div>
-              <div id="dingwei" class="need-fixed-top-tab" style="padding: 0;background-color: white;">
+              <div class="need-fixed-top-tab" style="padding: 0;background-color: white;">
                   <ul class="nav-pills width-100 flex justify-around align-center">
-                      <li id="li_post1" class="ac"><a href="#post1">办理信息</a></li>
-                      <li id="li_post2"><a href="#post2">增员</a></li>
-                      <li id="li_post3"><a href="#post3">岗位变动</a></li>
-                      <li id="li_post4"><a href="#post4" class="">减员</a></li>
-                      <li id="li_post5" th:if="${declaration.declarationStatus != '3' and declaration.declarationStatus != '5'}"><a href="#post5" class="">岗位设置备案表</a></li>
-                      <li id="li_post6"><a href="#post6" class="">来文</a></li>
-                      <li id="li_post7" th:if="${filePermissions} != '1'"><a href="#post7" class="">意见</a></li>
+                      <li id="li_post1" class="li-a-active" onclick="chooseLi(this)"><a href="#post1">办理信息</a></li>
+                      <li id="li_post2" onclick="chooseLi(this)"><a href="#post2">增员</a></li>
+                      <li id="li_post3" onclick="chooseLi(this)"><a href="#post3">岗位变动</a></li>
+                      <li id="li_post4" onclick="chooseLi(this)"><a href="#post4" class="">减员</a></li>
+                      <li id="li_post5" onclick="chooseLi(this)" th:if="${declaration.declarationStatus != '3' and declaration.declarationStatus != '5'}"><a href="#post5" class="">岗位设置备案表</a></li>
+                      <li id="li_post6" onclick="chooseLi(this)"><a href="#post6" class="">来文</a></li>
+                      <li id="li_post7" onclick="chooseLi(this)" th:if="${filePermissions} != '1'"><a href="#post7" class="">意见</a></li>
                   </ul>
               </div>
             </div>
@@ -722,6 +722,7 @@
                                     <div class="flex justify-around">
                                         <div class="flex align-center">
                                             <button type="button"
+                                                    style="margin-right: 16px;"
                                                     class="btn btn-border-333 padding-lr-36 flex align-center"
                                                     onclick="close_fhdb()" >返回
                                             </button>
@@ -1036,13 +1037,13 @@
 
     $(function () {
         let lis = document.querySelectorAll('li');
-        for (var i = 0; i < lis.length; i++) {
-            lis[i].onclick = function (e) {
-                let li = document.getElementsByClassName('ac')[0];
-                li.classList.remove('ac')
-                // e.target.classList.add('ac')
-            }
-        }
+        // for (var i = 0; i < lis.length; i++) {
+        //     lis[i].onclick = function (e) {
+        //         let li = document.getElementsByClassName('ac')[0];
+        //         li.classList.remove('ac')
+        //         e.target.classList.add('ac')
+        //     }
+        // }
 
         if (!$.common.isEmpty(declaration.attachment)) {
             var attachmentUrl=disposeUrl(declaration.attachment,"SYDW")