buggfix
This commit is contained in:
parent
9e0c8703ad
commit
dee14b6997
@ -1,9 +1,11 @@
|
||||
{
|
||||
"tblname":"prodtype",
|
||||
"uitype":"tree",
|
||||
"params":{
|
||||
"data_params":{
|
||||
"parrentid":"null"
|
||||
},
|
||||
"idField":"id",
|
||||
"textField":"path",
|
||||
"parentField":"parentid",
|
||||
"editable":true,
|
||||
"browserfields": {
|
||||
"exclouded": ["id", "parentid" ],
|
||||
"alters": {}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"tblname":"product",
|
||||
"params":{
|
||||
"logined_userorgid":"ownerid",
|
||||
"browserfields": {
|
||||
"exclouded": ["id"],
|
||||
"alters": {}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
python ~/py/rbac/script/roleperm.py sage platformbiz reseller sale agreements agreedetail agreedetailstep agreeproduct organization
|
||||
python ~/py/rbac/script/roleperm.py sage platformbiz reseller operator coupontype agreements agreedetail agreedetailstep agreeproduct organization product prodpricing prodpricingtab coupontype coupon coupon_log recharge_log resource biz_order
|
||||
python ~/py/rbac/script/roleperm.py sage platformbiz reseller sale reseller retail_agree agreedetail agreedetailstep agreeproduct organization
|
||||
python ~/py/rbac/script/roleperm.py sage platformbiz reseller operator provide_agree coupontype agreedetail agreedetailstep agreeproduct organization product prodpricing prodpricingtab coupontype coupon coupon_log recharge_log resource biz_order
|
||||
python ~/py/rbac/script/roleperm.py sage platformbiz owner operator paychannel prodtype
|
||||
python ~/py/rbac/script/roleperm.py sage platformbiz customer customer coupon coupon_log biz_order recharge_log resource
|
||||
|
27
wwwroot/menu.ui
Normal file
27
wwwroot/menu.ui
Normal file
@ -0,0 +1,27 @@
|
||||
{% set roles = get_user_roles(get_user()) %}
|
||||
{
|
||||
"widgettype":"Menu",
|
||||
"options":{
|
||||
"target":"page_center",
|
||||
"cwidth":10,
|
||||
"items":[
|
||||
{% if 'reseller.operator' in roles %}
|
||||
{
|
||||
"name":"provider",
|
||||
"label":"供应商管理"
|
||||
"url":"{{entire_url('/platformbiz/provider')}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'reseller.sale' in roles %}
|
||||
{
|
||||
"name":"reseller",
|
||||
"label":"分销商管理",
|
||||
"url":"{{entire_url('/platformbiz/reseller'}}"
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'reseller.accountant' in roles %}
|
||||
{% endif %}
|
||||
{}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user