安徽黄山门票多少钱山


搜索位置
标题
全文
匹配度
模糊
精准
排序
相关程度
发布日期
');
}
getNav(node.id, node.isParent).done(function () {
if (null != node.children) {
getCatalogScreen(node.id);
getGuiDangPic(node.id)
} else {
getFirstData(node.id, 'list');
getGuiDangPic(node.id)
}
});
}
}
}
},
ztreeData: catalogs['6616089'], // 动态生成的数据
processName: [], // 根据后端配置的‘过程’的分类名称
processObj: {} // 分类后的所有数据
};
var catId = Ls.url.get('catId'),
tabTreeObjs = {}; //存放tab下的所有树
initTree();
function linkCheck(treeId, treeNode) {
var flag = true;
if (treeNode.isParent && treeNode.children) {
var nodes = cur.organCatalogTree.transformToArray(treeNode.children);
var linkCount = 0;
for (var i = 0, l = nodes.length; i
0 && cur.organIdArr.indexOf('6616089') > -1) {
if (cur.processName.length > 0) {
// 根据分组显示分类DOM
$('.wgk_xxknr').html(Ls.template('_tpl', {data: cur.processName}));
$.each(cur.processName, function (i, el) {
tabTreeObjs['dtab' + i] = $.fn.zTree.init($('#tree_dtab' + i), cur.ztree_settings, cur.processObj[el].data);
// 根据地址栏的catId操作树
if (catId && catId > 0) {
var nodeCat = tabTreeObjs['dtab' + i].getNodeByParam('id', catId, null);
if (nodeCat) {
tabTreeObjs['dtab' + i].selectNode(nodeCat, false, true);
// var node$ = $('#' + nodeCat.tId + '_a');
// node$ && $('.wgk_xxknr').scrollTop(node$.offset().top);
if (nodeCat.isParent) {
$('#' + nodeCat.tId).attr({ 'aria-expanded': 'true' });
}
}
} else {
if (bumenArr.indexOf('6616089') > -1 && (Ls.url.get('type') === '4')) {
var nodeCat = tabTreeObjs['dtab' + i].getNodeByParam('id', x, null);
if (nodeCat) {
tabTreeObjs['dtab' + i].selectNode(nodeCat, false, true);
// var node$ = $('#' + nodeCat.tId + '_a');
// node$ && $('.wgk_xxknr').scrollTop(node$.offset().top);
// node$ && node$.trigger('click');
if (nodeCat.isParent) {
$('#' + nodeCat.tId).attr({ 'aria-expanded': 'true' });
}
}
}
}
});
} else {
$('#organ_catalog_tree').parent().removeClass('dn');
// 根据地址栏的catId操作树
if (catId && catId > 0) {
var nodeCat = cur.organCatalogTree.getNodeByParam('id', catId, null);
if (nodeCat) {
cur.organCatalogTree.selectNode(nodeCat, false, true);
// var node$ = $('#' + nodeCat.tId + '_a');
// node$ && $('.wgk_xxknr').scrollTop(node$.offset().top);
if (nodeCat.isParent) {
$('#' + nodeCat.tId).attr({ 'aria-expanded': 'true' });
}
}
} else {
if (bumenArr.indexOf('6616089') > -1 && (Ls.url.get('type') === '4')) {
var nodeCat = cur.organCatalogTree.getNodeByParam('id', x, null);
if (nodeCat) {
cur.organCatalogTree.selectNode(nodeCat, false, true);
if (nodeCat.isParent) {
$('#' + nodeCat.tId).attr({ 'aria-expanded': 'true' });
}
// var node$ = $('#' + nodeCat.tId + '_a');
// node$ && $('.wgk_xxknr').scrollTop(node$.offset().top);
// node$ && node$.trigger('click');
}
}
}
}
// $('.wgk_xxknr, .wgk_xxknr .ztree').height($('.wgk_xxktop').height());
}
function getNav(catId, isParent) {
debugger;
return Ls.ajax({
url: '/huangshanzwgk/zwgk/site/label/8888',
dataType: 'json',
// dataType: 'jsonp',
// jsonp: 'jsonpCallback',
data: {
isJson: true,
labelName: 'publicNav',
organId: '6616089',
catId: catId,
type: 4
}
}).done(function (html) {
// console.log(this.data)
$('#xxgk_lmcon').html(''+
'当前位置:首页 > ' + html +
'' +
'' +
'' +
'' +
'' +
'' +
'');
if (isParent) {
$('.gklm_search').remove();
$('.wzy_position').removeClass('prd');
}
publicCatalogAjaxMetaInfo(catId,'6616089');
});
}
function getGuiDangPic(catId) {
Ls.ajax({
url: '/zwgk/public/applyQuery/4526',
dataType: 'html',
data: {
organId: '6616089',
catId: catId
}
}).done(function (html) {
$('#xxgk_lmcon').append(html);
});
}
function getCatalogScreen(catId) {
Ls.ajax({
url: '/huangshanzwgk/zwgk/site/label/8888',
dataType: 'json',
// dataType: 'jsonp',
// jsonp: 'jsonpCallback',
data: {
isJson: true,
labelName: 'catalogScreen',
organId: '6616089',
catId: catId
}
}).done(function (resp) {
if (resp.length) {
getFirstData(resp[0], 'num', resp, 0);
} else {
getFirstData(catId, 'list');
}
});
}
function publicCatalogAjaxMetaInfo(catId,organId) {
Ls.ajax({
url: '/huangshanzwgk/zwgk/site/label/8888',
dataType: 'json',
data: {
isJson: true,
labelName: 'publicCatalogAjaxMetaInfo',
catId: catId,
organId: organId
}
}).done(function (data) {
$('meta[name="ColumnName"]').attr('content', data.ColumnName);
$('meta[name="ColumnDescription"]').attr('content', data.ColumnDescription);
$('meta[name="ColumnType"]').attr('content', "信息公开目录");
$('meta[name="ColumnKeywords"]').attr('content', data.ColumnKeywords);
});
}
function getFirstData(catId, action, ids, num) {
var n = num + 1;
Ls.ajax({
url: '/huangshanzwgk/zwgk/site/label/8888',
dataType: 'html',
data: {
labelName: 'publicInfoList',
siteId: 6793339,
action: action
'num',
isDate: true,
dateFormat: 'yyyy-MM-dd',
length: 50,
organId: '6616089',
type: 4,
catId: catId,
keyWords: cur.keyWords
'',
file: '/c2/hsxxgk2022/publicInfoList-test',
result: '暂无相关信息'
}
}).done(function (html) {
if (html.indexOf(' -1) {
$('#xxgk_lmcon').append(html);
cur.keyWords && $('#SearchWords').val(cur.keyWords);
cur.keyWords = ''
}
if (ids && ids.length > n) {
getFirstData(ids[n], action, ids, n);
}
$('.gklm_search').show();
$('.wzy_position').addClass('prd');
});
}
$('.xxgk_lmbox').on('click', '.wgk_xxktab ul li', function () {
var that = $(this);
that.toggleClass('active');
that.closest('.wgk_con').find('.wgk_contree').toggleClass('active');
if(that.hasClass('active')) {
that.attr('aria-expanded', true);
} else {
that.attr('aria-expanded', false);
}
}).on('click', '.publicNavPos', function (e) {
e.preventDefault();
var id = $(this).data('catid'),
node;
for (var key in tabTreeObjs) {
if (tabTreeObjs.hasOwnProperty(key)) {
node = tabTreeObjs[key].getNodeByParam('id', id, null);
if (node) {
$('#' + node.tId + '_a').trigger('click');
break
}
}
}
});
});
政府信息公开年报
依申请公开
政府重点信息公开

我要回帖

更多关于 黄山最佳旅游时间几月份 的文章