From fb871f8d051b69735907d609e4ffc4b3da28fca7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 17 Mar 2021 10:46:38 +0800
Subject: [PATCH] 部分接口协议,端口,域名更换,实时报警中得实时警情弹框和警情核实弹框样式更改

---
 src/styles/real.scss                                          |   17 
 public/map/widgets/aPoliceTeam/APoliceTeam.js                 |   36 
 src/views/policeTracking/policeTracking.vue                   |    4 
 public/map/popup/js/owner-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 
 src/views/realTimePolice/real.vue                             | 1908 +++++++++++++++++++-------------------
 public/map/index.html                                         |    6 
 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/popup/js/realtime-equipment-history.js             |    2 
 public/map/popup/js/equipment-history.js                      |    2 
 public/img/ydlg.png                                           |    0 
 public/map/popup/js/police-details.js                         |    2 
 src/styles/common.scss                                        |    3 
 src/page/index/logo.vue                                       |  881 +++++++++--------
 public/map/widgets/analysisAndJudgment/AnalysisAndJudgment.js |   12 
 public/map/popup/js/route-name-layer.js                       |    2 
 src/page/index/top/index.vue                                  |    3 
 public/map/popup/js/equipment-details.js                      |    2 
 public/map/widgets/alertSecurity/AlertSecurity.js             |    4 
 public/map/popup/js/clientPopup.js                            |    4 
 src/views/distribution/index.vue                              |    4 
 25 files changed, 1,544 insertions(+), 1,452 deletions(-)

diff --git a/public/img/ydlg.png b/public/img/ydlg.png
new file mode 100644
index 0000000..54a4f53
--- /dev/null
+++ b/public/img/ydlg.png
Binary files differ
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,
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index 535443f..0131d8d 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -1,102 +1,142 @@
 <template>
   <div class="avue-logo">
     <transition name="fade">
-      <span v-if="keyCollapse"
-            class="avue-logo_subtitle"
-            key="0">
-        {{website.logo}}
+      <span v-if="keyCollapse" class="avue-logo_subtitle" key="0">
+        {{ website.logo }}
       </span>
     </transition>
     <transition-group name="fade">
       <template v-if="!keyCollapse">
-        <span class="avue-logo_title"
-              key="1">{{website.indexTitle}} </span>
+        <span class="avue-logo_title" key="1">{{ website.indexTitle }} </span>
       </template>
     </transition-group>
-    <audio ref='realAudio' loop>
-    </audio>
+    <audio ref="realAudio" loop></audio>
     <div>
-      <el-dialog class="real-dialog" title="实时警情" center="true" :visible.sync="dialogTableVisible" top="190px"
-                 append-to-body="true" @close='closeDialog'>
-        <el-form :model="form" label-position="right" size="mini" label-width="100px">
+      <el-dialog
+        class="real-dialog"
+        title="实时警情"
+        :center="true"
+        :visible.sync="dialogTableVisible"
+        :append-to-body="true"
+        :close-on-press-escape="false"
+        :close-on-click-modal="false"
+        :show-close="false"
+        @close="closeDialog"
+      >
+        <el-form
+          :model="form"
+          label-position="right"
+          size="mini"
+          label-width="100px"
+        >
           <el-row>
             <el-col span="12">
               <el-form-item label="报警人">
-                <el-input disabled="true" v-model="form.galarmPeople" autocomplete="off"></el-input>
+                <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="联系电话">
-                <el-input disabled="true" v-model="form.phoneNumber" autocomplete="off"></el-input>
+                <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="负责人">
+                <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="负责人电话">
+                <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="行政区">
-                <el-input disabled="true" v-model="form.district" autocomplete="off"></el-input>
+                <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="事发地址">
-                <el-input disabled="true" v-model="form.place" autocomplete="off"></el-input>
+                <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="警情类别">
-                <el-input disabled="true" v-model="form.waringType" autocomplete="off"></el-input>
+                <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="设备编号">
-                <el-input disabled="true" v-model="form.deviceNumber" autocomplete="off"></el-input>
+                <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="接警人">
-                <el-input disabled="true" v-model="form.alarmPeople" autocomplete="off"></el-input>
+                <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="接警时间">
-                <el-input disabled="true" v-model="form.jjTime" autocomplete="off"></el-input>
+                <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="报警时间">
-                <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="实时视频">
-                <el-button type="primary" @click.stop="queryOldVideo(form)"
-                >查看视频
-                </el-button>
-              </el-form-item>
-            </el-col>
-
-          </el-row>
-          <el-row>
-            <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="要求处置时间">
-                <el-date-picker
-                  v-model="form.czTime"
-                  type="datetime"
-                  value-format="yyyy-MM-dd hh:mm:ss"
-                  placeholder="选择日期时间">
-                </el-date-picker>
+                <el-input
+                  disabled="true"
+                  v-model="form.alarmTime"
+                  autocomplete="off"
+                ></el-input>
               </el-form-item>
             </el-col>
             <el-col span="12">
@@ -105,14 +145,44 @@
               </el-form-item>
             </el-col>
           </el-row>
-          <el-row :align='center'>
-            <el-col :offset="4">
+          <el-row>
+            <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="视频通话">
+                <el-button type="primary" @click.stop="queryOldVideo(form)"
+                  >查看视频
+                </el-button>
+              </el-form-item>
+            </el-col>
+            <el-col span="12">
+              <el-form-item label="历史视频">
+                <el-button type="primary" @click.stop="queryOldVideo(form)"
+                  >查看视频
+                </el-button>
+              </el-form-item>
+            </el-col>
+          </el-row>
+
+          <el-row :align="center">
+            <el-col class="opt-btn">
               <el-form-item>
-                <el-button type="success">一键呼叫</el-button>
-                <el-button type="success">视频对讲</el-button>
-                <el-button type="primary" @click.stop="generate(form)">生成警单</el-button>
-                <el-button type="warning" @click.stop="revoke(form)">警情撤销</el-button>
-                <el-button type="danger">推送110</el-button>
+                <el-button type="warning" @click.stop="revoke(form)"
+                  >办结</el-button
+                >
+                <el-button type="danger" class="push-nmb-btn"
+                  >推送110</el-button
+                >
+                <el-button type="primary" @click.stop="generate(form)"
+                  >派发保安</el-button
+                >
               </el-form-item>
             </el-col>
           </el-row>
@@ -133,417 +203,414 @@
         <video
           src=""
           id="old_video"
-          style="width: 100%; height: 100%; object-fit:fill"
+          style="width: 100%; height: 100%; object-fit: fill"
           controls
         ></video>
       </el-dialog>
     </div>
-
-
   </div>
 </template>
 
 <script>
-  import {mapGetters} from "vuex";
-  import axios from 'axios'
-  import Hls from "hls.js";
+import { mapGetters } from "vuex";
+import axios from "axios";
+import Hls from "hls.js";
 
