From 9f38fea89b6e0be1e42c4edc758f11bb7e6118ea Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 29 Jan 2021 14:21:09 +0800
Subject: [PATCH] 地图

---
 public/map/widgets/aPoliceTeam/APoliceTeam.js |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/public/map/views/map/widgets/aPoliceTeam/APoliceTeam.js b/public/map/widgets/aPoliceTeam/APoliceTeam.js
similarity index 99%
rename from public/map/views/map/widgets/aPoliceTeam/APoliceTeam.js
rename to public/map/widgets/aPoliceTeam/APoliceTeam.js
index 78bec15..548c176 100644
--- a/public/map/views/map/widgets/aPoliceTeam/APoliceTeam.js
+++ b/public/map/widgets/aPoliceTeam/APoliceTeam.js
@@ -610,7 +610,7 @@
             })
             // 巡逻区域的新增按钮
             $('.police-container .police-container-patrol .main-content>li:eq(0) .distribute-table-content .operation .add').off('click').click(function () {
-                var url = '../../popup/html/region-name.html';
+                var url = './popup/html/region-name.html';
                 layui.use('layer', function () {
                     that.layuiLayer = layui.layer;
                     that.layuiLayer.config({
@@ -711,7 +711,7 @@
 
                 var snumber = $(this).attr('term-id');
 
-                var url = '../../popup/html/personnel-information-management.html?id=' + snumber;
+                var url = './popup/html/personnel-information-management.html?id=' + snumber;
                 layui.use('layer', function () {
                     that.layuiLayer = layui.layer;
                     that.layuiLayer.config({
@@ -796,7 +796,7 @@
             })
             // 巡逻路线中的新增按钮的点击事件
             $('.police-dispatching .police-container .police-container-patrol .main-content>li:eq(1) .add').off('click').click(function () {
-                var url = '../../popup/html/route-name-layer.html';
+                var url = './popup/html/route-name-layer.html';
                 layui.use('layer', function () {
                     that.layuiLayer = layui.layer;
                     that.layuiLayer.config({
@@ -884,7 +884,7 @@
                 var self = this;
 
 
-                var url = '../../popup/html/routename-and-peoplename.html?routeName=' + routeName + '&routeId=' + routeId + '&peopleName=' + peopleName;
+                var url = './popup/html/routename-and-peoplename.html?routeName=' + routeName + '&routeId=' + routeId + '&peopleName=' + peopleName;
                 layui.use('layer', function () {
                     that.layuiLayer = layui.layer;
                     that.layuiLayer.config({
@@ -1338,7 +1338,7 @@
          */
         policeDetails: function (id) {
             var that = this;
-            var url = '../../popup/html/police-details.html?obj=' + id;
+            var url = './popup/html/police-details.html?obj=' + id;
             layui.use('layer', function () {
                 that.layuiLayer = layui.layer;
                 that.layuiLayer.config({
@@ -1366,7 +1366,7 @@
          */
         ownerDetails: function (id) {
             var that = this;
-            var url = '../../popup/html/owner-details.html?id=' + id;
+            var url = './popup/html/owner-details.html?id=' + id;
             layui.use('layer', function () {
                 that.layuiLayer = layui.layer;
                 that.layuiLayer.config({
@@ -1394,7 +1394,7 @@
          */
         equipmentDetails: function (id) {
             var that = this;
-            var url = '../../popup/html/equipment-details.html?obj=' + id;
+            var url = './popup/html/equipment-details.html?obj=' + id;
             layui.use('layer', function () {
                 that.layuiLayer = layui.layer;
                 that.layuiLayer.config({

--
Gitblit v1.9.3