| | |
| | | .personnel-information-management { |
| | | background: transparent; |
| | | border-radius: 10px; |
| | | } |
| | | |
| | | .personnel-information-management .layui-layer-title { |
| | | padding: 0 80px; |
| | | text-align: center; |
| | | background: rgba(12, 25, 49, 0.8); |
| | | background: #fff; |
| | | border: none; |
| | | color: #fff; |
| | | color: #677788; |
| | | font-size: 20px; |
| | | } |
| | | |
| | | .personnel-information-management .layui-layer-setwin .layui-layer-close1 { |
| | | background-position: -80px -40px; |
| | | border-radius: 10px 10px 0 0; |
| | | } |
| | | |
| | | .personnel-information-management .layui-layer-content { |
| | | background: rgba(12, 25, 49, 0.8); |
| | | |
| | | background: #fff; |
| | | border-radius: 0 0 10px 10px; |
| | | } |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectInfo?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | result = data.data[0]; |
| | | |
| | | str += "<tr> <td>人员名称:</td> <td>" + result.realName + "</td> </tr>"; |
| | | str += "<tr> <td>人员名称:</td> <td>" + result.sname + "</td> </tr>"; |
| | | str += "<tr> <td>联系电话:</td> <td>" + result.phone + "</td> </tr>"; |
| | | str += "<tr> <td>性别:</td> <td>" + (result.sex == 1 ? '女' : '男') + "</td> </tr>"; |
| | | str += "<tr> <td>是否出警:</td> <td>" + (result.type == 1 ? '是' : '否') + "</td> </tr>"; |
| | |
| | | width: 100%; |
| | | height: 100%; |
| | | box-sizing: border-box; |
| | | color: #fff; |
| | | color:#677788; |
| | | } |
| | | |
| | | .personnel-information-management-box table { |
| | |
| | | .personnel-information-management-box table td { |
| | | flex: 1; |
| | | padding: 0 10px; |
| | | border: 1px solid rgb(255, 255, 255); |
| | | border: 1px solid rgba(231, 234, 243, 0.7); |
| | | width: 25%; |
| | | height: auto !important; |
| | | line-height: 36px; |
| | |
| | | |
| | | 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 () { |
| | |
| | | }); |
| | | }); |
| | | |
| | | 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(); |
| | | |
| | | |
| | |
| | | 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) { |
| | |
| | | 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>'; |
| | |
| | | beginTime: beginTime, |
| | | endTime: endTime, |
| | | waringType: waringType, |
| | | addvcd: addvcd |
| | | addvcd: addvcd, |
| | | type: '' |
| | | }, |
| | | success: function (data) { |
| | | var result = data.data; |
| | | var str = ''; |
| | | var lgtdOrLttd = null; |
| | | that.entitysData = []; |
| | | that.analysisAddEntitys.clear(); |
| | | for (var a, time, t, e, y, h, i = 0; i < result.length; i++) { |
| | |
| | | success: function (data) { |
| | | var result = data.data; |
| | | var str = ''; |
| | | var lgtdOrLttd = null; |
| | | that.entitysData = []; |
| | | that.analysisAddEntitys.clear(); |
| | | for (var a, i = 0; i < result.length; i++) { |
| | | |
| | | lgtdOrLttd = result[i].coordinate.substring(6, result[i].coordinate.length - 1).split(' '); |
| | | that.createEntitysAnalysis(that.analysisAddEntitys, that.entitysData, '业主信息', { |
| | | lgtd: lgtdOrLttd[0], |
| | | lttd: lgtdOrLttd[1], |
| | | lgtd: result[i].jd, |
| | | lttd: result[i].wd, |
| | | id: result[i].id |
| | | }, lgtdOrLttd[0], lgtdOrLttd[1], './images/owner.png'); |
| | | }, result[i].jd, result[i].wd, './images/owner.png'); |
| | | |
| | | a = Number(i) + 1; |
| | | str += "<tr term-list=" + result[i].id + ">"; |
| | |
| | | str += '<td>' + result[i].type + '</td>'; |
| | | str += '<td>' + result[i].dj + '</td>'; |
| | | str += '<td>' + result[i].yname + '</td>'; |
| | | str += "<td class='location'> <input type='button' value='定位'" + ' lgtd=' + lgtdOrLttd[0] + ' lttd=' + lgtdOrLttd[1] + "></td>"; |
| | | str += "<td class='location'> <input type='button' value='定位'" + ' lgtd=' + result[i].jd + ' lttd=' + result[i].wd + "></td>"; |
| | | str += '</tr>'; |
| | | dom.append(str); |
| | | str = ''; |
| | |
| | | success: function (data) { |
| | | var result = data.data; |
| | | var str = ''; |
| | | var lgtdOrLttd = null; |
| | | that.entitysData = []; |
| | | that.analysisAddEntitys.clear(); |
| | | for (var a, i = 0; i < result.length; i++) { |
| | | |
| | | lgtdOrLttd = result[i].coordinate.substring(6, result[i].coordinate.length - 1).split(' '); |
| | | |
| | | that.createEntitysAnalysis(that.analysisAddEntitys, that.entitysData, '设备信息', { |
| | | lgtd: lgtdOrLttd[0], |
| | | lttd: lgtdOrLttd[1], |
| | | lgtd: result[i].jd, |
| | | lttd: result[i].wd, |
| | | id: result[i].id |
| | | }, lgtdOrLttd[0], lgtdOrLttd[1], './images/ceshi.png'); |
| | | }, result[i].jd, result[i].wd, './images/ceshi.png'); |
| | | |
| | | a = Number(i) + 1; |
| | | str += "<tr term-listid=" + result[i].id + ">"; |
| | |
| | | str += '<td title=' + result[i].deviceName + '>' + result[i].deviceName + '</td>'; |
| | | str += '<td title=' + result[i].deviceType + '>' + result[i].deviceType + '</td>'; |
| | | str += '<td>' + result[i].deviceNumber + '</td>'; |
| | | str += "<td class='location'> <input type='button' value='定位'" + ' lgtd=' + lgtdOrLttd[0] + ' lttd=' + lgtdOrLttd[1] + "></td>"; |
| | | str += "<td class='location'> <input type='button' value='定位'" + ' lgtd=' + result[i].jd + ' lttd=' + result[i].wd + "></td>"; |
| | | str += '</tr>'; |
| | | dom.append(str); |
| | | str = ''; |
| | |
| | | |
| | | 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 () { |
| | |
| | | }); |
| | | }); |
| | | |
| | | 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(); |
| | | |
| | | |
| | |
| | | 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) { |
| | |
| | | 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=" + 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>'; |
| | |
| | | |
| | | 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 () { |
| | |
| | | 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) { |
| | |
| | | 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=" + 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>'; |