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