Commit 42f11ff4006a3e7250c6c2e2464133fa17684a24
1 parent
558b459d
更新区域名称
Showing
2 changed files
with
4 additions
and
3 deletions
js/pagejs/guidance.js
@@ -436,7 +436,7 @@ $(function () { | @@ -436,7 +436,7 @@ $(function () { | ||
436 | "Title": "行政区划", | 436 | "Title": "行政区划", |
437 | "inputName": "selected1_value", | 437 | "inputName": "selected1_value", |
438 | // 默认选中的值(参数值写需要选中的select的value值) | 438 | // 默认选中的值(参数值写需要选中的select的value值) |
439 | - "selected": "923", | 439 | + "selected": "2705", |
440 | Succee: function () { | 440 | Succee: function () { |
441 | // console.log($("input[name='selected1_value']").attr('value')); | 441 | // console.log($("input[name='selected1_value']").attr('value')); |
442 | // var checktext; | 442 | // var checktext; |
@@ -605,6 +605,7 @@ $(function () { | @@ -605,6 +605,7 @@ $(function () { | ||
605 | dataState:1, | 605 | dataState:1, |
606 | levels: levels | 606 | levels: levels |
607 | }; | 607 | }; |
608 | + | ||
608 | $.ajax({ | 609 | $.ajax({ |
609 | type: "post", | 610 | type: "post", |
610 | url: dataUrl.util.listGuideScreenByAreaCodes(), | 611 | url: dataUrl.util.listGuideScreenByAreaCodes(), |
js/pagejs/parkquery.js
@@ -445,7 +445,7 @@ $(function () { | @@ -445,7 +445,7 @@ $(function () { | ||
445 | "Title": "行政区划", | 445 | "Title": "行政区划", |
446 | "inputName": "selected1_value", | 446 | "inputName": "selected1_value", |
447 | // 默认选中的值(参数值写需要选中的select的value值) | 447 | // 默认选中的值(参数值写需要选中的select的value值) |
448 | - "selected": "923", | 448 | + "selected": "2705", |
449 | Succee: function () { | 449 | Succee: function () { |
450 | // console.log($("input[name='selected1_value']").attr('value')); | 450 | // console.log($("input[name='selected1_value']").attr('value')); |
451 | checkText = $(".sel-title").eq(0).text(); | 451 | checkText = $(".sel-title").eq(0).text(); |
@@ -461,7 +461,7 @@ $(function () { | @@ -461,7 +461,7 @@ $(function () { | ||
461 | serfun(); | 461 | serfun(); |
462 | } | 462 | } |
463 | }); | 463 | }); |
464 | - // getBoundary("赤峰市红山区"); | 464 | + getBoundary(sysComm.areaName); |
465 | serfun(); | 465 | serfun(); |
466 | map.centerAndZoom(point, 15); | 466 | map.centerAndZoom(point, 15); |
467 | 467 |