Authored by weiqingting

feature/4.5

... ... @@ -144,6 +144,20 @@ var SORTDATA={
// }
}
if(data[0].text&&data[0].text.indexOf("潮童")>-1){
$("#ageLevel").val("2|3");
}else{
$("#ageLevel").val("1");
}
$(":checkbox[name=ageLevel]").prop("checked",false);
$(":checkbox[name=ageLevel]").each(function(){
var name=$("#ageLevel").val();
if(name.indexOf($(this).val())>-1){
$(this).prop("checked",true)
}
});
// console.log(data);
}
};
var tabTree=new common.tabTree("#tree",SORTDATA);
... ...
module.exports = {
{"code":20003,"data":{
"auth":{"pid":"2794","account":"wxtest1","truename":"wxtest1","staff_code":"0","email":"wxtest1@yoho.cn","phone":"13521111111","create_time":"1441906728","expires":"1483200000","login_time":"1458789597","status":"1","identity":"7","auth_site":"1,2","supplier_id":0,"identity_cn":"有货平台运营","create_date":"2015-09-11 01:38:48","uid":"2794","name":"wxtest1"},
"menu":[{"title":"内容发布","parent":"menu-template","menu":[{"title":"资讯管理","href":"/guang/article/index","icon":"list-alt"},{"title":"文章分类管理","href":"/guang/article/sortindex","icon":"list-alt"},{"title":"标签管理","href":"/guang/tags/index","icon":"list-alt"},{"title":"标签分类管理","href":"/guang/tags/sort","icon":"list-alt"},{"title":"评论管理","href":"/guang/comments/index","icon":"list-alt"},{"title":"作者管理","href":"/guang/author/index","icon":"list-alt"},{"title":"Plus/Star管理","href":"/guang/plustar/index","icon":"list-alt"},{"title":"品牌关注","href":"/guang/relationship/index","icon":"list-alt"}]},{"title":"账号管理","parent":"menu-template","menu":[{"title":"用户管理","href":"/account/profile/index","icon":"list-alt"},{"title":"部门管理","href":"/account/dept/index","icon":"list-alt"},{"title":"角色管理","href":"/account/role/index","icon":"list-alt"},{"title":"菜单管理","href":"/account/resources/index","icon":"list-alt"},{"title":"权限管理","href":"/account/action/index","icon":"list-alt"}]},{"title":"供应商管理","parent":"menu-template","menu":[{"title":"创建供应商","href":"/supplier/supplier/index","icon":"list-alt"},{"title":"供应商列表","href":"/supplier/supplier/managelist","icon":"list-alt"},{"title":"供应商审核","href":"/supplier/supplier/auditlist","icon":"list-alt"}]},{"title":"品牌管理","parent":"menu-template","menu":[{"title":"品牌管理","href":"/erpproduct/brands/index","icon":"list-alt"}]},{"title":"合同管理","parent":"menu-template","menu":[{"title":"合同创建","href":"/supplier/agreement/index","icon":"list-alt"},{"title":"合同管理","href":"/supplier/agreement/manage","icon":"list-alt"},{"title":"合同审核","href":"/supplier/agreement/review","icon":"list-alt"}]},{"title":"店铺管理","parent":"menu-template","menu":[{"title":"店铺创建","href":"/supplier/store/index","icon":"list-alt"},{"title":"店铺信息管理","href":"/supplier/store/examine","icon":"list-alt"},{"title":"店铺审核管理","href":"/supplier/check/index","icon":"list-alt"},{"title":"管理员列表","href":"/supplier/storeadmin/index","icon":"list-alt"},{"title":"店铺装修管理","href":"/supplier/shop/decoration","icon":"list-alt"}]},{"title":"平台类目管理","parent":"menu-template","menu":[{"title":"物理类目管理","href":"/erpproduct/sort/index","icon":"list-alt"}]},{"title":"商品基础规则","parent":"menu-template","menu":[{"title":"商品属性管理","href":"/erpproduct/attribute/index","icon":"list-alt"},{"title":"尺码库","href":"/erpproduct/size/index","icon":"list-alt"},{"title":"品类关联尺码","href":"/erpproduct/sortsize/index","icon":"list-alt"},{"title":"实物测量属性","href":"/erpproduct/sizeattribute/index","icon":"list-alt"},{"title":"品类关联实物测量属性","href":"/erpproduct/sortattribute/index","icon":"list-alt"},{"title":"颜色管理","href":"/erpproduct/color/index","icon":"list-alt"},{"title":"品牌款型系列","href":"/erpproduct/brandfolder/index","icon":"list-alt"}]},{"title":"产品管理","parent":"menu-template","menu":[{"title":"产品属性管理","href":"/erpproduct/attribute/index","icon":"list-alt"},{"title":"品类列表","href":"/erpproduct/sort/index","icon":"list-alt"},{"title":"尺码列表","href":"/erpproduct/size/index","icon":"list-alt"},{"title":"品类尺码管理","href":"/erpproduct/sortsize/index","icon":"list-alt"},{"title":"尺码属性管理","href":"/erpproduct/sizeattribute/index","icon":"list-alt"},{"title":"品类尺码属性管理","href":"/erpproduct/sortattribute/index","icon":"list-alt"},{"title":"颜色管理","href":"/erpproduct/color/index","icon":"list-alt"},{"title":"参考尺码管理","href":"/cmsproduct/referencesize/index","icon":"list-alt"},{"title":"品牌款型","href":"/erpproduct/brandfolder/index","icon":"list-alt"}]},{"title":"商品管理","parent":"menu-template","menu":[{"title":"基础商品","href":"/supplier/baseproduct/index","icon":"list-alt"},{"title":"商品审核","href":"","icon":"list-alt"},{"title":"代销变价","href":"/goods/pricechange/index","icon":"list-alt"},{"title":"品牌变价合作模式","href":"/goods/brandCooperation/index","icon":"list-alt"},{"title":"上架审核","href":"/supplier/baseproduct/audit","icon":"list-alt"},{"title":"网销信息","href":"/goods/netsale/index","icon":"list-alt"}]},{"title":"活动管理","parent":"menu-template","menu":[{"title":"抽奖活动管理","href":"/activity/drawline/index","icon":"list-alt"}]},{"title":"发货单管理","parent":"menu-template","menu":[{"title":"发货单管理","href":"/supplier/invoice/index","icon":"list-alt"},{"title":"发货单审核","href":"/supplier/invoice/primaryaudit","icon":"list-alt"},{"title":"发货单二审","href":"/supplier/invoice/financialaudit","icon":"list-alt"}]},{"title":"外采单列表","parent":"menu-template","menu":[{"title":"外采单列表","href":"/supplier/externalinvoice/index","icon":"list-alt"}]},{"title":"资源管理","parent":"menu-template","menu":[{"title":"资源管理","href":"/resource/index/index","icon":"list-alt"},{"title":"平台管理","href":"/resource/platform/index","icon":"list-alt"},{"title":"资源分类管理","href":"/resource/sort/index","icon":"list-alt"}]},{"title":"帮助管理","parent":"menu-template","menu":[{"title":"帮助分类","href":"/operations/helpcategory/index","icon":"list-alt"},{"title":"帮助内容","href":"/operations/helpcontent/index","icon":"list-alt"}]},{"title":"运营管理","parent":"menu-template","menu":[{"title":"公告管理","href":"/operations/notice/index","icon":"list-alt"},{"title":"App入口管理","href":"/operations/entrance/index","icon":"list-alt"},{"title":"分类管理","href":"/operations/category/index","icon":"list-alt"},{"title":"App版本升级提醒","href":"/operations/version/index","icon":"list-alt"},{"title":"APP意见反馈管理","href":"/suggest/suggest/index","icon":"list-alt"},{"title":"热门意见管理","href":"/suggest/hotsuggest/index","icon":"list-alt"},{"title":"限售商品管理","href":"/limit/product/index","icon":"list-alt"},{"title":"专题管理","href":"/runManage/subjectManage/index","icon":"list-alt"}]},{"title":"搜索词管理","parent":"menu-template","menu":[{"title":"默认热搜索词管理","href":"/operations/terms/index?type=1","icon":"list-alt"},{"title":"下拉词管理","href":"/operations/terms/index?type=2","icon":"list-alt"},{"title":"热搜索词管理","href":"/operations/terms/index?type=3","icon":"list-alt"},{"title":"同义词管理","href":"/operations/terms/index?type=4","icon":"list-alt"},{"title":"停用词管理","href":"/operations/terms/index?type=5","icon":"list-alt"}]},{"title":"营销管理","parent":"menu-template","menu":[{"title":"vip累计金额翻倍","href":"/market/vipamount/index","icon":"list-alt"},{"title":"限购码管理","href":"/market/limitcode/index","icon":"list-alt"},{"title":"优惠码管理","href":"/market/coupon/index","icon":"list-alt"},{"title":"商品池管理","href":"/market/productPool/index","icon":"list-alt"}]}],
"noRight":{}
}}
}
\ No newline at end of file
... ...