zengh
2021-08-09 ee4e0076832e55cf23b41bdf0426e11e26bb8a5c
public/map/widgets/patrolManagement/PatrolManagement01.js
@@ -264,7 +264,7 @@
        $('.police-container-distribute-details .content table tbody').empty();
        var str = '';
        $.ajax({
          url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          type: 'POST',
          dataType: 'JSON',
          success: function (data) {
@@ -295,7 +295,7 @@
                  var str = '';
                  $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
                  $.ajax({
                    url: 'http://s16s652780.51mypc.cn/api/position/position/selectry',
                    url: 'http://223.82.109.183:2082/api/position/position/selectry',
                    type: 'POST',
                    data: {
                      coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -363,7 +363,7 @@
          }
          // 发送请求修改警单数据
          $.ajax({
            url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo',
            url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo',
            type: 'POST',
            data: {
              id: id,
@@ -402,7 +402,7 @@
        var str = '';
        $.ajax({
          url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          type: 'POST',
          dataType: 'JSON',
          success: function (data) {
@@ -769,7 +769,7 @@
        if ($(this).index() == 1) {
          $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
          $.ajax({
            url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectqy',
            url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
            type: 'GET',
            dataType: 'JSON',
            success: function (res) {
@@ -932,7 +932,7 @@
                  $.ajax({
                    url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo',
                    url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo',
                    type: 'POST',
                    data: {
                      rid: routeId,
@@ -1024,7 +1024,7 @@
            if (that.tabIndex == 1) {
              if (that.patrolIndex == 1) {
                $.ajax({
                  url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx',
                  url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx',
                  type: 'POST',
                  dataType: 'JSON',
                  data: {
@@ -1040,7 +1040,7 @@
                      that.polygonData = [];
                      that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), '');
                      $.ajax({
                        url: 'http://s16s652780.51mypc.cn/api/duty/duty/insertduty',
                        url: 'http://223.82.109.183:2082/api/duty/duty/insertduty',
                        type: 'POST',
                        dataType: 'JSON',
                        data: {
@@ -1064,7 +1064,7 @@
                // that.pepleRealId = pepleRealId;
              } else {
                $.ajax({
                  url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy',
                  url: 'http://223.82.109.183:2082/api/regions/regions/insterqy',
                  type: 'POST',
                  dataType: 'JSON',
                  data: {
@@ -1083,7 +1083,7 @@
              }
            } else if (that.tabIndex == 2) {
              $.ajax({
                url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes',
                url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1115,7 +1115,7 @@
      // $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
      // $.ajax({
      //     url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectqy',
      //     url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
      //     type: 'GET',
      //     dataType: 'JSON',
      //     success: function (res) {
@@ -1148,7 +1148,7 @@
      $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>");
      $.ajax({
        url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectqy',
        url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
        type: 'GET',
        dataType: 'JSON',
        success: function (res) {
@@ -1161,7 +1161,7 @@
      })
      that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .main-content>li:eq(1) .table .tbody tbody'), '');
      // $.ajax({
      //     url: 'http://s16s652780.51mypc.cn/api/district/district/selectList',
      //     url: 'http://223.82.109.183:2082/api/district/district/selectList',
      //     type: 'POST',
      //     dataType: 'JSON',
      //     success: function (data) {
@@ -1521,7 +1521,7 @@
      dom.empty();
      var that = this;
      $.ajax({
        url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList',
        url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -1584,7 +1584,7 @@
      that.currentDrawing = [];
      that.entityPolygonAll.clear();
      $.ajax({
        url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList',
        url: 'http://223.82.109.183:2082/api/regions/regions/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -1628,7 +1628,7 @@
      that.currentDrawing = [];
      that.entityPolygonAll.clear();
      $.ajax({
        url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList',
        url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -1670,7 +1670,7 @@
      that.currentDrawing = [];
      that.entityPolygonAll.clear();
      $.ajax({
        url: 'http://s16s652780.51mypc.cn/api/security/security/selectList',
        url: 'http://223.82.109.183:2082/api/security/security/selectList',
        type: 'POST',
        dataType: 'JSON',
        success: function (data) {
@@ -1905,7 +1905,7 @@
          dataStr = dataStr.substring(0, dataStr.length - 1);
          $.ajax({
            url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx',
            url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx',
            type: 'POST',
            dataType: 'JSON',
            data: {
@@ -1953,7 +1953,7 @@
          dataStr = dataStr.substring(0, dataStr.length - 1);
          $.ajax({
            url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy',
            url: 'http://223.82.109.183:2082/api/regions/regions/updateqy',
            type: 'POST',
            dataType: 'JSON',
            data: {
@@ -2009,7 +2009,7 @@
        dataStr = dataStr.substring(0, dataStr.length - 1);
        $.ajax({
          url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee',
          url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee',
          type: 'POST',
          dataType: 'JSON',
          data: {