bugfix
This commit is contained in:
parent
b46426abe0
commit
e452bce58f
@ -35,15 +35,9 @@
|
|||||||
"subtables":[
|
"subtables":[
|
||||||
{
|
{
|
||||||
"field":"orgid",
|
"field":"orgid",
|
||||||
"title":"Org. type",
|
"title":"类型管理",
|
||||||
"url":"../orgtypes",
|
"url":"../orgtypes",
|
||||||
"subtable":"orgtypes"
|
"subtable":"orgtypes"
|
||||||
},
|
|
||||||
{
|
|
||||||
"field":"orgid",
|
|
||||||
"title":"Users",
|
|
||||||
"url":"../users",
|
|
||||||
"subtable":"users"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"record_toolbar": null
|
"record_toolbar": null
|
||||||
|
|||||||
44
json/provider.json
Normal file
44
json/provider.json
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"tblname": "organization",
|
||||||
|
"alias":"provider",
|
||||||
|
"title":"供应商",
|
||||||
|
"params": {
|
||||||
|
"sortby":"orgname",
|
||||||
|
"get_data_url": "{{entire_url('../get_provider.dspy')}}",
|
||||||
|
"new_data_url": "{{entire_url('../add_provider.dspy')}}",
|
||||||
|
"editor":{
|
||||||
|
"binds":[
|
||||||
|
{
|
||||||
|
"wid":"province_id",
|
||||||
|
"event":"changed",
|
||||||
|
"actiontype":"script",
|
||||||
|
"target":"city_id",
|
||||||
|
"script":"this.loadData({cond:'parentid=\\''+params.province_id+'\\''})"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wid":"city_id",
|
||||||
|
"event":"changed",
|
||||||
|
"actiontype":"script",
|
||||||
|
"target":"distinct_id",
|
||||||
|
"script":"this.loadData({cond:'parentid=\\'' + params.city_id+ '\\''})"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"browserfields": {
|
||||||
|
"exclouded": ["id"],
|
||||||
|
"alters": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"editexclouded": [
|
||||||
|
"id"
|
||||||
|
],
|
||||||
|
"subtables":[
|
||||||
|
{
|
||||||
|
"field":"orgid",
|
||||||
|
"title":"机构类型",
|
||||||
|
"subtable":"orgtypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"record_toolbar": null
|
||||||
|
}
|
||||||
|
}
|
||||||
49
json/reseller.json
Normal file
49
json/reseller.json
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
"tblname": "organization",
|
||||||
|
"alias":"reseller",
|
||||||
|
"title":"商户",
|
||||||
|
"params": {
|
||||||
|
"get_data_url": "{{entire_url('../get_reseller.dspy')}}",
|
||||||
|
"new_data_url": "{{entire_url('../add_reseller.dspy')}}",
|
||||||
|
"sortby":"orgname",
|
||||||
|
"editor":{
|
||||||
|
"binds":[
|
||||||
|
{
|
||||||
|
"wid":"province_id",
|
||||||
|
"event":"changed",
|
||||||
|
"actiontype":"script",
|
||||||
|
"target":"city_id",
|
||||||
|
"script":"this.loadData({cond:'parentid=\\''+params.province_id+'\\''})"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"wid":"city_id",
|
||||||
|
"event":"changed",
|
||||||
|
"actiontype":"script",
|
||||||
|
"target":"distinct_id",
|
||||||
|
"script":"this.loadData({cond:'parentid=\\'' + params.city_id+ '\\''})"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"browserfields": {
|
||||||
|
"exclouded": ["id"],
|
||||||
|
"alters": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"editexclouded": [
|
||||||
|
"id"
|
||||||
|
],
|
||||||
|
"subtables":[
|
||||||
|
{
|
||||||
|
"field":"orgid",
|
||||||
|
"title":"机构类型",
|
||||||
|
"subtable":"orgtypes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"field":"orgid",
|
||||||
|
"title":"用户",
|
||||||
|
"subtable":"users"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"record_toolbar": null
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user