瀏覽代碼

修改数据

李雪梅 2 年之前
父節點
當前提交
328d0b6cf2

+ 1 - 1
nngkxxdp/src/main/resources/static/district/js/map.json

@@ -6138,7 +6138,7 @@
 		},
 		{
 			"dep": "海德公厕",
-			"address": "重庆市南岸区江南大道南源居南侧南安起风景附近",
+			"address": "重庆市南岸区江南大道南源居南侧",
 			"img": "/image/hdgc.jpg",
 			"sptype": "便民公厕"
 		},

+ 7 - 7
nngkxxdp/src/main/resources/static/district/js/sy_mobile.js

@@ -879,9 +879,6 @@ $(function () {
     }
 
     $(document).on('click','.handle_business',async function(){
-        var rmHeight = window.outerHeight - $('.right-map').innerHeight() - $('.head').innerHeight();
-        $('.show-sixth').show().css('height',rmHeight).siblings().hide();
-        $('.wrap_handle').show();
         $('.wrap_result .title-second h6').text('办理业务');
         var dep = $(this).parents('.address_box').siblings('.title_flex').children('p').text();
         $('.content_from_ajax .layui-tab-title').find('.layui-this').attr('id',dep);
@@ -913,8 +910,8 @@ $(function () {
                     function page(getClick,page,pagetype,dep){
                         $.ajax({
                             type: 'GET',
-                            // url: PATH + '/mapdata/getHandMatterPage',
-                            url: "http://192.168.0.40:7777/mapdata/getHandMatterPage",
+                            url: PATH + '/mapdata/getHandMatterPage',
+                            // url: "http://192.168.0.40:7777/mapdata/getHandMatterPage",
                             async: false,
                             dataType: 'json',
                             data: {
@@ -931,6 +928,9 @@ $(function () {
                                     xrResultList(getClick);
                                     indexList = 1;
                                 }else if (res.data != null) {
+                                    var rmHeight = window.outerHeight - $('.right-map').innerHeight() - $('.head').innerHeight();
+                                    $('.show-sixth').show().css('height',rmHeight).siblings().hide();
+                                    $('.wrap_handle').show();
                                     count = res.count;
                                     var discript = ''
                                     var html = ''
@@ -1292,8 +1292,8 @@ $(function () {
                     function page(getClick,page,pagetype){
                         $.ajax({
                             type: 'GET',
-                            // url: PATH + '/mapdata/getHandMatterPage',
-                            url: "http://192.168.0.40:7777/mapdata/getHandMatterPage",
+                            url: PATH + '/mapdata/getHandMatterPage',
+                            // url: "http://192.168.0.40:7777/mapdata/getHandMatterPage",
                             async: false,
                             dataType: 'json',
                             data: {