From 7b94ecb73a12f8804191966da512dc2943225564 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 02 Feb 2021 17:15:21 +0800
Subject: [PATCH] 警情调度与分析研判相关接口,样式调整
---
public/map/widgets/aPoliceTeam/APoliceTeam.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/public/map/widgets/aPoliceTeam/APoliceTeam.js b/public/map/widgets/aPoliceTeam/APoliceTeam.js
index 2eeade3..85722b1 100644
--- a/public/map/widgets/aPoliceTeam/APoliceTeam.js
+++ b/public/map/widgets/aPoliceTeam/APoliceTeam.js
@@ -709,7 +709,7 @@
that._map.centerAndZoom(position, 18);//缩放,10是缩放级别,可以自定义,数值越大缩放越大
- var snumber = $(this).attr('term-id');
+ var snumber = $(this).attr('term-snumber');
var url = './popup/html/personnel-information-management.html?id=' + snumber;
layui.use('layer', function () {
@@ -1136,7 +1136,7 @@
});
});
- that.getPoliceTable($('.police-container-distribute').find('.tbody tbody'), $('#dispatchingStartTime').val(), $('#dispatchingEndTime').val(), '', '', '');
+ // that.getPoliceTable($('.police-container-distribute').find('.tbody tbody'), $('#dispatchingStartTime').val(), $('#dispatchingEndTime').val(), '', '', '');
that.clickHand();
@@ -1610,7 +1610,7 @@
that.currentDrawing = [];
that.entityPolygonAll.clear();
$.ajax({
- url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectList',
+ url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/security/security/selectList',
type: 'POST',
dataType: 'JSON',
success: function (data) {
@@ -1634,10 +1634,10 @@
entityData = result[i].coordinate.match(/\(([^)]*)\)/);
a = Number(i) + 1;
- str += "<tr term-id=" + result[i].id + " lgtd=" + result[i].jd + " lttd=" + result[i].wd + ">";
+ str += "<tr term-snumber=" + result[i].snumber + " lgtd=" + result[i].jd + " lttd=" + result[i].wd + ">";
str += '<td>' + a + '</td>';
- str += '<td title=' + result[i].code + '>' + result[i].code + '</td>';
- str += '<td title=' + result[i].realName + '>' + result[i].realName + '</td>';
+ str += '<td title=' + result[i].snumber + '>' + result[i].snumber + '</td>';
+ str += '<td title=' + result[i].sname + '>' + result[i].sname + '</td>';
str += '<td title=' + result[i].phone + '>' + result[i].phone + '</td>';
str += "<td> <input type='button' value='编辑' resultid=" + result[i].id + "> </td>";
str += '</tr>';
--
Gitblit v1.9.3