From 67e458c2fd0f2515ae12a2b2d50371e1211ad936 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 13 Mar 2021 17:09:45 +0800
Subject: [PATCH] 部分接口调整,样式调整,警情分发调整
---
public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js b/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
index 0ddc52d..b1fd5c3 100644
--- a/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
+++ b/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) {
--
Gitblit v1.9.3