...
|
...
|
@@ -145,11 +145,11 @@ tabTree.prototype= { |
|
|
g.getData(g._getParam(_next))
|
|
|
} else {
|
|
|
g.active_count = 0;
|
|
|
g.setHeadVal();
|
|
|
g.setHeadVal(true);
|
|
|
g.reset()
|
|
|
}
|
|
|
} else {
|
|
|
g.setHeadVal();
|
|
|
g.setHeadVal(true);
|
|
|
g.reset()
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -186,8 +186,9 @@ tabTree.prototype= { |
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
url=p.url||url;
|
|
|
|
|
|
param.status = p.status;
|
|
|
param.sortLevel = p.sortLevel;
|
|
|
var ajaxOptions = {
|
...
|
...
|
@@ -209,7 +210,7 @@ tabTree.prototype= { |
|
|
g.rows.length = 0;
|
|
|
if (items.data.length == 0) {
|
|
|
g.active_count = 0;
|
|
|
g.setHeadVal();
|
|
|
g.setHeadVal(true);
|
|
|
g.reset();
|
|
|
}else{
|
|
|
$.each(items.data, function(count, item) {
|
...
|
...
|
@@ -224,16 +225,13 @@ tabTree.prototype= { |
|
|
g.records.push(count);
|
|
|
g.rows.push(item)
|
|
|
});
|
|
|
if ($("iframe", g.dom["citybox"]).length > 0) {
|
|
|
$("iframe", g.dom["citybox"]).height(g.element[0].offsetHeight)
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
error: function(e1, e2) {}
|
|
|
};
|
|
|
$.ajax(ajaxOptions)
|
|
|
},
|
|
|
setHeadVal: function() {
|
|
|
setHeadVal: function(bool) {
|
|
|
var g = this,
|
|
|
p = this.options;
|
|
|
var arr=[];
|
...
|
...
|
@@ -246,7 +244,7 @@ tabTree.prototype= { |
|
|
p.datas.push(item)
|
|
|
});
|
|
|
if (p.complete != null) {
|
|
|
p.complete(p.datas, false)
|
|
|
p.complete(p.datas, bool)
|
|
|
}
|
|
|
},
|
|
|
renderHeader: function() {
|
...
|
...
|
|