yf_zd 5 лет назад
Родитель
Сommit
575aa90f11

+ 2 - 2
templates/backstageNet/infoList/myPub.html

@@ -335,10 +335,10 @@
         }
 
         // 删除
-        function delFun(id) {
+        function delFun(url,id) {
             layer.confirm('真的删除行么',{title:'删除'}, function (index) {
                 $.ajax({
-                    url: 'news_check',
+                    url: url,
                     type: 'post',
                     data: {
                         id: id,

+ 1 - 1
templates/backstageNet/infoList/myPubList.html

@@ -31,7 +31,7 @@
                 <td>空</td>
             {% endif %} 
             <td>
-                <a href="JavaScript:;" class="delBtn" onclick="delFun('{{msg.id}}')">删除</a>
+                <a href="JavaScript:;" class="delBtn" onclick="delFun('news_check','{{msg.id}}')">删除</a>
                 |
             {% if type == '5' %}
                 <a href="news_view?id={{msg.id}}" target="_blank" class="lokBtn">查看</a>

+ 12 - 0
templates/backstageNet/map/map.html

@@ -179,7 +179,19 @@
     // 添加设备
     var WeatherstationMarker = [];//气象站
     var CameraMarker = [];//摄像头
+
     GetMonitorMark(1);
+    function getData(){
+        $.ajax({
+            url:'',
+            type:'post',
+            data:'',
+            dataType:'json',
+            success:function(data){
+                
+            }
+        })
+    }
 
     //监测数据
     function GetMonitorMark(ShowStatus) {

+ 6 - 0
templates/static/js/limit/limit.js

@@ -277,6 +277,12 @@ var navList = [
                 "title": "地图设置",
                 "url": "setMap",
                 "disabled": "true",
+            },
+            {
+                "id": 13.3,
+                "title": "合作伙伴",
+                "url": "add_relation",
+                "disabled": "true",
             }
         ]
     },