bugfix
This commit is contained in:
parent
3f5ec6b1c7
commit
f734989d28
@ -17,7 +17,7 @@
|
||||
},
|
||||
"target":"Popup",
|
||||
"options":{
|
||||
"url":"{{entire_url('user_menu.ui')}}"
|
||||
"url":"{{entire_url('/user_menu.ui')}}"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@ -1,55 +0,0 @@
|
||||
{
|
||||
"widgettype":"Menu",
|
||||
"options":{
|
||||
"cwidth":10,
|
||||
"target":"PopupWindow",
|
||||
"popup_options":{
|
||||
"height":"70%",
|
||||
"width":"70%"
|
||||
},
|
||||
"items":[
|
||||
{% if 'customer.customer' in get_user_roles(get_user()) %}
|
||||
{
|
||||
"name":"recharge",
|
||||
"label":"充值",
|
||||
"url":"{{entire_url('/platformbiz/recharge.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"myacc",
|
||||
"label":"我的账户",
|
||||
"url":"{{entire_url('myaccount')}}"
|
||||
},
|
||||
{
|
||||
"name":"mybill",
|
||||
"label":"我的账单",
|
||||
"url":"{{entire_url('mybill')}}"
|
||||
},
|
||||
{
|
||||
"name":"myorder",
|
||||
"label":"我的订单",
|
||||
"url":"{{entire_url('myorder')}}"
|
||||
},
|
||||
{
|
||||
"name":"myresource",
|
||||
"label":"我的资源",
|
||||
"url":"{{entire_url('myresource')}}"
|
||||
},
|
||||
{% endif %}
|
||||
{
|
||||
"name":"resetpwd",
|
||||
"label":"重置密码",
|
||||
"url":"{{entire_url('reset_password')}}"
|
||||
},
|
||||
{
|
||||
"name":"myrole",
|
||||
"label":"我的角色",
|
||||
"url":"{{entire_url('myrole.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"logout",
|
||||
"label":"签退",
|
||||
"url":"{{entire_url('logout.dspy')}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
28
wwwroot/usermenu.ui
Normal file
28
wwwroot/usermenu.ui
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"widgettype":"Menu",
|
||||
"options":{
|
||||
"cwidth":10,
|
||||
"target":"PopupWindow",
|
||||
"popup_options":{
|
||||
"height":"70%",
|
||||
"width":"70%"
|
||||
},
|
||||
"items":[
|
||||
{
|
||||
"name":"resetpwd",
|
||||
"label":"重置密码",
|
||||
"url":"{{entire_url('reset_password')}}"
|
||||
},
|
||||
{
|
||||
"name":"myrole",
|
||||
"label":"我的角色",
|
||||
"url":"{{entire_url('myrole.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"logout",
|
||||
"label":"签退",
|
||||
"url":"{{entire_url('logout.dspy')}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user