安保维稳 7 miesięcy temu
rodzic
commit
e10350a1e8

+ 6 - 0
src/main/resources/templates/admin/index/dashboard.html

@@ -149,6 +149,12 @@
                 return value ? '是' : '否'
             }
         },
+        {
+            field: 'author',
+            title: '上报部门',
+            width: 100,
+            align: "center"
+        },
         // {
         //     field: 'status',
         //     title: '状态',

+ 2 - 2
src/main/resources/templates/theme/audit/index.html

@@ -236,7 +236,7 @@
                         <li class="active" onclick="window.open('/article/list/62')">党建队建
                             <img th:if="${@module.getNews('党建队建')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: calc(100vw / 1440* 105);width:calc(100vw / 1440* 24)">
                           </li>
-                        <li onclick="window.open('/article/list/27')">督考工作
+                        <li th:onclick="${isProvince}?'window.open(\'/article/list/27\')':''">督考工作
                             <img th:if="${@module.getNews('督考工作')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: calc(100vw / 1440* 105);width:calc(100vw / 1440* 24)">
                           </li>
                         <li onclick="window.open('/article/list/11')" style="position: relative">一线警事
@@ -258,7 +258,7 @@
                             <div>
                                 <ul>
                                     <li th:each="item,proStat:${@module.getArticleAll('督考工作')}" th:if="${proStat.index} le 7">
-                                        <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
+                                        <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${item.title}" target="_blank">
                                             <span th:text="${item.title}"></span>
                                             <span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
                                         </a>