南昌市物联网技防平台-前端
shuishen
2021-03-13 67e458c2fd0f2515ae12a2b2d50371e1211ad936
public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
@@ -663,13 +663,13 @@
            dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>"));
            var that = this;
            $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectd',
                url: 'http://web.byisf.com/api/blade-system/region/select?code=3601',
                type: 'GET',
                dataType: 'JSON',
                success: function (data) {
                    var res = data.data;
                    for (var i = 0; i < res.length; i++) {
                        dom.children('.select-list').children('ul').append($("<li areaid=" + res[i].addvcds + ">" + res[i].addvnm + "</li>"));
                        dom.children('.select-list').children('ul').append($("<li areaid=" + res[i].code + ">" + res[i].name + "</li>"));
                    }
                }
            })
@@ -686,14 +686,14 @@
            dom.empty();
            var that = this;
            $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
                url: 'http://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
                    beginTime: beginTime,
                    endTime: endTime,
                    waringType: waringType,
                    addvcd: addvcd,
                    district: addvcd,
                    type: ''
                },
                success: function (data) {
@@ -741,7 +741,7 @@
            dom.children('.select-list').children('ul').empty();
            dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>"));
            $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/lx/lx/seleclx',
                url: 'http://web.byisf.com/api/blade-jfpts/lx/lx/seleclx',
                type: 'GET',
                dataType: 'JSON',
                success: function (data) {
@@ -757,7 +757,7 @@
            dom.children('.select-list').children('ul').empty();
            dom.children('.select-list').children('ul').append($("<li>全部</li>"));
            $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers,
                url: 'http://web.byisf.com/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers,
                type: 'GET',
                dataType: 'JSON',
                success: function (data) {
@@ -773,7 +773,7 @@
            dom.empty();
            var that = this;
            $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj,
                url: 'http://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj,
                type: 'GET',
                dataType: 'JSON',
                success: function (data) {
@@ -809,7 +809,7 @@
            dom.empty();
            var that = this;
            $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType,
                url: 'http://web.byisf.com/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType,
                type: 'GET',
                dataType: 'JSON',
                success: function (data) {