一段下拉菜单代码,请问怎样通过权限控制对不同权限的用户显示特定的菜单项目?
比如想对普通用户隐藏住户管理这个菜单项目该怎么做呢??
急用...谢谢!
节选代码如下:
stm_aix("p0i6","p0i0",[0,"社区管理系统"],140,29);
stm_aix("p0i7","p0i2",[0,"主页","","",-1,-1,0,"主页.html"],140,28);
stm_aix("p0i8","p0i2",[0,"住户管理","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_29.gif","arrow_32.gif",16,9],140,28);
stm_bpx("p1","p0",[1,2,0,0,1,2,0,0,100,"progid:DXImageTransform.Microsoft.Iris(irisStyle=CIRCLE,motion=out,enabled=0,Duration=0.40)",3,"progid:DXImageTransform.Microsoft.Iris(irisStyle=CIRCLE,motion=in,enabled=0,Duration=0.40)",2]);
stm_aix("p1i0","p0i2",[0,"住户资料管理","","",-1,-1,0,"住户资料管理首页.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFFF",1,"#B7CEE2",0,"fade.gif"],140,30);
stm_aix("p1i1","p1i0",[0,"缴费状况管理","","",-1,-1,0,"缴费状况管理首页.html"],140,30);
stm_ep();
stm_aix("p0i9","p0i8",[0,"财务管理"],140,28);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"收支明细表","","",-1,-1,0,"账款资料首页.html"],140,30);
stm_aix("p2i1","p1i0",[0,"财产目录","","",-1,-1,0,"财产目录资料首页.html"],140,30);
stm_ep();
1个回答
楼主,您好
感谢您关注JAVA标签
如果是针对用户显示下拉菜单,
初始化下拉菜单的处理中,应该添加权限的处理
即针对不同权限的用户做不同的查询处理
这样查询出来的下拉菜单对应的内容就不同,
同时也控制住了权限
希望我的回答对你有所帮助,O(∩_∩)O~
◆◆
评论读取中....
请登录后再发表评论!
◆◆
修改失败,请稍后尝试
精华知识