-  export default {
-    name: "logo",
-    data() {
-      return {
-        dialogTableVisible: false,
-        innerVisibleVideo: false,
-        deviceId: null,
-        form: {},
-      };
-    },
-    created() {
-      this.getData();
-    },
-    computed: {
-      ...mapGetters(["website", "keyCollapse"])
-    },
-    methods: {
-      getData() {
-        var that = this;
+export default {
+  name: "logo",
+  data() {
+    return {
+      dialogTableVisible: false,
+      innerVisibleVideo: false,
+      deviceId: null,
+      form: {},
+    };
+  },
+  created() {
+    this.getData();
+  },
+  computed: {
+    ...mapGetters(["website", "keyCollapse"]),
+  },
+  methods: {
+    getData() {
+      var that = this;
 
+      axios({
+        url: "/api/blade-jfpts/alarm/alarm/getLimit",
+        method: "get",
+      }).then(function (response) {
+        that.deviceId = response.data.data[0].id;
+        //获得最新ID,开启实时报警循环
+        that.layerRealtime();
+      });
+    },
+    layerRealtime() {
+      var that = this;
+      window.clearTimeout(window.realTimeQuery);
+      window.realTimeQuery = setInterval(function () {
         axios({
-          url: '/api/blade-jfpts/alarm/alarm/getLimit',
-          method: 'get',
+          url: "/api/blade-jfpts/alarm/alarm/selecttx?id=" + that.deviceId,
+          method: "post",
         }).then(function (response) {
-          that.deviceId = response.data.data[0].id;
-          //获得最新ID,开启实时报警循环
-          that.layerRealtime();
-        });
-
-
-      }, layerRealtime() {
-        var that = this;
-        window.clearTimeout(window.realTimeQuery);
-        window.realTimeQuery = setInterval(function () {
-          axios({
-            url: '/api/blade-jfpts/alarm/alarm/selecttx?id=' + that.deviceId,
-            method: 'post',
-          }).then(function (response) {
-            if (response.data.data.length > 0) {
-              that.deviceId = response.data.data[0].id;
-              that.form = response.data.data[0];
-              that.dialogTableVisible = true;
-              that.$refs.realAudio.src = "./realVideo/audio.mp3";
-              that.$refs.realAudio.play();
-            }
-          });
-        }, 5000);
-
-      },
-      closeDialog() {
-        //关闭窗口回调,关闭警报
-        this.$refs.realAudio.pause();
-      },
-      generate(row) {
-        var that = this;
-        //关闭窗口回调,关闭警报
-        that.$refs.realAudio.pause();
-        if (row.czTime == "" || row.czTime == null) {
-          this.$message({
-            message: '请选择处置时间',
-            type: 'warning'
-          });
-        } else {
-          axios({
-            url: '/api/blade-jfpts/jingdan/jingdan/submit',
-            method: 'post',
-            data: {
-              rName: row.rname,
-              galarmPeople: row.galarmPeople,
-              phoneNumber: row.phoneNumber,
-              place: row.place,
-              alarmPeople: row.alarmPeople,
-              content: row.content,
-              galarmTime: row.alarmTime,
-              waringType: row.waringType,
-              deviceNumber: row.deviceNumber,
-              type: "0",
-              handleP: null,
-              handleTime: null,
-              handName: null,
-              level: row.level,
-              coordinate: null,
-              jd: row.jd,
-              wd: row.wd,
-              district: row.district,
-              city: row.city,
-              province: row.province,
-              czTime: row.czTime,
-              jjTime: row.jjTime,
-              bz: row.bz
-            }
-          })
-            .then(function (response) {
-
-              that.$message({
-                message: '生成警单成功',
-                type: 'success'
-              });
-              that.updateJtyep(row);
-              that.dialogTableVisible = false;
-
-              var arr = [];
-              that.$store.state.tags.tagList.forEach(item => {
-                if (item.label != "警情分发处置") {
-                  arr.push(item);
-                }
-              });
-              that.$store.state.tags.tagList = arr;
-
-              row.type = 0;
-              row.id = response.data.data;
-              that.$router.push({path: "/distribution/index", query: row});
-
-            })
-            .catch(function (error) {
-              that.dialogTableVisible = false;
-            });
-        }
-
-      },
-      revoke(row) {
-        var that = this;
-        axios({
-          url: '/api/blade-jfpts/alarm/alarm/deletejj?id=' + row.id,
-          method: 'post',
-        }).then(function () {
-          that.dialogTableVisible = false;
-          //关闭窗口回调,关闭警报
-          that.$refs.realAudio.pause();
-        });
-
-
-      }, updateJtyep(row) {
-        var that = this;
-        axios({
-          url: '/api/blade-jfpts/alarm/alarm/updateJtype?id=' + row.id + "&czTime=" + row.czTime + "&bz=" + row.bz,
-          method: 'post',
-        }).then(function () {
-        });
-      },
-      queryOldVideo(data) {
-        var newAxios = axios.create({
-          baseURL: "http://36.134.81.48:18000",
-          withCredentials: false,
-          headers: {
-            "Content-type": "application/x-www-form-urlencoded"
+          if (response.data.data.length > 0) {
+            that.deviceId = response.data.data[0].id;
+            that.form = response.data.data[0];
+            that.dialogTableVisible = true;
+            that.innerVisibleVideo = true;
+            that.$refs.realAudio.src = "./realVideo/audio.mp3";
+            that.$refs.realAudio.play();
           }
         });
+      }, 5000);
+    },
+    closeDialog() {
+      //关闭窗口回调,关闭警报
+      this.$refs.realAudio.pause();
+    },
+    generate(row) {
+      var that = this;
+      //关闭窗口回调,关闭警报
+      that.$refs.realAudio.pause();
 
-        var time = this.beginTimeOrEndTime(data.alarmTime);
-
-        newAxios
-          .post(
-            "/api_control",
-            {},
-            {
-              params: {
-                param: JSON.stringify({PktType: "GetAccessToken"})
-              }
+      axios({
+        url: "/api/blade-jfpts/jingdan/jingdan/submit",
+        method: "post",
+        data: {
+          rName: row.rname,
+          galarmPeople: row.galarmPeople,
+          phoneNumber: row.phoneNumber,
+          place: row.place,
+          alarmPeople: row.alarmPeople,
+          content: row.content,
+          galarmTime: row.alarmTime,
+          waringType: row.waringType,
+          deviceNumber: row.deviceNumber,
+          type: "0",
+          handleP: null,
+          handleTime: null,
+          handName: null,
+          level: row.level,
+          coordinate: null,
+          jd: row.jd,
+          wd: row.wd,
+          district: row.district,
+          city: row.city,
+          province: row.province,
+          czTime: row.czTime,
+          jjTime: row.jjTime,
+          bz: row.bz,
+        },
+      })
+        .then(function (response) {
+          that.$message({
+            message: "生成警单成功",
+            type: "success",
+          });
+          that.updateJtyep(row);
+          that.dialogTableVisible = false;
+          that.innerVisibleVideo = false;
+          var arr = [];
+          that.$store.state.tags.tagList.forEach((item) => {
+            if (item.label != "警情分发处置") {
+              arr.push(item);
             }
-          )
-          .then(res => {
-            newAxios
-              .get(
-                `/GetPlayUrl?deviceCode=${data.channelNumber}&chl=${data.serialNumber}`
-              )
-              .then(result => {
-                this.innerVisibleVideo = true;
-
-                this.videoSource = result.data.data.m3u8;
-              });
-
-            //   newAxios
-            //     .post(
-            //       "/api_control",
-            //       {},
-            //       {
-            //         params: {
-            //           param: JSON.stringify({
-            //             PktType: "RemotePlayback",
-            //             accessToken: res.data.data.accessToken,
-            //             deviceCode: "001231409472",
-            //             startTime: "20210130150000",
-            //             endTime: "20210130160000",
-            //             chl: data.serialNumber
-            //           })
-            //         }
-            //       }
-            //     )
-            //     .then(result => {
-
-            //       this.innerVisibleVideo = true;
-
-            //       this.videoSource = result.data.data.m3u8;
-
-            //     });
           });
-      },
+          that.$store.state.tags.tagList = arr;
 
-      beginTimeOrEndTime(time) {
-        var beginTime = new Date(time);
+          row.type = 0;
+          row.id = response.data.data;
+          that.$router.push({ path: "/distribution/index", query: row });
+        })
+        .catch(function (error) {
+          that.dialogTableVisible = false;
+          that.innerVisibleVideo = false;
+        });
+    },
+    revoke(row) {
+      var that = this;
+      axios({
+        url: "/api/blade-jfpts/alarm/alarm/deletejj?id=" + row.id,
+        method: "post",
+      }).then(function () {
+        that.dialogTableVisible = false;
+        that.innerVisibleVideo = false;
+        //关闭窗口回调,关闭警报
+        that.$refs.realAudio.pause();
+      });
+    },
+    updateJtyep(row) {
+      var that = this;
+      axios({
+        url:
+          "/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
+          row.id +
+          "&czTime=" +
+          row.czTime +
+          "&bz=" +
+          row.bz,
+        method: "post",
+      }).then(function () {});
+    },
+    queryOldVideo(data) {
+      var newAxios = axios.create({
+        baseURL: "http://36.134.81.48:18000",
+        withCredentials: false,
+        headers: {
+          "Content-type": "application/x-www-form-urlencoded",
+        },
+      });
 
-        var endTime = new Date(new Date(time).valueOf() - 1000 * 60 * 60 * 3);
+      var time = this.beginTimeOrEndTime(data.alarmTime);
 
-        var beginY = beginTime.getFullYear();
+      newAxios
+        .post(
+          "/api_control",
+          {},
+          {
+            params: {
+              param: JSON.stringify({ PktType: "GetAccessToken" }),
+            },
+          }
+        )
+        .then((res) => {
+          newAxios
+            .get(
+              `/GetPlayUrl?deviceCode=${data.channelNumber}&chl=${data.serialNumber}`
+            )
+            .then((result) => {
+              this.innerVisibleVideo = true;
 
-        var beginM =
-          beginTime.getMonth() + 1 < 10
-            ? "0" + (beginTime.getMonth() + 1)
-            : beginTime.getMonth() + 1;
+              this.videoSource = result.data.data.m3u8;
+            });
 
-        var beginD =
-          beginTime.getDate() < 10
-            ? "0" + beginTime.getDate()
-            : beginTime.getDate();
+          //   newAxios
+          //     .post(
+          //       "/api_control",
+          //       {},
+          //       {
+          //         params: {
+          //           param: JSON.stringify({
+          //             PktType: "RemotePlayback",
+          //             accessToken: res.data.data.accessToken,
+          //             deviceCode: "001231409472",
+          //             startTime: "20210130150000",
+          //             endTime: "20210130160000",
+          //             chl: data.serialNumber
+          //           })
+          //         }
+          //       }
+          //     )
+          //     .then(result => {
 
-        var beginH =
-          beginTime.getHours() < 10
-            ? "0" + beginTime.getHours()
-            : beginTime.getHours();
+          //       this.innerVisibleVideo = true;
 
-        var beginm =
-          beginTime.getMinutes() < 10
-            ? "0" + beginTime.getMinutes()
-            : beginTime.getMinutes();
+          //       this.videoSource = result.data.data.m3u8;
 
-        var begins =
-          beginTime.getSeconds() < 10
-            ? "0" + beginTime.getSeconds()
-            : beginTime.getSeconds();
+          //     });
+        });
+    },
 
-        var endY = endTime.getFullYear();
+    beginTimeOrEndTime(time) {
+      var beginTime = new Date(time);
 
-        var endM =
-          endTime.getMonth() + 1 < 10
-            ? "0" + (endTime.getMonth() + 1)
-            : endTime.getMonth() + 1;
+      var endTime = new Date(new Date(time).valueOf() - 1000 * 60 * 60 * 3);
 
-        var endD =
-          endTime.getDate() < 10 ? "0" + endTime.getDate() : endTime.getDate();
+      var beginY = beginTime.getFullYear();
 
-        var endH =
-          endTime.getHours() < 10 ? "0" + endTime.getHours() : endTime.getHours();
+      var beginM =
+        beginTime.getMonth() + 1 < 10
+          ? "0" + (beginTime.getMonth() + 1)
+          : beginTime.getMonth() + 1;
 
-        var endm =
-          endTime.getMinutes() < 10
-            ? "0" + endTime.getMinutes()
-            : endTime.getMinutes();
+      var beginD =
+        beginTime.getDate() < 10
+          ? "0" + beginTime.getDate()
+          : beginTime.getDate();
 
-        var ends =
-          endTime.getSeconds() < 10
-            ? "0" + endTime.getSeconds()
-            : endTime.getSeconds();
-        return {
-          begin: beginY + beginM + beginD + beginH + beginm + begins,
-          end: endY + endM + endD + endH + endm + ends
-        };
-      },
-      openOldVideoBox() {
-        if (Hls.isSupported()) {
-          var dom = document.getElementById("old_video");
+      var beginH =
+        beginTime.getHours() < 10
+          ? "0" + beginTime.getHours()
+          : beginTime.getHours();
 
-          // if (dom.volume) dom.volume = 1.0;
+      var beginm =
+        beginTime.getMinutes() < 10
+          ? "0" + beginTime.getMinutes()
+          : beginTime.getMinutes();
 
-          this.hls = new Hls();
+      var begins =
+        beginTime.getSeconds() < 10
+          ? "0" + beginTime.getSeconds()
+          : beginTime.getSeconds();
 
-          var m3u8Url = decodeURIComponent(this.videoSource);
+      var endY = endTime.getFullYear();
 
-          this.hls.loadSource(m3u8Url);
+      var endM =
+        endTime.getMonth() + 1 < 10
+          ? "0" + (endTime.getMonth() + 1)
+          : endTime.getMonth() + 1;
 
-          this.hls.attachMedia(dom);
+      var endD =
+        endTime.getDate() < 10 ? "0" + endTime.getDate() : endTime.getDate();
 
-          this.hls.on(Hls.Events.MANIFEST_PARSED, function () {
-            dom.play();
-          });
-        }
-      },
-      closeOldVideoBox() {
+      var endH =
+        endTime.getHours() < 10 ? "0" + endTime.getHours() : endTime.getHours();
+
+      var endm =
+        endTime.getMinutes() < 10
+          ? "0" + endTime.getMinutes()
+          : endTime.getMinutes();
+
+      var ends =
+        endTime.getSeconds() < 10
+          ? "0" + endTime.getSeconds()
+          : endTime.getSeconds();
+      return {
+        begin: beginY + beginM + beginD + beginH + beginm + begins,
+        end: endY + endM + endD + endH + endm + ends,
+      };
+    },
+    openOldVideoBox() {
+      if (Hls.isSupported()) {
         var dom = document.getElementById("old_video");
 
-        if (dom.getAttribute("src") != "") {
-          dom.pause();
+        // if (dom.volume) dom.volume = 1.0;
 
-          dom.setAttribute("src", "");
+        this.hls = new Hls();
 
-          this.hls.destroy();
-        }
-      },
-    }
-  };
+        var m3u8Url = decodeURIComponent(this.videoSource);
+
+        this.hls.loadSource(m3u8Url);
+
+        this.hls.attachMedia(dom);
+
+        this.hls.on(Hls.Events.MANIFEST_PARSED, function () {
+          dom.play();
+        });
+      }
+    },
+    closeOldVideoBox() {
+      var dom = document.getElementById("old_video");
+
+      if (dom.getAttribute("src") != "") {
+        dom.pause();
+
+        dom.setAttribute("src", "");
+
+        this.hls.destroy();
+      }
+    },
+  },
+};
 </script>
 
 <style lang="scss">
-  .fade-leave-active {
-    transition: opacity 0.2s;
-  }
+.fade-leave-active {
+  transition: opacity 0.2s;
+}
 
-  .fade-enter-active {
-    transition: opacity 2.5s;
-  }
+.fade-enter-active {
+  transition: opacity 2.5s;
+}
 
-  .fade-enter,
-  .fade-leave-to {
-    opacity: 0;
-  }
+.fade-enter,
+.fade-leave-to {
+  opacity: 0;
+}
 
-  .avue-logo {
-    position: fixed;
-    top: 0;
-    left: 0;
-    width: 240px;
-    height: 64px;
-    line-height: 64px;
-    background-color: #20222a;
+.avue-logo {
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 240px;
+  height: 64px;
+  line-height: 64px;
+  background-color: #20222a;
+  font-size: 20px;
+  overflow: hidden;
+  box-sizing: border-box;
+  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
+  color: rgba(255, 255, 255, 0.8);
+  z-index: 1024;
+
+  &_title {
+    display: block;
+    text-align: center;
+    font-weight: 300;
     font-size: 20px;
-    overflow: hidden;
-    box-sizing: border-box;
-    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
-    color: rgba(255, 255, 255, 0.8);
-    z-index: 1024;
-
-    &_title {
-      display: block;
-      text-align: center;
-      font-weight: 300;
-      font-size: 20px;
-    }
-
-    &_subtitle {
-      display: block;
-      text-align: center;
-      font-size: 18px;
-      font-weight: bold;
-      color: #fff;
-    }
   }
 
-  .real-dialog .el-dialog::after {
-    content: '';
-    position: absolute;
-    left: -5px;
-    top: 25px;
-    right: -5px;
-    bottom: 25px;
-    background: red;
-    border-radius: 10px;
-    filter: blur(120px);
-    mix-blend-mode: overlay;
-    pointer-events: none;
-    z-index: -1;
+  &_subtitle {
+    display: block;
+    text-align: center;
+    font-size: 18px;
+    font-weight: bold;
+    color: #fff;
   }
+}
 
+.real-dialog .el-dialog::after {
+  content: "";
+  position: absolute;
+  left: -5px;
+  top: 25px;
+  right: -5px;
+  bottom: 25px;
+  background: red;
+  border-radius: 10px;
+  filter: blur(120px);
+  mix-blend-mode: overlay;
+  pointer-events: none;
+  z-index: -1;
+}
 
-  .real-dialog .el-dialog__header {
-    padding-top: 10px;
-    background: linear-gradient(45deg, #ff0000, #ff3c3c);
-    border-radius: 10px 10px 0 0;
-  }
+.real-dialog .el-dialog__header {
+  padding-top: 10px;
+  background: linear-gradient(45deg, #ff0000, #ff3c3c);
+  border-radius: 10px 10px 0 0;
+}
 
-  .real-dialog .el-dialog__header .el-dialog__title {
-    color: white;
-  }
+.real-dialog .el-dialog__header .el-dialog__title {
+  color: white;
+}
 
-  .real-dialog .el-dialog__header .el-dialog__headerbtn {
-    top: 15px;
-  }
+.real-dialog .el-dialog__header .el-dialog__headerbtn {
+  top: 15px;
+}
 
-  .real-dialog .el-dialog {
-    border-radius: 10px 10px 10px 10px;
-  }
+.real-dialog .el-dialog {
+  margin: auto !important;
+  position: absolute !important;
+  top: 0 !important;
+  bottom: 0 !important;
+  left: 0 !important;
+  right: 400px !important;
+  height: 630px !important;
+  border-radius: 10px 10px 10px 10px;
+}
 
-  .ss-video-dialog {
-    position: absolute !important;
-    top: 50px !important;
-    left: auto !important;
-    right: 0px !important;
-    bottom: 0 !important;
-    margin: auto !important;
-    width: 476px !important;
-  }
+.ss-video-dialog {
+  position: absolute !important;
+  top: 0px !important;
+  left: auto !important;
+  right: 0px !important;
+  bottom: 0 !important;
+  margin: auto !important;
+  width: 660px !important;
+}
 
-  .ss-video-dialog .el-dialog {
-    position: absolute !important;
-    top: 0 !important;
-    left: 0 !important;
-    right: 0 !important;
-    bottom: 0 !important;
-    margin: auto !important;
-    margin-top: 15vh !important;
-    height: 520px;
-  }
+.ss-video-dialog .el-dialog {
+  position: absolute !important;
+  top: 0 !important;
+  left: 0 !important;
+  right: 0 !important;
+  bottom: 0 !important;
+  margin: auto !important;
+  height: 630px;
+}
 
-  .ss-video-dialog .el-dialog .el-dialog__body {
-    height: calc(100% - 54px);
-    box-sizing: border-box;
-  }
-
-
+.ss-video-dialog .el-dialog .el-dialog__body {
+  height: calc(100% - 54px);
+  box-sizing: border-box;
+}
 </style>
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 0df7b1c..ad9dd3f 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -19,6 +19,9 @@
       </span>
     </div>
     <div class="top-bar__right">
+
+      <img src="/img/ydlg.png" style="width: 100px;" alt="">
+      
       <el-tooltip v-if="showColor"
                   effect="dark"
                   :content="$t('navbar.color')"
diff --git a/src/styles/common.scss b/src/styles/common.scss
index 5a20b5f..a105984 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -20,7 +20,8 @@
 @import './normalize.scss';
 //警情处置样式修改
 @import './distribution.scss';
-
+//实时警情弹窗
+@import './real.scss';
 a{
   text-decoration: none;
   color:#333;
diff --git a/src/styles/real.scss b/src/styles/real.scss
new file mode 100644
index 0000000..aba7a1b
--- /dev/null
+++ b/src/styles/real.scss
@@ -0,0 +1,17 @@
+.opt-btn {
+    text-align: center;
+    .el-form-item__content {
+        margin-left: 0 !important;
+        .el-button {
+            width: 80px;
+            height: 40px;
+            margin: 0 40px;
+        }
+        .push-nmb-btn {
+            width: 80px;
+            height: 80px;
+            border-radius: 50%;
+        }
+    }
+}
+
diff --git a/src/views/distribution/index.vue b/src/views/distribution/index.vue
index 9d3b931..7443088 100644
--- a/src/views/distribution/index.vue
+++ b/src/views/distribution/index.vue
@@ -263,7 +263,7 @@
       }
 
       var newAxios = axios.create({
-        baseURL: "https://web.byisf.com",
+        baseURL: "http://web.byisf.com:18001",
         withCredentials: false,
         headers: {},
       });
@@ -298,7 +298,7 @@
 
     getSelectOptions() {
       var newAxios = axios.create({
-        baseURL: "https://web.byisf.com",
+        baseURL: "http://web.byisf.com:18001",
         withCredentials: false,
         headers: {},
       });
diff --git a/src/views/policeTracking/policeTracking.vue b/src/views/policeTracking/policeTracking.vue
index 7ae9483..b6113a5 100644
--- a/src/views/policeTracking/policeTracking.vue
+++ b/src/views/policeTracking/policeTracking.vue
@@ -305,7 +305,7 @@
       <iframe
         id="mapDiv"
         ref="mapDiv"
-        src="https://web.byisf.com/map/index.html?openid=ClientManagement"
+        src="http://web.byisf.com:18001/map/index.html?openid=ClientManagement"
         frameborder="0"
         width="100%"
         height="100%"
@@ -340,7 +340,7 @@
     , methods: {
       onSubmit() {
         var newAxios = axios.create({
-          baseURL: "https://web.byisf.com",
+          baseURL: "http://web.byisf.com:18001",
           withCredentials: false,
           headers: {},
         });
diff --git a/src/views/realTimePolice/real.vue b/src/views/realTimePolice/real.vue
index 858875f..ed19b60 100644
--- a/src/views/realTimePolice/real.vue
+++ b/src/views/realTimePolice/real.vue
@@ -29,40 +29,40 @@
           plain
           v-if="permission.real_delete"
           @click="handleDelete"
-        >删 除
+          >删 除
         </el-button>
       </template>
 
       <template slot="menuLeft">
         <el-button
-          v-bind:class=" activeClass==1 ? 'btn-color' : '' "
+          v-bind:class="activeClass == 1 ? 'btn-color' : ''"
           size="small"
           @click="getBZdata(1)"
-        >本周
+          >本周
         </el-button>
         <el-button
-          v-bind:class=" activeClass==2 ? 'btn-color' : '' "
+          v-bind:class="activeClass == 2 ? 'btn-color' : ''"
           size="small"
           @click="getBYdata(2)"
-        >本月
+          >本月
         </el-button>
         <el-button
-          v-bind:class=" activeClass==3 ? 'btn-color' : '' "
+          v-bind:class="activeClass == 3 ? 'btn-color' : ''"
           size="small"
           @click="getQBdata(3)"
-        >全部
+          >全部
         </el-button>
       </template>
 
       <template slot-scope="{ row }" slot="jtype">
-        <el-tag>{{
-          row.jtype == "0" ? "否" : row.jtype == "1" ? "是" : "无"
-          }}
+        <el-tag
+          >{{ row.jtype == "0" ? "否" : row.jtype == "1" ? "是" : "无" }}
         </el-tag>
       </template>
       <template slot-scope="{ row }" slot="cid">
-        <el-tag>{{
-          row.cid == "1" ? "事件发生" : row.cid == "3" ? "是" : "事件恢复"
+        <el-tag
+          >{{
+            row.cid == "1" ? "事件发生" : row.cid == "3" ? "是" : "事件恢复"
           }}
         </el-tag>
       </template>
@@ -73,33 +73,29 @@
           :size="size"
           :type="type"
           @click.stop="handleHistory(row)"
-        >历史
-        </el-button
-        >
+          >历史
+        </el-button>
         <el-button
           icon="el-icon-video-camera-solid"
           :size="size"
           :type="type"
           @click.stop="handleStart(row)"
-        >视频
-        </el-button
-        >
+          >视频
+        </el-button>
         <el-button
           icon="el-icon-edit"
           :size="size"
           :type="type"
           @click.stop="handleManage(row)"
-        >核实
-        </el-button
-        >
+          >核实
+        </el-button>
         <el-button
           icon="el-icon-location-outline"
           :size="size"
           :type="type"
           @click.stop="handleMap(row)"
-        >定位
-        </el-button
-        >
+          >定位
+        </el-button>
       </template>
     </avue-crud>
 
@@ -113,7 +109,7 @@
         class="old-video-dialog"
         :modal="false"
         width="100%"
-        title="历史视频"
+        title="视频通话"
         :visible.sync="innerVisibleVideo"
         :close-on-press-escape="false"
         append-to-body
@@ -123,7 +119,7 @@
         <video
           src=""
           id="old_video"
-          style="width: 100%; height: 100%; object-fit:fill"
+          style="width: 100%; height: 100%; object-fit: fill"
           controls
         ></video>
       </el-dialog>
@@ -145,7 +141,27 @@
             </el-form-item>
           </el-col>
           <el-col span="12">
-            <el-form-item label="联系电话">
+            <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="负责人">
+              <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="负责人电话">
               <el-input
                 disabled="true"
                 v-model="form.phoneNumber"
@@ -214,6 +230,7 @@
             </el-form-item>
           </el-col>
         </el-row>
+
         <el-row>
           <el-col span="12">
             <el-form-item label="报警时间">
@@ -225,14 +242,12 @@
             </el-form-item>
           </el-col>
           <el-col span="12">
-            <el-form-item label="历史视频">
-              <el-button type="primary" @click.stop="queryOldVideo(form)"
-              >查看视频
-              </el-button
-              >
+            <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="报警内容">
             <el-input
@@ -242,55 +257,47 @@
             ></el-input>
           </el-form-item>
         </el-row>
+
         <el-row>
           <el-col span="12">
-            <el-form-item label="要求处置时间">
-              <el-date-picker
-                v-model="form.czTime"
-                type="datetime"
-                value-format="yyyy-MM-dd HH:mm:ss"
-                placeholder="选择日期时间"
-              >
-              </el-date-picker>
+            <el-form-item label="视频通话">
+              <el-button type="primary" @click.stop="queryOldVideo(form)"
+                >查看视频
+              </el-button>
             </el-form-item>
           </el-col>
           <el-col span="12">
-            <el-form-item label="备注">
-              <el-input v-model="form.bz" autocomplete="off"></el-input>
+            <el-form-item label="历史视频">
+              <el-button type="primary" @click.stop="queryOldVideo(form)"
+                >查看视频
+              </el-button>
             </el-form-item>
           </el-col>
         </el-row>
+
         <el-row :align="center">
-          <el-col :offset="4">
+          <el-col class="opt-btn">
             <el-form-item>
-              <el-button
+              <!-- <el-button
                 :class="{ active: isActive }"
                 type="success"
                 @click.stop="aKeyToCall($event, form)"
-              >一键呼叫
-              </el-button
-              >
-              <el-button type="success">视频对讲</el-button>
-              <el-button type="primary" @click.stop="generate(form)"
-              >生成警单
-              </el-button
-              >
+                >查看视频
+              </el-button> -->
               <el-button type="warning" @click.stop="revoke(form)"
-              >警情撤销
-              </el-button
-              >
-              <el-button type="danger">推送110</el-button>
+                >办结
+              </el-button>
+              <el-button type="danger" class="push-nmb-btn">推送110</el-button>
+              <el-button type="primary" @click.stop="generate(form)"
+                >派送保安
+              </el-button>
             </el-form-item>
           </el-col>
         </el-row>
       </el-form>
     </el-dialog>
 
-    <el-drawer
-      title="电子地图"
-      append-to-body="true"
-      :visible.sync="showMap"
-    >
+    <el-drawer title="电子地图" append-to-body="true" :visible.sync="showMap">
       <iframe
         id="mapDiv"
         ref="mapDiv"
@@ -304,942 +311,939 @@
 </template>
 
 <script>
-  import {getList, remove, update, add, getclient} from "@/api/real/real";
-  import {mapGetters} from "vuex";
+import { getList, remove, update, add, getclient } from "@/api/real/real";
+import { mapGetters } from "vuex";
 
-  import Hls from "hls.js";
+import Hls from "hls.js";
 
-  import axios from "axios";
+import axios from "axios";
 
-  import Recorder from "js-audio-recorder";
+import Recorder from "js-audio-recorder";
 
-  export default {
-    data() {
-      return {
-        showMap: false,
-        hls: "",
-        videoSource: "",
-        dialogTableVisible: false,
-        innerVisibleVideo: false,
-        activeClass: -1,
-        form: {},
-        query: {},
-        dateTime: [],
-        loading: true,
-        page: {
-          pageSize: 10,
-          currentPage: 1,
-          total: 0
-        },
-        selectionList: [],
-        option: {
-          height: "auto",
-          indexLabel: "序号",
-          calcHeight: 30,
-          labelWidth: "100",
-          size: "mini",
-          menuWidth: 240,
-          dialogWidth: 950,
-          tip: false,
-          searchShow: true,
-          searchMenuSpan: 3,
-          border: true,
-          index: true,
-          viewBtn: true,
-          selection: false,
-          dialogClickModal: false,
-          column: [
-            {
-              label: "警情类型",
-              prop: "waringType",
-              search: true,
-              searchSpan: 3,
-              width: 130,
-              className: "waringTypeClass",
-              searchPlaceholder: "请选择",
-              type: "select",
-              props: {
-                label: "dictValue",
-                value: "dictValue"
-              },
-              //cascaderItem: ["city", "district"],
-              dicUrl: "/api/blade-system/dict-biz/child-list?parentId=1356523651644043266",
-            },
-            {
-              label: "报警时间",
-              type: "datetime",
-              width: 130,
-              format: "yyyy-MM-dd HH:mm:ss",
-              valueFormat: "yyyy-MM-dd HH:mm:ss",
-              prop: "alarmTime"
-            },
-            {
-              label: "报警时间",
-              prop: "releaseTimeRange",
-              type: "datetime",
-              format: "yyyy-MM-dd",
-              valueFormat: "yyyy-MM-dd",
-              searchRange: true,
-              searchSpan: 5,
-              hide: true,
-              addDisplay: false,
-              editDisplay: false,
-              viewDisplay: false,
-              search: true,
-              rules: [
-                {
-                  required: true,
-                  message: "请输入时间",
-                  trigger: "blur"
-                }
-              ]
-            },
-            {
-              label: "报警内容",
-              prop: "content"
-            },
-            {
-              label: "报警人",
-              prop: "galarmPeople"
-            }, {
-              label: "联系电话",
-              prop: "phoneNumber",
-              width: 130
-            },
-            {
-              label: "事发地址",
-              width: 200,
-              prop: "place"
-            },
-            {
-              label: "设备编号",
-              search: true,
-              searchSpan: 3,
-              width: 130,
-              prop: "deviceNumber"
-            },
-            {
-              label: "生成警单",
-              search: true,
-              searchSpan: 2,
-              slot: true,
-              searchPlaceholder: " ",
-              prop: "jtype",
-              type: "select",
-              className: "jtypeClass",
-              dicData: [
-                {
-                  label: "否",
-                  value: "0"
-                },
-                {
-                  label: "是",
-                  value: "1"
-                }
-              ]
-            },
-            {
-              label: "省份",
-              prop: "province",
-              search: true,
-              searchSpan: 2,
-              searchLabelWidth: 45,
-              placeholder: "省份",
-              type: "select",
-              props: {
-                label: "name",
-                value: "code"
-              },
-              cascaderItem: ["city", "district"],
-              dicUrl: "/api/blade-system/region/select",
-              span: 6,
-              className: "cityClass1"
-            },
-            {
-              label: "地市",
-              prop: "city",
-              type: "select",
-              searchPlaceholder: "地市",
-              placeholder: "地市",
-              searchLabelWidth: 1,
-              searchSpan: 2,
-              search: true,
-              props: {
-                label: "name",
-                value: "code"
-              },
-              dicUrl: "/api/blade-system/region/select?code={{key}}",
-              span: 3,
-              labelWidth: "0",
-              className: "cityClass2"
-            },
-            {
-              label: "区县",
-              searchSpan: 2,
-              searchLabelWidth: 1,
-              searchPlaceholder: "区县",
-              placeholder: "区县",
-              search: true,
-              prop: "district",
-              type: "select",
-              props: {
-                label: "name",
-                value: "code"
-              },
-              dicUrl: "/api/blade-system/region/select?code={{key}}",
-              span: 3,
-              labelWidth: "0",
-              className: "cityClass3"
-            },
-            {
-              label: "警情状态",
-              searchSpan: 3,
-              prop: "cid",
-              slot: true,
-              hide: true,
-              width: 100,
-              type: "select",
-              dicData: [
-                {
-                  label: "事件发生",
-                  value: '1'
-                },
-                {
-                  label: "事件恢复",
-                  value: '3'
-                }
-              ],
-            },
-            {
-              label: "接警人",
-              prop: "alarmPeople"
-            },
-            {
-              label: "接警时间",
-              type: "datetime",
-              format: "yyyy-MM-dd HH:mm:ss",
-              valueFormat: "yyyy-MM-dd HH:mm:ss",
-              width: 130,
-              prop: "jjTime"
-            },
-          ]
-        },
-        data: [],
-        isActive: false,
-        recorder: null
-      };
-
-    },
-    computed: {
-      ...mapGetters(["permission", "flowRoutes"]),
-      permissionList() {
-        return {
-          addBtn: this.vaildData(this.permission.real_add, false),
-          viewBtn: this.vaildData(null, false),
-          delBtn: this.vaildData(this.permission.real_delete, false),
-          editBtn: this.vaildData(this.permission.real_edit, false)
-        };
+export default {
+  data() {
+    return {
+      showMap: false,
+      hls: "",
+      videoSource: "",
+      dialogTableVisible: false,
+      innerVisibleVideo: false,
+      activeClass: -1,
+      form: {},
+      query: {},
+      dateTime: [],
+      loading: true,
+      page: {
+        pageSize: 10,
+        currentPage: 1,
+        total: 0,
       },
-      ids() {
-        let ids = [];
-        this.selectionList.forEach(ele => {
-          ids.push(ele.id);
-        });
-        return ids.join(",");
-      }
+      selectionList: [],
+      option: {
+        height: "auto",
+        indexLabel: "序号",
+        calcHeight: 30,
+        labelWidth: "100",
+        size: "mini",
+        menuWidth: 240,
+        dialogWidth: 950,
+        tip: false,
+        searchShow: true,
+        searchMenuSpan: 3,
+        border: true,
+        index: true,
+        viewBtn: true,
+        selection: false,
+        dialogClickModal: false,
+        column: [
+          {
+            label: "警情类型",
+            prop: "waringType",
+            search: true,
+            searchSpan: 3,
+            width: 130,
+            className: "waringTypeClass",
+            searchPlaceholder: "请选择",
+            type: "select",
+            props: {
+              label: "dictValue",
+              value: "dictValue",
+            },
+            //cascaderItem: ["city", "district"],
+            dicUrl:
+              "/api/blade-system/dict-biz/child-list?parentId=1356523651644043266",
+          },
+          {
+            label: "报警时间",
+            type: "datetime",
+            width: 130,
+            format: "yyyy-MM-dd HH:mm:ss",
+            valueFormat: "yyyy-MM-dd HH:mm:ss",
+            prop: "alarmTime",
+          },
+          {
+            label: "报警时间",
+            prop: "releaseTimeRange",
+            type: "datetime",
+            format: "yyyy-MM-dd",
+            valueFormat: "yyyy-MM-dd",
+            searchRange: true,
+            searchSpan: 5,
+            hide: true,
+            addDisplay: false,
+            editDisplay: false,
+            viewDisplay: false,
+            search: true,
+            rules: [
+              {
+                required: true,
+                message: "请输入时间",
+                trigger: "blur",
+              },
+            ],
+          },
+          {
+            label: "报警内容",
+            prop: "content",
+          },
+          {
+            label: "报警人",
+            prop: "galarmPeople",
+          },
+          {
+            label: "联系电话",
+            prop: "phoneNumber",
+            width: 130,
+          },
+          {
+            label: "事发地址",
+            width: 200,
+            prop: "place",
+          },
+          {
+            label: "设备编号",
+            search: true,
+            searchSpan: 3,
+            width: 130,
+            prop: "deviceNumber",
+          },
+          {
+            label: "生成警单",
+            search: true,
+            searchSpan: 2,
+            slot: true,
+            searchPlaceholder: " ",
+            prop: "jtype",
+            type: "select",
+            className: "jtypeClass",
+            dicData: [
+              {
+                label: "否",
+                value: "0",
+              },
+              {
+                label: "是",
+                value: "1",
+              },
+            ],
+          },
+          {
+            label: "省份",
+            prop: "province",
+            search: true,
+            searchSpan: 2,
+            searchLabelWidth: 45,
+            placeholder: "省份",
+            type: "select",
+            props: {
+              label: "name",
+              value: "code",
+            },
+            cascaderItem: ["city", "district"],
+            dicUrl: "/api/blade-system/region/select",
+            span: 6,
+            className: "cityClass1",
+          },
+          {
+            label: "地市",
+            prop: "city",
+            type: "select",
+            searchPlaceholder: "地市",
+            placeholder: "地市",
+            searchLabelWidth: 1,
+            searchSpan: 2,
+            search: true,
+            props: {
+              label: "name",
+              value: "code",
+            },
+            dicUrl: "/api/blade-system/region/select?code={{key}}",
+            span: 3,
+            labelWidth: "0",
+            className: "cityClass2",
+          },
+          {
+            label: "区县",
+            searchSpan: 2,
+            searchLabelWidth: 1,
+            searchPlaceholder: "区县",
+            placeholder: "区县",
+            search: true,
+            prop: "district",
+            type: "select",
+            props: {
+              label: "name",
+              value: "code",
+            },
+            dicUrl: "/api/blade-system/region/select?code={{key}}",
+            span: 3,
+            labelWidth: "0",
+            className: "cityClass3",
+          },
+          {
+            label: "警情状态",
+            searchSpan: 3,
+            prop: "cid",
+            slot: true,
+            hide: true,
+            width: 100,
+            type: "select",
+            dicData: [
+              {
+                label: "事件发生",
+                value: "1",
+              },
+              {
+                label: "事件恢复",
+                value: "3",
+              },
+            ],
+          },
+          {
+            label: "接警人",
+            prop: "alarmPeople",
+          },
+          {
+            label: "接警时间",
+            type: "datetime",
+            format: "yyyy-MM-dd HH:mm:ss",
+            valueFormat: "yyyy-MM-dd HH:mm:ss",
+            width: 130,
+            prop: "jjTime",
+          },
+        ],
+      },
+      data: [],
+      isActive: false,
+      recorder: null,
+    };
+  },
+  computed: {
+    ...mapGetters(["permission", "flowRoutes"]),
+    permissionList() {
+      return {
+        addBtn: this.vaildData(this.permission.real_add, false),
+        viewBtn: this.vaildData(null, false),
+        delBtn: this.vaildData(this.permission.real_delete, false),
+        editBtn: this.vaildData(this.permission.real_edit, false),
+      };
     },
-    created() {
-      this.dateTime = this.getDate();
+    ids() {
+      let ids = [];
+      this.selectionList.forEach((ele) => {
+        ids.push(ele.id);
+      });
+      return ids.join(",");
+    },
+  },
+  created() {
+    this.dateTime = this.getDate();
 
-      this.recorder = new Recorder({
-        sampleBits: 16, // 采样位数,支持 8 或 16,默认是16
-        sampleRate: 16000, // 采样率,支持 11025、16000、22050、24000、44100、48000,根据浏览器默认值,我的chrome是48000
-        numChannels: 1 // 声道,支持 1 或 2, 默认是1
-        // compiling: false,(0.x版本中生效,1.x增加中)  // 是否边录边转换,默认是false
+    this.recorder = new Recorder({
+      sampleBits: 16, // 采样位数,支持 8 或 16,默认是16
+      sampleRate: 16000, // 采样率,支持 11025、16000、22050、24000、44100、48000,根据浏览器默认值,我的chrome是48000
+      numChannels: 1, // 声道,支持 1 或 2, 默认是1
+      // compiling: false,(0.x版本中生效,1.x增加中)  // 是否边录边转换,默认是false
+    });
+  },
+  methods: {
+    rowSave(row, done, loading) {
+      add(row).then(
+        () => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+          done();
+        },
+        (error) => {
+          window.console.log(error);
+          loading();
+        }
+      );
+    },
+    rowUpdate(row, index, done, loading) {
+      row.coordinate = "";
+      update(row).then(
+        () => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+          done();
+        },
+        (error) => {
+          window.console.log(error);
+          loading();
+        }
+      );
+    },
+    rowDel(row) {
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(() => {
+          return remove(row.id);
+        })
+        .then(() => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+        });
+    },
+    searchReset() {
+      this.activeClass = -1;
+      this.query = {};
+      this.onLoad(this.page);
+    },
+    searchChange(params, done) {
+      this.query = params;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+      done();
+    },
+    selectionChange(list) {
+      this.selectionList = list;
+    },
+    selectionClear() {
+      this.selectionList = [];
+      this.$refs.crud.toggleSelection();
+    },
+    handleDelete() {
+      if (this.selectionList.length === 0) {
+        this.$message.warning("请选择至少一条数据");
+        return;
+      }
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning",
+      })
+        .then(() => {
+          return remove(this.ids);
+        })
+        .then(() => {
+          this.onLoad(this.page);
+          this.$message({
+            type: "success",
+            message: "操作成功!",
+          });
+          this.$refs.crud.toggleSelection();
+        });
+    },
+    beforeOpen(done, type) {
+      if (["edit", "view"].includes(type)) {
+        getclient(this.form.id).then((res) => {
+          this.form = res.data.data;
+        });
+      }
+      done();
+    },
+    currentChange(currentPage) {
+      this.page.currentPage = currentPage;
+    },
+    sizeChange(pageSize) {
+      this.page.pageSize = pageSize;
+    },
+    refreshChange() {
+      this.onLoad(this.page, this.query);
+    },
+    onLoad(page, params = {}) {
+      const { releaseTimeRange } = this.query;
+      let values = {
+        ...params,
+      };
+      if (releaseTimeRange) {
+        values = {
+          ...params,
+          beginTime: releaseTimeRange[0],
+          endTime: releaseTimeRange[1],
+          ...this.query,
+        };
+        values.releaseTimeRange = null;
+      } else {
+        values = {
+          ...params,
+          ...this.query,
+        };
+      }
+      this.loading = true;
+      getList(page.currentPage, page.pageSize, values).then((res) => {
+        const data = res.data.data;
+        this.page.total = data.total;
+
+        data.records.sort((a, b) => {
+          return a.jtype - b.jtype;
+        });
+
+        this.data = data.records;
+        this.loading = false;
+        this.selectionClear();
       });
     },
-    methods: {
-      rowSave(row, done, loading) {
-        add(row).then(
-          () => {
-            this.onLoad(this.page);
-            this.$message({
-              type: "success",
-              message: "操作成功!"
-            });
-            done();
-          },
-          error => {
-            window.console.log(error);
-            loading();
-          }
-        );
-      },
-      rowUpdate(row, index, done, loading) {
-        row.coordinate = "";
-        update(row).then(
-          () => {
-            this.onLoad(this.page);
-            this.$message({
-              type: "success",
-              message: "操作成功!"
-            });
-            done();
-          },
-          error => {
-            window.console.log(error);
-            loading();
-          }
-        );
-      },
-      rowDel(row) {
-        this.$confirm("确定将选择数据删除?", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        })
-          .then(() => {
-            return remove(row.id);
-          })
-          .then(() => {
-            this.onLoad(this.page);
-            this.$message({
-              type: "success",
-              message: "操作成功!"
-            });
-          });
-      },
-      searchReset() {
-        this.activeClass = -1;
-        this.query = {};
-        this.onLoad(this.page);
-      },
-      searchChange(params, done) {
-        this.query = params;
-        this.page.currentPage = 1;
-        this.onLoad(this.page, params);
-        done();
-      },
-      selectionChange(list) {
-        this.selectionList = list;
-      },
-      selectionClear() {
-        this.selectionList = [];
-        this.$refs.crud.toggleSelection();
-      },
-      handleDelete() {
-        if (this.selectionList.length === 0) {
-          this.$message.warning("请选择至少一条数据");
-          return;
-        }
-        this.$confirm("确定将选择数据删除?", {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          type: "warning"
-        })
-          .then(() => {
-            return remove(this.ids);
-          })
-          .then(() => {
-            this.onLoad(this.page);
-            this.$message({
-              type: "success",
-              message: "操作成功!"
-            });
-            this.$refs.crud.toggleSelection();
-          });
-      },
-      beforeOpen(done, type) {
-        if (["edit", "view"].includes(type)) {
-          getclient(this.form.id).then(res => {
-            this.form = res.data.data;
-          });
-        }
-        done();
-      },
-      currentChange(currentPage) {
-        this.page.currentPage = currentPage;
-      },
-      sizeChange(pageSize) {
-        this.page.pageSize = pageSize;
-      },
-      refreshChange() {
-        this.onLoad(this.page, this.query);
-      },
-      onLoad(page, params = {}) {
-        const {releaseTimeRange} = this.query;
-        let values = {
-          ...params
-        };
-        if (releaseTimeRange) {
-          values = {
-            ...params,
-            beginTime: releaseTimeRange[0],
-            endTime: releaseTimeRange[1],
-            ...this.query
-          };
-          values.releaseTimeRange = null;
-        } else {
-          values = {
-            ...params,
-            ...this.query
-          };
-        }
-        this.loading = true;
-        getList(page.currentPage, page.pageSize, values).then(res => {
-          const data = res.data.data;
-          this.page.total = data.total;
+    getDate() {
+      // 当前时间
+      var timestamp = Date.parse(new Date());
+      var serverDate = new Date(timestamp);
 
-          data.records.sort((a, b) => {
-            return a.jtype - b.jtype;
-          });
+      // 本周周一的时间
+      var mondayTime =
+        timestamp - (serverDate.getDay() - 1) * 24 * 60 * 60 * 1000;
+      var mondayData = new Date(mondayTime);
+      //年
+      var mondayY = mondayData.getFullYear();
+      //月
+      var mondayM =
+        mondayData.getMonth() + 1 < 10
+          ? "0" + (mondayData.getMonth() + 1)
+          : mondayData.getMonth() + 1;
+      //日
+      var mondayD =
+        mondayData.getDate() < 10
+          ? "0" + mondayData.getDate()
+          : mondayData.getDate();
+      // 当前时间
+      var currentData = new Date(timestamp);
+      //年
+      var currentY = currentData.getFullYear();
+      //月
+      var currentM =
+        currentData.getMonth() + 1 < 10
+          ? "0" + (currentData.getMonth() + 1)
+          : currentData.getMonth() + 1;
+      //日
+      var currentD =
+        currentData.getDate() < 10
+          ? "0" + currentData.getDate()
+          : currentData.getDate();
+      //时
+      var currenH =
+        currentData.getHours() < 10
+          ? "0" + currentData.getHours()
+          : currentData.getHours();
+      //分
+      var currenM =
+        currentData.getMinutes() < 10
+          ? "0" + currentData.getMinutes()
+          : currentData.getMinutes();
 
-          this.data = data.records;
-          this.loading = false;
-          this.selectionClear();
-        });
-      },
-      getDate() {
-        // 当前时间
-        var timestamp = Date.parse(new Date());
-        var serverDate = new Date(timestamp);
-
-        // 本周周一的时间
-        var mondayTime =
-          timestamp - (serverDate.getDay() - 1) * 24 * 60 * 60 * 1000;
-        var mondayData = new Date(mondayTime);
-        //年
-        var mondayY = mondayData.getFullYear();
-        //月
-        var mondayM =
-          mondayData.getMonth() + 1 < 10
-            ? "0" + (mondayData.getMonth() + 1)
-            : mondayData.getMonth() + 1;
-        //日
-        var mondayD =
-          mondayData.getDate() < 10
-            ? "0" + mondayData.getDate()
-            : mondayData.getDate();
-        // 当前时间
-        var currentData = new Date(timestamp);
-        //年
-        var currentY = currentData.getFullYear();
-        //月
-        var currentM =
-          currentData.getMonth() + 1 < 10
-            ? "0" + (currentData.getMonth() + 1)
-            : currentData.getMonth() + 1;
-        //日
-        var currentD =
-          currentData.getDate() < 10
-            ? "0" + currentData.getDate()
-            : currentData.getDate();
-        //时
-        var currenH =
-          currentData.getHours() < 10
-            ? "0" + currentData.getHours()
-            : currentData.getHours();
-        //分
-        var currenM =
-          currentData.getMinutes() < 10
-            ? "0" + currentData.getMinutes()
-            : currentData.getMinutes();
-
+      return {
+        week: {
+          beginTime: mondayY + "-" + mondayM + "-" + mondayD + " 00:00:00",
+          endTime:
+            currentY +
+            "-" +
+            currentM +
+            "-" +
+            currentD +
+            " " +
+            currenH +
+            ":" +
+            currenM +
+            ":00",
+        },
+        month: {
+          beginTime: mondayY + "-" + mondayM + "-01 00:00:00",
+          endTime:
+            currentY +
+            "-" +
+            currentM +
+            "-" +
+            currentD +
+            " " +
+            currenH +
+            ":" +
+            currenM +
+            ":00",
+        },
+      };
+    },
+    getBZdata(e) {
+      this.activeClass = e;
+      var params = {
+        beginTime: this.dateTime.week.beginTime,
+        endTime: this.dateTime.week.endTime,
+      };
+      this.query = params;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+    },
+    getBYdata(e) {
+      this.activeClass = e;
+      var params = {
+        beginTime: this.dateTime.month.beginTime,
+        endTime: this.dateTime.month.endTime,
+      };
+      this.query = params;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+    },
+    getQBdata(e) {
+      this.activeClass = e;
+      var params = {};
+      this.query = params;
+      this.page.currentPage = 1;
+      this.onLoad(this.page, params);
+    },
+    rowStyle({ row, column, rowIndex }) {
+      if (row.jtype == "1") {
         return {
-          week: {
-            beginTime: mondayY + "-" + mondayM + "-" + mondayD + " 00:00:00",
-            endTime:
-              currentY +
-              "-" +
-              currentM +
-              "-" +
-              currentD +
-              " " +
-              currenH +
-              ":" +
-              currenM +
-              ":00"
-          },
-          month: {
-            beginTime: mondayY + "-" + mondayM + "-01 00:00:00",
-            endTime:
-              currentY +
-              "-" +
-              currentM +
-              "-" +
-              currentD +
-              " " +
-              currenH +
-              ":" +
-              currenM +
-              ":00"
-          }
+          color: "#15a2fe",
         };
-      },
-      getBZdata(e) {
-        this.activeClass = e;
-        var params = {
-          beginTime: this.dateTime.week.beginTime,
-          endTime: this.dateTime.week.endTime
-        };
-        this.query = params;
-        this.page.currentPage = 1;
-        this.onLoad(this.page, params);
-      },
-      getBYdata(e) {
-        this.activeClass = e;
-        var params = {
-          beginTime: this.dateTime.month.beginTime,
-          endTime: this.dateTime.month.endTime
-        };
-        this.query = params;
-        this.page.currentPage = 1;
-        this.onLoad(this.page, params);
-      },
-      getQBdata(e) {
-        this.activeClass = e;
-        var params = {};
-        this.query = params;
-        this.page.currentPage = 1;
-        this.onLoad(this.page, params);
-      },
-      rowStyle({row, column, rowIndex}) {
-        if (row.jtype == "1") {
-          return {
-            color: "#15a2fe"
-          };
-        } else {
-          return {
-            color: "#ff2727"
-          };
-        }
-      },
-      handleStart(row) {
-        var arr = [];
-        this.$store.state.tags.tagList.forEach(item => {
-          if (item.label != "视频") {
-            arr.push(item);
-          }
-        });
-        this.$store.state.tags.tagList = arr;
-        this.$router.push({
-          path: `/real/video/`, query: row
-        });
-      },
-      handleHistory(row) {
-        var arr = [];
-        this.$store.state.tags.tagList.forEach(item => {
-          if (item.label != "设备历史") {
-            arr.push(item);
-          }
-        });
-        this.$store.state.tags.tagList = arr;
-        this.$router.push({path: `/real/history/${row.deviceNumber}`});
-      },
-      handleMap(row) {
-        this.showMap = true;
-        this.$nextTick(() => {
-          this.$refs.mapDiv.onload = () => {
-            window.frames[0].init("ClientManagement", {x: row.jd, y: row.wd});
-          };
-        });
-      },
-      handleManage(row) {
-        this.form = row;
-        this.dialogTableVisible = true;
-      },
-      generate(row) {
-        var that = this;
-        if (row.czTime == "" || row.czTime == null) {
-          this.$message({
-            message: "请选择处置时间",
-            type: "warning"
-          });
-        } else {
-          axios({
-            url:
-              "/api/blade-jfpts/jingdan/jingdan/submit",
-            method: "post",
-            data: {
-              rName: row.rname,
-              galarmPeople: row.galarmPeople,
-              phoneNumber: row.phoneNumber,
-              place: row.place,
-              alarmPeople: row.alarmPeople,
-              content: row.content,
-              galarmTime: row.alarmTime,
-              waringType: row.waringType,
-              deviceNumber: row.deviceNumber,
-              type: "0",
-              handleP: null,
-              handleTime: null,
-              handName: null,
-              level: row.level,
-              coordinate: null,
-              jd: row.jd,
-              wd: row.wd,
-              district: row.district,
-              city: row.city,
-              province: row.province,
-              czTime: row.czTime,
-              jjTime: row.jjTime,
-              bz: row.bz
-            }
-          })
-            .then(function (response) {
-              that.$message({
-                message: "生成警单成功",
-                type: "success"
-              });
-
-              that.updateJtyep(row);
-              that.dialogTableVisible = false;
-              var arr = [];
-              that.$store.state.tags.tagList.forEach(item => {
-                if (item.label != "警情分发处置") {
-                  arr.push(item);
-                }
-              });
-              that.$store.state.tags.tagList = arr;
-
-              row.type = 0;
-              row.id = response.data.data;
-              that.$router.push({path: "/distribution/index", query: row});
-
-            })
-            .catch(function (error) {
-              that.dialogTableVisible = false;
-            });
-        }
-      },
-      revoke(row) {
-        var that = this;
-        axios({
-          url:
-            "/api/blade-jfpts/alarm/alarm/deletejj?id=" +
-            row.id,
-          method: "post"
-        }).then(function () {
-          that.dialogTableVisible = false;
-          that.onLoad(that.page, that.query);
-        });
-      },
-      updateJtyep(row) {
-        var that = this;
-        axios({
-          url:
-            "/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
-            row.id +
-            "&czTime=" +
-            row.czTime +
-            "&bz=" +
-            row.bz,
-          method: "post"
-        }).then(function () {
-          that.onLoad(that.page, that.query);
-        });
-      },
-
-      beginTimeOrEndTime(time) {
-        var beginTime = new Date(time);
-
-        var endTime = new Date(new Date(time).valueOf() - 1000 * 60 * 60 * 3);
-
-        var beginY = beginTime.getFullYear();
-
-        var beginM =
-          beginTime.getMonth() + 1 < 10
-            ? "0" + (beginTime.getMonth() + 1)
-            : beginTime.getMonth() + 1;
-
-        var beginD =
-          beginTime.getDate() < 10
-            ? "0" + beginTime.getDate()
-            : beginTime.getDate();
-
-        var beginH =
-          beginTime.getHours() < 10
-            ? "0" + beginTime.getHours()
-            : beginTime.getHours();
-
-        var beginm =
-          beginTime.getMinutes() < 10
-            ? "0" + beginTime.getMinutes()
-            : beginTime.getMinutes();
-
-        var begins =
-          beginTime.getSeconds() < 10
-            ? "0" + beginTime.getSeconds()
-            : beginTime.getSeconds();
-
-        var endY = endTime.getFullYear();
-
-        var endM =
-          endTime.getMonth() + 1 < 10
-            ? "0" + (endTime.getMonth() + 1)
-            : endTime.getMonth() + 1;
-
-        var endD =
-          endTime.getDate() < 10 ? "0" + endTime.getDate() : endTime.getDate();
-
-        var endH =
-          endTime.getHours() < 10 ? "0" + endTime.getHours() : endTime.getHours();
-
-        var endm =
-          endTime.getMinutes() < 10
-            ? "0" + endTime.getMinutes()
-            : endTime.getMinutes();
-
-        var ends =
-          endTime.getSeconds() < 10
-            ? "0" + endTime.getSeconds()
-            : endTime.getSeconds();
+      } else {
         return {
-          begin: beginY + beginM + beginD + beginH + beginm + begins,
-          end: endY + endM + endD + endH + endm + ends
+          color: "#ff2727",
         };
-      },
-      queryOldVideo(data) {
-        var newAxios = axios.create({
-          baseURL: "http://36.134.81.48:18000",
-          withCredentials: false,
-          headers: {
-            "Content-type": "application/x-www-form-urlencoded"
-          }
+      }
+    },
+    handleStart(row) {
+      var arr = [];
+      this.$store.state.tags.tagList.forEach((item) => {
+        if (item.label != "视频") {
+          arr.push(item);
+        }
+      });
+      this.$store.state.tags.tagList = arr;
+      this.$router.push({
+        path: `/real/video/`,
+        query: row,
+      });
+    },
+    handleHistory(row) {
+      var arr = [];
+      this.$store.state.tags.tagList.forEach((item) => {
+        if (item.label != "设备历史") {
+          arr.push(item);
+        }
+      });
+      this.$store.state.tags.tagList = arr;
+      this.$router.push({ path: `/real/history/${row.deviceNumber}` });
+    },
+    handleMap(row) {
+      this.showMap = true;
+      this.$nextTick(() => {
+        this.$refs.mapDiv.onload = () => {
+          window.frames[0].init("ClientManagement", { x: row.jd, y: row.wd });
+        };
+      });
+    },
+    handleManage(row) {
+      this.form = row;
+      this.dialogTableVisible = true;
+    },
+    generate(row) {
+      console.log(row);
+      return;
+      var that = this;
+      if (row.czTime == "" || row.czTime == null) {
+        this.$message({
+          message: "请选择处置时间",
+          type: "warning",
         });
+      } else {
+        axios({
+          url: "/api/blade-jfpts/jingdan/jingdan/submit",
+          method: "post",
+          data: {
+            rName: row.rname,
+            galarmPeople: row.galarmPeople,
+            phoneNumber: row.phoneNumber,
+            place: row.place,
+            alarmPeople: row.alarmPeople,
+            content: row.content,
+            galarmTime: row.alarmTime,
+            waringType: row.waringType,
+            deviceNumber: row.deviceNumber,
+            type: "0",
+            handleP: null,
+            handleTime: null,
+            handName: null,
+            level: row.level,
+            coordinate: null,
+            jd: row.jd,
+            wd: row.wd,
+            district: row.district,
+            city: row.city,
+            province: row.province,
+            czTime: row.czTime,
+            jjTime: row.jjTime,
+            bz: row.bz,
+          },
+        })
+          .then(function (response) {
+            that.$message({
+              message: "生成警单成功",
+              type: "success",
+            });
 
-        var time = this.beginTimeOrEndTime(data.alarmTime);
+            that.updateJtyep(row);
+            that.dialogTableVisible = false;
+            var arr = [];
+            that.$store.state.tags.tagList.forEach((item) => {
+              if (item.label != "警情分发处置") {
+                arr.push(item);
+              }
+            });
+            that.$store.state.tags.tagList = arr;
 
-        newAxios
+            row.type = 0;
+            row.id = response.data.data;
+            that.$router.push({ path: "/distribution/index", query: row });
+          })
+          .catch(function (error) {
+            that.dialogTableVisible = false;
+          });
+      }
+    },
+    revoke(row) {
+      var that = this;
+      axios({
+        url: "/api/blade-jfpts/alarm/alarm/deletejj?id=" + row.id,
+        method: "post",
+      }).then(function () {
+        that.dialogTableVisible = false;
+        that.onLoad(that.page, that.query);
+      });
+    },
+    updateJtyep(row) {
+      var that = this;
+      axios({
+        url:
+          "/api/blade-jfpts/alarm/alarm/updateJtype?id=" +
+          row.id +
+          "&czTime=" +
+          row.czTime +
+          "&bz=" +
+          row.bz,
+        method: "post",
+      }).then(function () {
+        that.onLoad(that.page, that.query);
+      });
+    },
+
+    beginTimeOrEndTime(time) {
+      var beginTime = new Date(time);
+
+      var endTime = new Date(new Date(time).valueOf() - 1000 * 60 * 60 * 3);
+
+      var beginY = beginTime.getFullYear();
+
+      var beginM =
+        beginTime.getMonth() + 1 < 10
+          ? "0" + (beginTime.getMonth() + 1)
+          : beginTime.getMonth() + 1;
+
+      var beginD =
+        beginTime.getDate() < 10
+          ? "0" + beginTime.getDate()
+          : beginTime.getDate();
+
+      var beginH =
+        beginTime.getHours() < 10
+          ? "0" + beginTime.getHours()
+          : beginTime.getHours();
+
+      var beginm =
+        beginTime.getMinutes() < 10
+          ? "0" + beginTime.getMinutes()
+          : beginTime.getMinutes();
+
+      var begins =
+        beginTime.getSeconds() < 10
+          ? "0" + beginTime.getSeconds()
+          : beginTime.getSeconds();
+
+      var endY = endTime.getFullYear();
+
+      var endM =
+        endTime.getMonth() + 1 < 10
+          ? "0" + (endTime.getMonth() + 1)
+          : endTime.getMonth() + 1;
+
+      var endD =
+        endTime.getDate() < 10 ? "0" + endTime.getDate() : endTime.getDate();
+
+      var endH =
+        endTime.getHours() < 10 ? "0" + endTime.getHours() : endTime.getHours();
+
+      var endm =
+        endTime.getMinutes() < 10
+          ? "0" + endTime.getMinutes()
+          : endTime.getMinutes();
+
+      var ends =
+        endTime.getSeconds() < 10
+          ? "0" + endTime.getSeconds()
+          : endTime.getSeconds();
+      return {
+        begin: beginY + beginM + beginD + beginH + beginm + begins,
+        end: endY + endM + endD + endH + endm + ends,
+      };
+    },
+    queryOldVideo(data) {
+      var newAxios = axios.create({
+        baseURL: "http://36.134.81.48:18000",
+        withCredentials: false,
+        headers: {
+          "Content-type": "application/x-www-form-urlencoded",
+        },
+      });
+
+      var time = this.beginTimeOrEndTime(data.alarmTime);
+
+      newAxios
+        .post(
+          "/api_control",
+          {},
+          {
+            params: {
+              param: JSON.stringify({ PktType: "GetAccessToken" }),
+            },
+          }
+        )
+        .then((res) => {
+          newAxios
+            .get(
+              `/GetPlayUrl?deviceCode=${data.channelNumber}&chl=${data.serialNumber}`
+            )
+            .then((result) => {
+              this.innerVisibleVideo = true;
+
+              this.videoSource = result.data.data.m3u8;
+            });
+
+          //   newAxios
+          //     .post(
+          //       "/api_control",
+          //       {},
+          //       {
+          //         params: {
+          //           param: JSON.stringify({
+          //             PktType: "RemotePlayback",
+          //             accessToken: res.data.data.accessToken,
+          //             deviceCode: "001231409472",
+          //             startTime: "20210130150000",
+          //             endTime: "20210130160000",
+          //             chl: data.serialNumber
+          //           })
+          //         }
+          //       }
+          //     )
+          //     .then(result => {
+
+          //       this.innerVisibleVideo = true;
+
+          //       this.videoSource = result.data.data.m3u8;
+
+          //     });
+        });
+    },
+    openOldVideoBox() {
+      if (Hls.isSupported()) {
+        var dom = document.getElementById("old_video");
+
+        // if (dom.volume) dom.volume = 1.0;
+
+        this.hls = new Hls();
+
+        var m3u8Url = decodeURIComponent(this.videoSource);
+
+        this.hls.loadSource(m3u8Url);
+
+        this.hls.attachMedia(dom);
+
+        this.hls.on(Hls.Events.MANIFEST_PARSED, function () {
+          dom.play();
+        });
+      }
+    },
+    closeOldVideoBox() {
+      var dom = document.getElementById("old_video");
+
+      if (dom.getAttribute("src") != "") {
+        dom.pause();
+
+        dom.setAttribute("src", "");
+
+        this.hls.destroy();
+      }
+    },
+    aKeyToCall(e, form) {
+      var newCallAxios = axios.create({
+        baseURL: "http://36.134.81.48:18000",
+        withCredentials: false,
+        headers: {
+          "Content-Type": "application/json;",
+        },
+      });
+
+      // 一键呼叫相关函数
+      if (this.isActive == true) {
+        this.isActive = false;
+
+        newCallAxios
           .post(
-            "/api_control",
+            `/api_control`,
             {},
             {
               params: {
-                param: JSON.stringify({PktType: "GetAccessToken"})
-              }
+                param: { PktType: "GetAccessToken" },
+              },
             }
           )
-          .then(res => {
-            newAxios
-              .get(
-                `/GetPlayUrl?deviceCode=${data.channelNumber}&chl=${data.serialNumber}`
-              )
-              .then(result => {
-                this.innerVisibleVideo = true;
+          .then((result) => {
+            var formData = new FormData();
+            var blob = this.recorder.getPCMBlob(); //获取pcm格式音频数据
+            //此处获取到blob对象后需要设置fileName满足当前项目上传需求,其它项目可直接传把blob作为file塞入formData
+            var newbolb = new Blob([blob], { type: "audio/pcm" });
+            var fileOfBlob = new File([newbolb], new Date().getTime() + ".pcm");
+            formData.append("file", fileOfBlob);
 
-                this.videoSource = result.data.data.m3u8;
-              });
+            document
+              .getElementById("real_audio")
+              .setAttribute("src", URL.createObjectURL(blob));
 
-            //   newAxios
-            //     .post(
-            //       "/api_control",
-            //       {},
-            //       {
-            //         params: {
-            //           param: JSON.stringify({
-            //             PktType: "RemotePlayback",
-            //             accessToken: res.data.data.accessToken,
-            //             deviceCode: "001231409472",
-            //             startTime: "20210130150000",
-            //             endTime: "20210130160000",
-            //             chl: data.serialNumber
-            //           })
-            //         }
-            //       }
-            //     )
-            //     .then(result => {
+            this.recorder.play();
 
-            //       this.innerVisibleVideo = true;
-
-            //       this.videoSource = result.data.data.m3u8;
-
-            //     });
-          });
-      },
-      openOldVideoBox() {
-        if (Hls.isSupported()) {
-          var dom = document.getElementById("old_video");
-
-          // if (dom.volume) dom.volume = 1.0;
-
-          this.hls = new Hls();
-
-          var m3u8Url = decodeURIComponent(this.videoSource);
-
-          this.hls.loadSource(m3u8Url);
-
-          this.hls.attachMedia(dom);
-
-          this.hls.on(Hls.Events.MANIFEST_PARSED, function () {
-            dom.play();
-          });
-        }
-      },
-      closeOldVideoBox() {
-        var dom = document.getElementById("old_video");
-
-        if (dom.getAttribute("src") != "") {
-          dom.pause();
-
-          dom.setAttribute("src", "");
-
-          this.hls.destroy();
-        }
-      },
-      aKeyToCall(e, form) {
-        var newCallAxios = axios.create({
-          baseURL: "http://36.134.81.48:18000",
-          withCredentials: false,
-          headers: {
-            "Content-Type": "application/json;"
-          }
-        });
-
-        // 一键呼叫相关函数
-        if (this.isActive == true) {
-          this.isActive = false;
-
-          newCallAxios
-            .post(
-              `/api_control`,
-              {},
-              {
+            newCallAxios
+              .post(`/api_control`, blob, {
                 params: {
-                  param: {PktType: "GetAccessToken"}
-                }
-              }
-            )
-            .then(result => {
-              var formData = new FormData();
-              var blob = this.recorder.getPCMBlob(); //获取pcm格式音频数据
-              //此处获取到blob对象后需要设置fileName满足当前项目上传需求,其它项目可直接传把blob作为file塞入formData
-              var newbolb = new Blob([blob], {type: "audio/pcm"});
-              var fileOfBlob = new File([newbolb], new Date().getTime() + ".pcm");
-              formData.append("file", fileOfBlob);
-
-              document
-                .getElementById("real_audio")
-                .setAttribute("src", URL.createObjectURL(blob));
-
-              this.recorder.play();
-
-              newCallAxios
-                .post(`/api_control`, blob, {
-                  params: {
-                    param: {
-                      PktType: "Talk",
-                      accessToken: result.data.data.accessToken,
-                      deviceCode: form.channelNumber
-                    }
-                  }
-                })
-                .then(result => {
-                });
-            });
-        } else {
-          this.isActive = true;
-
-          Recorder.getPermission().then(() => {
-            this.recorder.start().then(() => {
-              // 开始录音
-            });
+                  param: {
+                    PktType: "Talk",
+                    accessToken: result.data.data.accessToken,
+                    deviceCode: form.channelNumber,
+                  },
+                },
+              })
+              .then((result) => {});
           });
-        }
+      } else {
+        this.isActive = true;
+
+        Recorder.getPermission().then(() => {
+          this.recorder.start().then(() => {
+            // 开始录音
+          });
+        });
       }
-    }
-  };
+    },
+  },
+};
 </script>
 
 <style>
+.el-card__body .jtypeClass {
+  width: 10%;
+}
 
-  .el-card__body .jtypeClass {
-    width: 10%;
-  }
+.el-card__body .waringTypeClass {
+  width: 12%;
+}
 
-  .el-card__body .waringTypeClass {
-    width: 12%;
-  }
+/*页面样式*/
+.el-card__body .cityClass1 {
+  width: 155px;
+  padding-right: 0px !important;
+}
 
-  /*页面样式*/
-  .el-card__body .cityClass1 {
-    width: 155px;
-    padding-right: 0px !important;
-  }
+.el-card__body .cityClass2 {
+  width: 100px;
+  padding-left: 0px !important;
+  padding-right: 0px !important;
+}
 
-  .el-card__body .cityClass2 {
-    width: 100px;
-    padding-left: 0px !important;
-    padding-right: 0px !important;
-  }
+.el-card__body .cityClass3 {
+  width: 100px;
+  padding-left: 0px !important;
+  padding-right: 0px !important;
+}
 
-  .el-card__body .cityClass3 {
-    width: 100px;
-    padding-left: 0px !important;
-    padding-right: 0px !important;
-  }
+/*新增窗体样式*/
+.el-dialog .cityClass1 {
+  width: 220px;
+  padding-right: 0px !important;
+}
 
-  /*新增窗体样式*/
-  .el-dialog .cityClass1 {
-    width: 220px;
-    padding-right: 0px !important;
-  }
+.el-dialog .cityClass2 {
+  width: 110px;
+  padding-left: 5px !important;
+  padding-right: 5px !important;
+}
 
-  .el-dialog .cityClass2 {
-    width: 110px;
-    padding-left: 5px !important;
-    padding-right: 5px !important;
-  }
+.el-dialog .cityClass3 {
+  width: 110px;
+  padding-left: 0px !important;
+  padding-right: 0px !important;
+}
 
-  .el-dialog .cityClass3 {
-    width: 110px;
-    padding-left: 0px !important;
-    padding-right: 0px !important;
-  }
+.cityClass2 div label {
+  display: none;
+}
 
-  .cityClass2 div label {
-    display: none;
-  }
+.cityClass3 div label {
+  display: none;
+}
 
-  .cityClass3 div label {
-    display: none;
-  }
+.old-video-dialog {
+  position: absolute !important;
+  top: 0 !important;
+  left: auto !important;
+  right: 0px !important;
+  bottom: 0 !important;
+  margin: auto !important;
+  height: 100% !important;
+  width: 476px !important;
+}
 
-  .old-video-dialog {
-    position: absolute !important;
-    top: 0 !important;
-    left: auto !important;
-    right: 0px !important;
-    bottom: 0 !important;
-    margin: auto !important;
-    height: 100% !important;
-    width: 476px !important;
-  }
+.old-video-dialog .el-dialog {
+  position: absolute !important;
+  top: 0 !important;
+  left: 0 !important;
+  right: 0 !important;
+  bottom: 0 !important;
+  margin: auto !important;
+  margin-top: 15vh !important;
+  height: 538px;
+}
 
-  .old-video-dialog .el-dialog {
-    position: absolute !important;
-    top: 0 !important;
-    left: 0 !important;
-    right: 0 !important;
-    bottom: 0 !important;
-    margin: auto !important;
-    margin-top: 15vh !important;
-    height: 538px;
-  }
+.old-video-dialog .el-dialog .el-dialog__body {
+  height: calc(100% - 54px);
+  box-sizing: border-box;
+}
 
-  .old-video-dialog .el-dialog .el-dialog__body {
-    height: calc(100% - 54px);
-    box-sizing: border-box;
-  }
+.el-button.active {
+  background: #ff0000;
+}
 
-  .el-button.active {
-    background: #ff0000;
-  }
-
-  .el-button.btn-color {
-    color: rgb(255, 255, 255);
-    background-color: rgb(64, 158, 255);
-    border-color: rgb(64, 158, 255);
-  }
-
+.el-button.btn-color {
+  color: rgb(255, 255, 255);
+  background-color: rgb(64, 158, 255);
+  border-color: rgb(64, 158, 255);
+}
 </style>

--
Gitblit v1.9.3