Prechádzať zdrojové kódy

七个数据隔离 水源,救援设备,起降点,气象站,放火站,防火队,森林管理 经纬度 用户不验证Email Unique
非必填 APP 七个基础数据 修改用户登录状态判断 用户邮箱保存 Excel 上传 测距离跨域

wangzhe 4 rokov pred
rodič
commit
aca7ffdbe6

+ 11 - 1
mybusiness/src/main/resources/templates/business/manager/othersmanager/index.html

@@ -110,6 +110,13 @@
 </div>
 <th:block th:include="include :: footer" />
 <script th:inline="javascript">
+    function openDetailsDia(eventId){
+        //var prefix = ctx + "visualization/event/getVisualizationDetails?eventId="+eventId+"&reservePlanType=reserveplan_type_1";
+        var prefix = ctx + "visualization/event/getVisualizationDetails?eventId="+eventId+"&reservePlanType=" + $("#reserveplanType").val();
+        //$.modal.openTab('警情信息', prefix,$(document).width(),$(document).height());
+        $.modal.open('警情信息', prefix,$(document).width(),$(document).height());
+    }
+
     var report_typeDict = [[${@dict.getType('report_type')}]];
     var event_statusDict = [[${@dict.getType('event_status')}]];
     var reserveplan_levelDict = [[${@dict.getType('reserveplan_level')}]];
@@ -140,7 +147,10 @@
                 },*/
                 {
                     field: 'name',
-                    title: '事件名称'
+                    title: '事件名称',
+                    formatter: function(value, row, index) {
+                        return '<a href="javascript:void(0)" onclick="openDetailsDia(\'' + row.id + '\')">' + value + '</a>';
+                    }
                 },
                 {
                     field: 'reportType',

+ 1 - 1
mybusiness/src/main/resources/templates/business/visualization/details.html

@@ -79,7 +79,7 @@
                     </td>
                 </tr>
                 <tr>
-                    <td width="20%" >情信息:</td>
+                    <td width="20%" >情信息:</td>
                     <td>
                         [[${visualization_event.REPORT_CONTENT}]]
                     </td>