From 92941dccee9f6ac4722761f6aa12ce7b281f967c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 17 Mar 2021 13:41:18 +0800
Subject: [PATCH] 部分接口更改
---
public/map/widgets/realTimePolice/RealTimePolice.js | 14 ++--
public/map/popup/js/personnel-information-management.js | 2
public/map/popup/js/realtime-police-details.js | 12 ++--
public/map/widgets/aPoliceTeam/APoliceTeam.js | 36 ++++++------
public/map/popup/js/realtime-equipment-history.js | 2
public/map/popup/js/equipment-history.js | 2
public/map/popup/js/owner-details.js | 2
public/map/popup/js/police-details.js | 2
public/map/widgets/patrolManagement/PatrolManagement.js | 36 ++++++------
public/map/widgets/policeDispatching/PoliceDispatching.js | 36 ++++++------
public/map/popup/js/routename-and-peoplename.js | 2
public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js | 12 ++--
public/map/popup/js/route-name-layer.js | 2
public/map/popup/js/equipment-details.js | 2
public/map/widgets/alertSecurity/AlertSecurity.js | 4
public/map/popup/js/clientPopup.js | 4
public/map/index.html | 6 +-
17 files changed, 88 insertions(+), 88 deletions(-)
diff --git a/public/map/index.html b/public/map/index.html
index 8f218cd..34b3d78 100644
--- a/public/map/index.html
+++ b/public/map/index.html
@@ -6,9 +6,9 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<link rel="stylesheet" type="text/css"
- href="https://web.byisf.com/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" />
+ href="http://web.byisf.com:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" />
<link rel="stylesheet" type="text/css"
- href="https://web.byisf.com/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" />
+ href="http://web.byisf.com:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" />
<link rel="stylesheet" href="./lib/layui/css/layui.css" />
<link rel="stylesheet" href="./css/forestry-map.css" />
<link type="text/css" rel="stylesheet" href="framework.css" />
@@ -29,7 +29,7 @@
<script src="env.js"></script>
<script type="text/javascript"
- src="https://web.byisf.com/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script>
+ src="http://web.byisf.com:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script>
<script src='./lib/zTree_v3/js/jquery.ztree.all.js'></script>
<script>
var _framework = null;
diff --git a/public/map/popup/js/clientPopup.js b/public/map/popup/js/clientPopup.js
index 80098cd..b23d21d 100644
--- a/public/map/popup/js/clientPopup.js
+++ b/public/map/popup/js/clientPopup.js
@@ -31,7 +31,7 @@
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code,
type: 'GET',
dataType: 'JSON',
success: function (data) {
@@ -73,7 +73,7 @@
$("#client_bc").off("click").click(function () {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/updateClinent?',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/updateClinent?',
data: {
"id": code,
diff --git a/public/map/popup/js/equipment-details.js b/public/map/popup/js/equipment-details.js
index 3fed863..b538185 100644
--- a/public/map/popup/js/equipment-details.js
+++ b/public/map/popup/js/equipment-details.js
@@ -4,7 +4,7 @@
// 查看设备的详细信息
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code,
type: 'GET',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/equipment-history.js b/public/map/popup/js/equipment-history.js
index 0a2f16e..ffb7b8c 100644
--- a/public/map/popup/js/equipment-history.js
+++ b/public/map/popup/js/equipment-history.js
@@ -3,7 +3,7 @@
console.log(code, 1212121);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code,
type: 'POST',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/owner-details.js b/public/map/popup/js/owner-details.js
index 5c48c28..c6d4234 100644
--- a/public/map/popup/js/owner-details.js
+++ b/public/map/popup/js/owner-details.js
@@ -4,7 +4,7 @@
// 查看警情的详细信息
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/detail?id=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/suser/suser/detail?id=' + code,
type: 'GET',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/personnel-information-management.js b/public/map/popup/js/personnel-information-management.js
index ac2010b..c434edb 100644
--- a/public/map/popup/js/personnel-information-management.js
+++ b/public/map/popup/js/personnel-information-management.js
@@ -5,7 +5,7 @@
var viewVideoLayer = null;
// 查看保安人员的详细信息
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectInfo?snumber=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/security/security/selectInfo?snumber=' + code,
type: 'POST',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/police-details.js b/public/map/popup/js/police-details.js
index f5478ad..f9ed0c1 100644
--- a/public/map/popup/js/police-details.js
+++ b/public/map/popup/js/police-details.js
@@ -4,7 +4,7 @@
// 查看警情的详细信息
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code,
type: 'POST',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/realtime-equipment-history.js b/public/map/popup/js/realtime-equipment-history.js
index d6697e7..6cd16d1 100644
--- a/public/map/popup/js/realtime-equipment-history.js
+++ b/public/map/popup/js/realtime-equipment-history.js
@@ -3,7 +3,7 @@
console.log(code, 1212121);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code,
type: 'POST',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/realtime-police-details.js b/public/map/popup/js/realtime-police-details.js
index e555ea4..b459959 100644
--- a/public/map/popup/js/realtime-police-details.js
+++ b/public/map/popup/js/realtime-police-details.js
@@ -19,7 +19,7 @@
// 查看警情的详细信息
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -123,7 +123,7 @@
return
}
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/saves',
type: 'POST',
data: {
rName: result.rname,
@@ -205,7 +205,7 @@
$(this).addClass('on');
$.ajax({
- url: "https://web.byisf.com/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'),
+ url: "http://web.byisf.com:18001/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'),
type: "POST",
data: '12345',
dataType: 'JSON',
@@ -249,7 +249,7 @@
var getPCMBlob = recorder.getPCMBlob();
$.ajax({
- url: "https://web.byisf.com/talk",
+ url: "http://web.byisf.com:18001/talk",
type: 'POST',
data: {
PktType: URL.createObjectURL(getPCMBlob),
@@ -285,7 +285,7 @@
layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/deletejj',
type: 'POST',
data: {
id: id
@@ -320,7 +320,7 @@
function updateJType(id, czTime, bz, jjTime) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/updateJtype',
type: 'POST',
data: {
id: id,
diff --git a/public/map/popup/js/route-name-layer.js b/public/map/popup/js/route-name-layer.js
index 18e13c7..c209f5d 100644
--- a/public/map/popup/js/route-name-layer.js
+++ b/public/map/popup/js/route-name-layer.js
@@ -16,7 +16,7 @@
// 查看保安人员下拉
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/security/security/selectry',
type: 'GET',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/popup/js/routename-and-peoplename.js b/public/map/popup/js/routename-and-peoplename.js
index 837c565..3123769 100644
--- a/public/map/popup/js/routename-and-peoplename.js
+++ b/public/map/popup/js/routename-and-peoplename.js
@@ -27,7 +27,7 @@
// 查看保安人员下拉
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/security/security/selectry',
type: 'GET',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/widgets/aPoliceTeam/APoliceTeam.js b/public/map/widgets/aPoliceTeam/APoliceTeam.js
index 0cd3a67..7cb6720 100644
--- a/public/map/widgets/aPoliceTeam/APoliceTeam.js
+++ b/public/map/widgets/aPoliceTeam/APoliceTeam.js
@@ -256,7 +256,7 @@
$('.police-container-distribute-details .content table tbody').empty();
var str = '';
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -287,7 +287,7 @@
var str = '';
$('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/position/position/selectry',
type: 'POST',
data: {
coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -355,7 +355,7 @@
}
// 发送请求修改警单数据
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/updateInfo',
type: 'POST',
data: {
id: id,
@@ -394,7 +394,7 @@
var str = '';
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -757,7 +757,7 @@
if ($(this).index() == 1) {
$('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectqy',
type: 'GET',
dataType: 'JSON',
success: function (res) {
@@ -917,7 +917,7 @@
that.layuiLayer.msg('人员未更改!');
} else {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/duty/duty/updatedtInfo',
type: 'POST',
data: {
rid: routeId,
@@ -1007,7 +1007,7 @@
if (that.tabIndex == 1) {
if (that.patrolIndex == 1) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/insertlx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1023,7 +1023,7 @@
that.polygonData = [];
that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), '');
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/duty/duty/insertduty',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1048,7 +1048,7 @@
// that.pepleRealId = pepleRealId;
} else {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/insterqy',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1067,7 +1067,7 @@
}
} else if (that.tabIndex == 2) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/insertes',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1105,7 +1105,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: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/district/district/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1461,7 +1461,7 @@
dom.empty();
var that = this;
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1524,7 +1524,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1568,7 +1568,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1610,7 +1610,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/security/security/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1841,7 +1841,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/updatelx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1889,7 +1889,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/updateqy',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1945,7 +1945,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/updatee',
type: 'POST',
dataType: 'JSON',
data: {
diff --git a/public/map/widgets/alertSecurity/AlertSecurity.js b/public/map/widgets/alertSecurity/AlertSecurity.js
index 4123c68..368639c 100644
--- a/public/map/widgets/alertSecurity/AlertSecurity.js
+++ b/public/map/widgets/alertSecurity/AlertSecurity.js
@@ -203,7 +203,7 @@
var lttd = that.getQueryStringByKey('wd');
$.ajax({
- url: "https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/detail?id=" + openid,
+ url: "http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/detail?id=" + openid,
type: 'get',
dataType: 'JSON',
success: function (data) {
@@ -212,7 +212,7 @@
})
$.ajax({
- url: "https://web.byisf.com/api/blade-jfpts/position/position/selectfj",
+ url: "http://web.byisf.com:18001/api/blade-jfpts/position/position/selectfj",
type: 'POST',
dataType: 'JSON',
data: {
diff --git a/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js b/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
index 60487bf..259390b 100644
--- a/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
+++ b/public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js
@@ -661,7 +661,7 @@
dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>"));
var that = this;
$.ajax({
- url: 'https://web.byisf.com/api/blade-system/region/select?code=3601',
+ url: 'http://web.byisf.com:18001/api/blade-system/region/select?code=3601',
type: 'GET',
dataType: 'JSON',
success: function (data) {
@@ -684,7 +684,7 @@
dom.empty();
var that = this;
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -739,7 +739,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:18001/api/blade-jfpts/lx/lx/seleclx',
type: 'GET',
dataType: 'JSON',
success: function (data) {
@@ -755,7 +755,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:18001/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers,
type: 'GET',
dataType: 'JSON',
success: function (data) {
@@ -771,7 +771,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:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj,
type: 'GET',
dataType: 'JSON',
success: function (data) {
@@ -807,7 +807,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:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType,
type: 'GET',
dataType: 'JSON',
success: function (data) {
diff --git a/public/map/widgets/patrolManagement/PatrolManagement.js b/public/map/widgets/patrolManagement/PatrolManagement.js
index df7a95b..0c565f2 100644
--- a/public/map/widgets/patrolManagement/PatrolManagement.js
+++ b/public/map/widgets/patrolManagement/PatrolManagement.js
@@ -256,7 +256,7 @@
$('.police-container-distribute-details .content table tbody').empty();
var str = '';
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -287,7 +287,7 @@
var str = '';
$('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/position/position/selectry',
type: 'POST',
data: {
coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -355,7 +355,7 @@
}
// 发送请求修改警单数据
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/updateInfo',
type: 'POST',
data: {
id: id,
@@ -394,7 +394,7 @@
var str = '';
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -757,7 +757,7 @@
if ($(this).index() == 1) {
$('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectqy',
type: 'GET',
dataType: 'JSON',
success: function (res) {
@@ -917,7 +917,7 @@
that.layuiLayer.msg('人员未更改!');
} else {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/duty/duty/updatedtInfo',
type: 'POST',
data: {
rid: routeId,
@@ -1007,7 +1007,7 @@
if (that.tabIndex == 1) {
if (that.patrolIndex == 1) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/insertlx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1023,7 +1023,7 @@
that.polygonData = [];
that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), '');
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/duty/duty/insertduty',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1048,7 +1048,7 @@
// that.pepleRealId = pepleRealId;
} else {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/insterqy',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1067,7 +1067,7 @@
}
} else if (that.tabIndex == 2) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/insertes',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1105,7 +1105,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: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/district/district/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1465,7 +1465,7 @@
dom.empty();
var that = this;
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1528,7 +1528,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1572,7 +1572,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1614,7 +1614,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/security/security/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1845,7 +1845,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/updatelx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1893,7 +1893,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/updateqy',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1949,7 +1949,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/updatee',
type: 'POST',
dataType: 'JSON',
data: {
diff --git a/public/map/widgets/policeDispatching/PoliceDispatching.js b/public/map/widgets/policeDispatching/PoliceDispatching.js
index 96223cc..65e1395 100644
--- a/public/map/widgets/policeDispatching/PoliceDispatching.js
+++ b/public/map/widgets/policeDispatching/PoliceDispatching.js
@@ -256,7 +256,7 @@
$('.police-container-distribute-details .content table tbody').empty();
var str = '';
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -287,7 +287,7 @@
var str = '';
$('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/position/position/selectry',
type: 'POST',
data: {
coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -355,7 +355,7 @@
}
// 发送请求修改警单数据
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/updateInfo',
type: 'POST',
data: {
id: id,
@@ -394,7 +394,7 @@
var str = '';
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -757,7 +757,7 @@
if ($(this).index() == 1) {
$('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectqy',
type: 'GET',
dataType: 'JSON',
success: function (res) {
@@ -917,7 +917,7 @@
that.layuiLayer.msg('人员未更改!');
} else {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/duty/duty/updatedtInfo',
type: 'POST',
data: {
rid: routeId,
@@ -1007,7 +1007,7 @@
if (that.tabIndex == 1) {
if (that.patrolIndex == 1) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/insertlx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1023,7 +1023,7 @@
that.polygonData = [];
that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), '');
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/duty/duty/insertduty',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1048,7 +1048,7 @@
// that.pepleRealId = pepleRealId;
} else {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/insterqy',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1067,7 +1067,7 @@
}
} else if (that.tabIndex == 2) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/insertes',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1105,7 +1105,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: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/district/district/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1458,7 +1458,7 @@
dom.empty();
var that = this;
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1521,7 +1521,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1565,7 +1565,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/selectList',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1607,7 +1607,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/security/security/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1838,7 +1838,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/updatelx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1886,7 +1886,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/regions/regions/updateqy',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1942,7 +1942,7 @@
dataStr = dataStr.substring(0, dataStr.length - 1);
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/updatee',
type: 'POST',
dataType: 'JSON',
data: {
diff --git a/public/map/widgets/realTimePolice/RealTimePolice.js b/public/map/widgets/realTimePolice/RealTimePolice.js
index 205bc08..f16b2f0 100644
--- a/public/map/widgets/realTimePolice/RealTimePolice.js
+++ b/public/map/widgets/realTimePolice/RealTimePolice.js
@@ -474,7 +474,7 @@
}
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/saves',
type: 'POST',
data: {
rName: $(_self).data('rname'),
@@ -586,7 +586,7 @@
// 行政区
// $.ajax({
- // url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList',
+ // url: 'http://web.byisf.com:18001/api/blade-jfpts/district/district/selectList',
// type: 'POST',
// dataType: 'JSON',
// success: function (data) {
@@ -603,7 +603,7 @@
// // 警情类型下拉
// $.ajax({
- // url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectScount',
+ // url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selectScount',
// type: 'GET',
// dataType: 'JSON',
// success: function (data) {
@@ -633,7 +633,7 @@
that.updateRealTable = table.render({
elem: '#real_time_table'
, height: (layerTabHei - 20)
- , url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectList' //数据接口
+ , url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selectList' //数据接口
, method: "post"
, where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime }
, parseData: function (res) { //res 即为原始返回的数据
@@ -1049,7 +1049,7 @@
that.realTimeQuery = setInterval(function () {
if (that.historyPoliceId != null) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selecttx',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selecttx',
type: 'POST',
dataType: 'JSON',
data: {
@@ -1340,7 +1340,7 @@
layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/deletejj',
type: 'POST',
data: {
id: id
@@ -1443,7 +1443,7 @@
updateJType: function (id, czTime, bz, jjTime) {
$.ajax({
- url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype',
+ url: 'http://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/updateJtype',
type: 'POST',
data: {
id: id,
--
Gitblit v1.9.3