| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | }); |
| | | return; |
| | | } else { |
| | | |
| | | |
| | | var text = $('#policeCategory div:eq(0)').text().trim(); |
| | | |
| | | var levelText = $('#policeArea > div:eq(0)').text().trim() == '全部' ? '' : $('#policeArea > div:eq(0)').attr('areaid'); |
| | | that.getPoliceTableAnalysis($('.analysis-container-police').find('.tbody tbody'), startTime, endTime, text == '全部' ? '' : text, levelText); |
| | | |
| | | $(times[2]).val(''); |
| | | $(times[0]).val(''); |
| | | } |
| | | |
| | | } |
| | |
| | | dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>")); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectd', |
| | | url: 'http://web.byisf.com:18001/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>")); |
| | | } |
| | | } |
| | | }) |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://web.byisf.com:18001/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) { |
| | |
| | | }, result[i].jd, result[i].wd, './images/police-situation.png'); |
| | | |
| | | |
| | | t = result[i].handleTime.substr(0, 10); |
| | | e = result[i].handleTime.substr(11); |
| | | t = result[i].galarmTime.substr(0, 10); |
| | | e = result[i].galarmTime.substr(11); |
| | | time = t + ' ' + e; |
| | | y = result[i].handleTime.substr(5, 5); |
| | | h = result[i].handleTime.substr(11, 5); |
| | | y = result[i].galarmTime.substr(5, 5); |
| | | h = result[i].galarmTime.substr(11, 5); |
| | | a = Number(i) + 1; |
| | | str += '<tr term-list=' + result[i].id + '>'; |
| | | str += '<td>' + a + '</td>'; |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/lx/lx/seleclx', |
| | | url: 'http://web.byisf.com:18001/api/blade-jfpts/lx/lx/seleclx', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li>全部</li>")); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'http://web.byisf.com:18001/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://web.byisf.com:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |