|
...
|
...
|
@@ -24,12 +24,12 @@ function treeSelect(config) { |
|
|
|
});
|
|
|
|
form.render();
|
|
|
|
cityEvent(config);
|
|
|
|
//areaEvent(config);
|
|
|
|
areaEvent(config);
|
|
|
|
form.on('select(' + config.s1 + ')', function (data) {
|
|
|
|
cityEvent(data);
|
|
|
|
form.on('select(' + config.s2 + ')', function (data) {
|
|
|
|
areaEvent(data);
|
|
|
|
});
|
|
|
|
//form.on('select(' + config.s2 + ')', function (data) {
|
|
|
|
//areaEvent(data);
|
|
|
|
//});
|
|
|
|
});
|
|
|
|
|
|
|
|
function cityEvent(data) {
|
...
|
...
|
|