فهرست منبع

文件上传大小限制
“公安信息”ip限制

lidongxue 7 ماه پیش
والد
کامیت
582db62bed

+ 1 - 0
src/main/resources/templates/admin/servicePlatform/list.html

@@ -250,6 +250,7 @@
             data: formData,
             processData: false,
             contentType: false,
+            timeout: 600000,
             success: function (res) {
                 Core.refreshTable("#table")
                 alert('上传成功')

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

@@ -128,13 +128,13 @@
                     <div class="tabbox">
                         <ul class="tabNav">
                             <li class="active" th:onclick="window.open('/article/list/54')">通知公告
-                                <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)">
+                                <img th:if="${@module.getNews('通知公告')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                             <li  onclick="window.open('/article/list/66')">领导批示
-                                <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)">
+                                <img th:if="${@module.getNews('领导批示')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                             <li  th:onclick="${isProvince}?'window.open(\'/article/list/115\')':''">文件发布
-                                <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)">
+                                <img th:if="${@module.getNews('文件发布')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                         </ul>
                         <div class="content">
@@ -180,13 +180,15 @@
                     <div class="tabbox">
                         <ul class="tabNav">
                             <li class="active" onclick="window.open('/article/list/93')" style="position: relative">每日警情
-                                <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)">
+                                <img th:if="${@module.getNews('每日警情')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
-                         <li onclick="window.open('/article/list/22')">公安信息
-                                <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 th:onclick="${isProvince}?'window.open(\'/article/list/22\')':''">公安信息
+<!--                         <li onclick="window.open('/article/list/22')">公安信息-->
+                                <img th:if="${@module.getNews('公安信息')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                             <li onclick="window.open('/article/list/57')">部门动态
-                                <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)">
+                                <img th:if="${@module.getNews('部门动态')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                         </ul>
                         <div class="content">
@@ -203,7 +205,8 @@
                             <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="@{${'/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>
@@ -234,13 +237,13 @@
                             <!--                                党的建设改为支部建设-->
 
                         <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)">
+                            <img th:if="${@module.getNews('党建队建')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                           </li>
                         <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)">
+                            <img th:if="${@module.getNews('督考工作')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                           </li>
                         <li onclick="window.open('/article/list/11')" style="position: relative">一线警事
-                            <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)">
+                            <img th:if="${@module.getNews('一线警事')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                           </li>
 
                        </ul>
@@ -288,13 +291,13 @@
                     <div class="tabbox">
                         <ul class="tabNav">
                             <li class="active" th:onclick="window.open('/article/list/64')">学习园地
-                                <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)">
+                                <img th:if="${@module.getNews('学习园地')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                             <li  th:onclick="window.open('/article/list/55')">媒体聚焦
-                                <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)">
+                                <img th:if="${@module.getNews('媒体聚焦')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                             <li  th:onclick="window.open('/article/list/51')">法律法规
-                                <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)">
+                                <img th:if="${@module.getNews('法律法规')}==1" th:src="@{/police/images/cbs/label_new.svg}" style="position: absolute;left: auto;width:calc(100vw / 1440* 24)">
                             </li>
                         </ul>
                         <div class="content">