zengh
2021-08-09 ee4e0076832e55cf23b41bdf0426e11e26bb8a5c
public/map/widgets/patrolManagement/PatrolManagement_copy.js
@@ -284,7 +284,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) {
@@ -315,7 +315,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') + ")"
@@ -383,7 +383,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,
@@ -422,7 +422,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) {
@@ -785,7 +785,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) {
@@ -945,7 +945,7 @@
                                    that.layuiLayer.msg('人员未更改!');
                                } else {
                                    $.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,
@@ -1035,7 +1035,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: {
@@ -1051,7 +1051,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: {
@@ -1076,7 +1076,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: {
@@ -1095,7 +1095,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: {
@@ -1133,7 +1133,7 @@
            $('.police-dispatching .police-container .distribute-district .select-list ul').empty();
            $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>");
            $.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) {
@@ -1493,7 +1493,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: {
@@ -1556,7 +1556,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: {
@@ -1600,7 +1600,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: {
@@ -1642,7 +1642,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) {
@@ -1873,7 +1873,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: {
@@ -1921,7 +1921,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: {
@@ -1977,7 +1977,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: {
@@ -2068,4 +2068,4 @@
    });
    return Widget;
});
});