From fb871f8d051b69735907d609e4ffc4b3da28fca7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 17 Mar 2021 10:46:38 +0800
Subject: [PATCH] 部分接口协议,端口,域名更换,实时报警中得实时警情弹框和警情核实弹框样式更改
---
public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js | 30 ++++++++++++++----------------
1 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js b/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
index c51d038..259390b 100644
--- a/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
+++ b/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
@@ -1,5 +1,5 @@
/*
- * @Description:
+ * @Description:
* @Version: 1.0
* @Author: yangsx
* @Date: 2019-12-09 19:01:40
@@ -205,14 +205,12 @@
});
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('');
}
}
@@ -663,13 +661,13 @@
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>"));
}
}
})
@@ -686,14 +684,14 @@
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) {
@@ -710,11 +708,11 @@
}, 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>';
@@ -741,7 +739,7 @@
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) {
@@ -757,7 +755,7 @@
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) {
@@ -773,7 +771,7 @@
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) {
@@ -809,7 +807,7 @@
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) {
--
Gitblit v1.9.3