Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue
| | |
| | | * @Author: yangsx |
| | | * @Date: 2019-11-28 09:50:16 |
| | | * @LastEditors: song |
| | | * @LastEditTime: 2021-01-07 17:26:37 |
| | | * @LastEditTime: 2021-01-29 16:25:05 |
| | | --> |
| | | <!DOCTYPE html> |
| | | <html lang="zh"> |
| | |
| | | <meta http-equiv="X-UA-Compatible" content="ie=edge" /> |
| | | <title>Document</title> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="http://www.jxgis.cn:8080/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | href="https://s16s652780.51mypc.cn/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="http://www.jxgis.cn:8080/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | href="https://s16s652780.51mypc.cn/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" /> |
| | |
| | | <script src="env.js"></script> |
| | | |
| | | <script type="text/javascript" |
| | | src="http://www.jxgis.cn:8080/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | src="https://s16s652780.51mypc.cn/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; |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/detail?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/updateClinent?', |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/detail?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/suser/suser/detail?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/blade-user/selectInfo?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/saves', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/deletejj', |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/updateJtype', |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/blade-user/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/blade-user/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/position/position/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/updateInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/selectqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/duty/duty/updatedtInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/insertlx', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/duty/duty/insertduty', |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/insterqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/enclosure/enclosure/insertes', |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.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://s16s652780.51mypc.cn/api/jfpt/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/blade-user/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/updatelx', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/updateqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/enclosure/enclosure/updatee', |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>")); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/district/district/selectd', |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectd', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/lx/lx/seleclx', |
| | | url: 'https://s16s652780.51mypc.cn/api/lx/lx/seleclx', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'https://s16s652780.51mypc.cn/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://s16s652780.51mypc.cn/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://s16s652780.51mypc.cn/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client-all-deploy").off('click').click(function () { |
| | | var nodes = that.zTree.getSelectedNodes(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/netty/netty/selectNettyChannelb', |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelb', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | $("#client-all-retreat").off('click').click(function () { |
| | | var nodes = that.zTree.getSelectedNodes(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/netty/netty/selectNettyChannelc', |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelc', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | ]; |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/catalogs/catalogs/catalogList', |
| | | url: 'https://s16s652780.51mypc.cn/api/catalogs/catalogs/catalogList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | }); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | break; |
| | | case 'deploy': //布防 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/netty/netty/selectNettyChannelOb', |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelOb', |
| | | data: { |
| | | deviceNumber: obj.data.deviceNumber, |
| | | ID: obj.data.id |
| | |
| | | break; |
| | | case 'retreat': //撤防 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/netty/netty/selectNettyChannelOc', |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelOc', |
| | | data: { |
| | | deviceNumber: obj.data.deviceNumber, |
| | | ID: obj.data.id |
| | |
| | | var that = this; |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/page', |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/page', |
| | | data: { |
| | | pid: pid |
| | | }, |
| | |
| | | |
| | | //获取四个查询条件 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/equipment/equipment/page', |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/page', |
| | | data: where, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/position/position/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/updateInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/selectqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/duty/duty/updatedtInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/insertlx', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/duty/duty/insertduty', |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/insterqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/enclosure/enclosure/insertes', |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.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://s16s652780.51mypc.cn/api/jfpt/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/blade-user/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/updatelx', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/updateqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/enclosure/enclosure/updatee', |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/position/position/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/updateInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/selectqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/duty/duty/updatedtInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/insertlx', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/duty/duty/insertduty', |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/insterqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/enclosure/enclosure/insertes', |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.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://s16s652780.51mypc.cn/api/jfpt/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/blade-user/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/routeIn/routein/updatelx', |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/regions/regions/updateqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/enclosure/enclosure/updatee', |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/jingdan/jingdan/saves', |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 警情类型下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/selectScount', |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selectScount', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | that.updateRealTable = table.render({ |
| | | elem: '#real_time_table' |
| | | , height: (layerTabHei - 20) |
| | | , url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/selectList' //数据接口 |
| | | , url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selectList' //数据接口 |
| | | , method: "post" |
| | | , where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime } |
| | | , parseData: function (res) { //res 即为原始返回的数据 |
| | |
| | | that.realTimeQuery = setInterval(function () { |
| | | if (that.historyPoliceId != null) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/selecttx', |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/deletejj', |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jfpt/alarm/alarm/updateJtype', |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | import request from '@/router/axios'; |
| | | import Message from "element-ui/packages/message/src/main"; |
| | | |
| | | export const getList = (current, size, params) => { |
| | | return request({ |
| | |
| | | } |
| | | // 封装api get请求 |
| | | export const fetch = (path, params) => { |
| | | let axios; |
| | | return axios.get(path, {params: params}).then(res => { |
| | | if (res.data.code === 403) { |
| | | let router; |
| | | router.push({ |
| | | path: '/' |
| | | }); |
| | |
| | | return Promise.reject(err); |
| | | }) |
| | | } |
| | | |
| | |
| | | var z = document.querySelector('.z'); |
| | | z.style.display = 'none'; |
| | | this.clearValidate('loginForm') |
| | | this.clearValidate('loginForm') |
| | | }, |
| | | gb() { |
| | | this.loginForm.phone="" |
| | |
| | | Vue.use(VueRouter) |
| | | //创建路由 |
| | | export const createRouter = () => new VueRouter({ |
| | | mode: 'hash', |
| | | routes: [...PageRouter, ...ViewsRouter] |
| | | }) |
| | | const Router = createRouter() // 获得 route 实例 |
| | |
| | | <el-form :model="form" label-position="right" size="mini" label-width="100px"> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="报警人" :label-width="formLabelWidth"> |
| | | <el-form-item label="报警人" > |
| | | <el-input disabled="true" v-model="form.alarmPeople" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="联系电话" :label-width="formLabelWidth"> |
| | | <el-form-item label="联系电话" > |
| | | <el-input disabled="true" v-model="form.phoneNumber" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="行政区" :label-width="formLabelWidth"> |
| | | <el-form-item label="行政区" > |
| | | <el-input disabled="true" v-model="form.district" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="事发地址" :label-width="formLabelWidth"> |
| | | <el-form-item label="事发地址" > |
| | | <el-input disabled="true" v-model="form.place" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="警情类别" :label-width="formLabelWidth"> |
| | | <el-form-item label="警情类别" > |
| | | <el-input disabled="true" v-model="form.waringType" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="设备编号" :label-width="formLabelWidth"> |
| | | <el-form-item label="设备编号" > |
| | | <el-input disabled="true" v-model="form.deviceNumber" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="接警人" :label-width="formLabelWidth"> |
| | | <el-form-item label="接警人" > |
| | | <el-input disabled="true" v-model="form.galarmPeople" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="接警时间" :label-width="formLabelWidth"> |
| | | <el-form-item label="接警时间" > |
| | | <el-input disabled="true" v-model="form.jjTime" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="报警时间" :label-width="formLabelWidth"> |
| | | <el-form-item label="报警时间" > |
| | | <el-input disabled="true" v-model="form.alarmTime" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="设备历史警情" :label-width="formLabelWidth"> |
| | | |
| | | <el-form-item label="历史视频" > |
| | | <el-button type="primary">查看视频</el-button> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="报警内容" :label-width="formLabelWidth"> |
| | | <el-form-item label="报警内容" > |
| | | <el-input disabled="true" v-model="form.content" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col span="12"> |
| | | <el-form-item label="要求处置时间" :label-width="formLabelWidth"> |
| | | <el-input v-model="form.Cztime" autocomplete="off"></el-input> |
| | | <el-form-item label="要求处置时间" > |
| | | <el-date-picker |
| | | v-model="form.czTime" |
| | | type="datetime" |
| | | placeholder="选择日期时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col span="12"> |
| | | <el-form-item label="备注" :label-width="formLabelWidth"> |
| | | <el-input v-model="form.name" autocomplete="off"></el-input> |
| | | <el-form-item label="备注" > |
| | | <el-input v-model="form.bz" autocomplete="off"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-form-item label="功能" :label-width="formLabelWidth"> |
| | | <el-row :align='center'> |
| | | <el-col :offset="4"> |
| | | <el-form-item > |
| | | <el-button type="success">一件呼叫</el-button> |
| | | <el-button type="success">视频对讲</el-button> |
| | | <el-button type="primary">生成警单</el-button> |
| | | <el-button type="warning">警情撤销</el-button> |
| | | <el-button type="danger">推送110</el-button> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogTableVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="submitForm(form)">提 交</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | |
| | | <el-drawer |
| | |
| | | }, |
| | | handleManage(row){ |
| | | this.form = row; |
| | | this.dialogTableVisible = true; |
| | | }, |
| | | submitForm(row){ |
| | | this.dialogTableVisible = true; |
| | | } |
| | | } |
| | |
| | | prop: "wd", |
| | | }, |
| | | { |
| | | label: "地址", |
| | | // hide:true, |
| | | // width:250, |
| | | prop: "address", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入地址", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | // { |
| | | // label: "行政区", |
| | | // width:80, |
| | | // prop: "addvcd", |
| | | // searchSpan: 4, |
| | | // search: true, |
| | | // type: "select", |
| | | // dicUrl: "/api/blade-jfpts/district/district/selectd", |
| | | // props: { |
| | | // label: "addvnm", |
| | | // value: "addvcds" |
| | | // }, |
| | | // }, |
| | | { |
| | | label: "等级", |
| | | searchSpan: 4, |
| | | /* search: true,*/ |
| | | width:60, |
| | | prop: "dj", |
| | | }, |
| | | { |
| | | label: "营业信息", |
| | | component: 'AvueUeditor', |
| | | width:350, |
| | | prop: "information", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入营业信息", |
| | | trigger: "blur" |
| | | }], |
| | | minRows: 6, |
| | | span: 24, |
| | | }, |
| | | { |
| | | label: "提交日期", |
| | | width:110, |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd", |
| | | prop: "createtime", |
| | | display: false, |
| | | label: "类型", |
| | | searchSpan: 4, |
| | | search: true, |
| | | width:70, |
| | | prop: "type", |
| | | type: "select", |
| | | dicUrl: "/api/blade-jfpts/lx/lx/seleclx", |
| | | props: { |
| | | label: "types", |
| | | value: "tnumber" |
| | | }, |
| | | }, |
| | | { |
| | | label: '省份', |
| | |
| | | label: 'name', |
| | | value: 'code' |
| | | }, |
| | | dicFlag: false, |
| | | dicUrl: '/api/blade-system/region/select?code={{key}}', |
| | | span: 8, |
| | | }, |
| | |
| | | label: 'name', |
| | | value: 'code' |
| | | }, |
| | | dicFlag: false, |
| | | dicUrl: '/api/blade-system/region/select?code={{key}}', |
| | | span: 8, |
| | | }, |
| | | { |
| | | label: "类型", |
| | | searchSpan: 4, |
| | | search: true, |
| | | width:70, |
| | | prop: "type", |
| | | type: "select", |
| | | dicUrl: "/api/blade-jfpts/lx/lx/seleclx", |
| | | props: { |
| | | label: "types", |
| | | value: "tnumber" |
| | | }, |
| | | label: "地址", |
| | | hide:true, |
| | | prop: "address", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入地址", |
| | | trigger: "blur" |
| | | }] |
| | | }, |
| | | /* { |
| | | label: "空间坐标", |
| | | display: false, |
| | | prop: "coordinate", |
| | | },*/ |
| | | { |
| | | label: "营业信息", |
| | | hide:true, |
| | | component: 'AvueUeditor', |
| | | width:350, |
| | | prop: "information", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入营业信息", |
| | | trigger: "blur" |
| | | }], |
| | | minRows: 6, |
| | | span: 24, |
| | | }, |
| | | { |
| | | label: "提交日期", |
| | | width:110, |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd", |
| | | prop: "createtime", |
| | | display: false, |
| | | }, |
| | | ] |
| | | }, |
| | | data: [] |
| | |
| | | /* |
| | | * @Descripttion: |
| | | * @version: |
| | | * @Author: song |
| | | * @Date: 2021-01-26 08:56:34 |
| | | * @LastEditors: song |
| | | * @LastEditTime: 2021-01-29 15:58:39 |
| | | */ |
| | | module.exports = { |
| | | //路径前缀 |
| | | publicPath: "/", |
| | | publicPath: "./", |
| | | lintOnSave: true, |
| | | productionSourceMap: false, |
| | | chainWebpack: (config) => { |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | target: 'http://localhost:80', |
| | | target: 'http://192.168.0.103:82', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |