From 89daea1b369ed1fac6edca0e9a5ec32e6c7f0df4 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 23 Jun 2021 10:15:33 +0800
Subject: [PATCH] 名称修改

---
 public/map/widgets/supervisoryMap/SupervisoryMap.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/public/map/widgets/supervisoryMap/SupervisoryMap.js b/public/map/widgets/supervisoryMap/SupervisoryMap.js
index b62b745..7bea9f9 100644
--- a/public/map/widgets/supervisoryMap/SupervisoryMap.js
+++ b/public/map/widgets/supervisoryMap/SupervisoryMap.js
@@ -206,7 +206,7 @@
         open: function() {
             var that = this;
             $.ajax({
-                url: "/api/blade-jfpts/equipment/equipment/listAll",
+                url: "/api/equipment/equipment/listAll",
                 type: 'get',
                 dataType: 'JSON',
                 success: function(res) {
@@ -828,7 +828,7 @@
             dom.empty(); //警情信息
             var that = this;
             $.ajax({
-                url: "/api/blade-jfpts/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" + endTime + "&province=36&city=3601&district=" + addvcd,
+                url: "/api/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" + endTime + "&province=36&city=3601&district=" + addvcd,
                 type: 'get',
                 dataType: 'JSON',
                 success: function(data) {
@@ -920,7 +920,7 @@
             dom.children('.select-list').children('ul').empty();
             dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>"));
             $.ajax({
-                url: '/api/blade-jfpts/lx/lx/seleclx',
+                url: '/api/lx/lx/seleclx',
                 type: 'GET',
                 dataType: 'JSON',
                 success: function(data) {
@@ -936,7 +936,7 @@
             dom.children('.select-list').children('ul').empty();
             dom.children('.select-list').children('ul').append($("<li>全部</li>"));
             // $.ajax({
-            //   url: '/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers,
+            //   url: '/api/dj/dj/selectName?tnumbers=' + tnumbers,
             //   type: 'GET',
             //   dataType: 'JSON',
             //   success: function (data) {
@@ -1073,7 +1073,7 @@
             // dom.append(str)
 
             $.ajax({
-                url: '/api/blade-jfpts/equipment/equipment/listAll?deviceType=' + deviceType,
+                url: '/api/equipment/equipment/listAll?deviceType=' + deviceType,
                 type: 'GET',
                 dataType: 'JSON',
                 success: function(data) {
@@ -1469,4 +1469,4 @@
         }
     });
     return Widget;
-});
\ No newline at end of file
+});

--
Gitblit v1.9.3