fix: pricing_program_timing.json+editable配置修复build.sh错误
This commit is contained in:
parent
d246d2a5ac
commit
eeaebac588
@ -2,7 +2,12 @@
|
|||||||
"tblname": "pricing_program",
|
"tblname": "pricing_program",
|
||||||
"title": "定价项目",
|
"title": "定价项目",
|
||||||
"params": {
|
"params": {
|
||||||
"editable": "default",
|
"editable": {
|
||||||
|
"get_data_url": "{{entire_url('get_pricing_program.dspy')}}",
|
||||||
|
"new_data_url": "{{entire_url('../api/pricing_program_create.dspy')}}",
|
||||||
|
"update_data_url": "{{entire_url('../api/pricing_program_update.dspy')}}",
|
||||||
|
"delete_data_url": "{{entire_url('../api/pricing_program_delete.dspy')}}"
|
||||||
|
},
|
||||||
"sortby": "name",
|
"sortby": "name",
|
||||||
"logined_userorgid": "ownerid",
|
"logined_userorgid": "ownerid",
|
||||||
"browserfields": {
|
"browserfields": {
|
||||||
|
|||||||
@ -2,123 +2,19 @@
|
|||||||
"tblname": "pricing_program_timing",
|
"tblname": "pricing_program_timing",
|
||||||
"title": "定价项目时序",
|
"title": "定价项目时序",
|
||||||
"params": {
|
"params": {
|
||||||
"editable": "default",
|
"editable": {
|
||||||
|
"get_data_url": "{{entire_url('get_pricing_program_timing.dspy')}}",
|
||||||
|
"new_data_url": "{{entire_url('../api/pricing_program_timing_create.dspy')}}",
|
||||||
|
"update_data_url": "{{entire_url('../api/pricing_program_timing_update.dspy')}}",
|
||||||
|
"delete_data_url": "{{entire_url('../api/pricing_program_timing_delete.dspy')}}"
|
||||||
|
},
|
||||||
|
"sortby": "enabled_date desc",
|
||||||
|
"logined_userorgid": "ppid",
|
||||||
"browserfields": {
|
"browserfields": {
|
||||||
"exclouded": ["id", "ppid", "pricing_data" ],
|
"exclouded": ["id", "ppid"]
|
||||||
"alters": {}
|
|
||||||
},
|
},
|
||||||
"editexclouded": [
|
"editexclouded": [
|
||||||
"id", "ppid", "name"
|
"id", "ppid"
|
||||||
],
|
|
||||||
"toolbar":{
|
|
||||||
"tools":[
|
|
||||||
{
|
|
||||||
"name": "download_pattern",
|
|
||||||
"label": "定价模版",
|
|
||||||
"selected_row": true,
|
|
||||||
"icon": "{{entire_url('/bricks/imgs/download.svg')}}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "upload_pricing_data",
|
|
||||||
"label": "上传定价数据",
|
|
||||||
"selected_row": true,
|
|
||||||
"icon": "{{entire_url('/bricks/imgs/upload.svg')}}"
|
|
||||||
}, {
|
|
||||||
"name": "download_pricing_data",
|
|
||||||
"label": "下载定价数据",
|
|
||||||
"selected_row": true,
|
|
||||||
"icon": "{{entire_url('/bricks/imgs/download.svg')}}"
|
|
||||||
}, {
|
|
||||||
"name": "test",
|
|
||||||
"selected_row": true,
|
|
||||||
"label": "验证定价",
|
|
||||||
"icon": "{{entire_url('/bricks/imgs/test.svg')}}"
|
|
||||||
}, {
|
|
||||||
"name": "view_pricing_data",
|
|
||||||
"selected_row": true,
|
|
||||||
"label": "定价数据",
|
|
||||||
"icon": "{{entire_url('/bricks/imgs/docx.svg')}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"binds": [
|
|
||||||
{
|
|
||||||
"wid": "self",
|
|
||||||
"event": "download_pattern",
|
|
||||||
"actiontype": "newwindow",
|
|
||||||
"target": "self",
|
|
||||||
"options":{
|
|
||||||
"params": {
|
|
||||||
"ppid": "{{params_kw.ppid}}"
|
|
||||||
},
|
|
||||||
"method": "POST",
|
|
||||||
"url": "{{entire_url('../download_pricing_pattern.dspy')}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"wid": "self",
|
|
||||||
"event": "upload_pricing_data",
|
|
||||||
"actiontype": "urlwidget",
|
|
||||||
"target": "PopupWindow",
|
|
||||||
"popup_options": {
|
|
||||||
"title": "上传定价数据",
|
|
||||||
"dismiss_events": ["cancel"]
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"params": {
|
|
||||||
"ppid": "{{params_kw.ppid}}"
|
|
||||||
},
|
|
||||||
"method": "POST",
|
|
||||||
"url": "{{entire_url('../load_pricing_data.ui')}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"wid": "self",
|
|
||||||
"event": "download_pricing_data",
|
|
||||||
"actiontype": "newwindow",
|
|
||||||
"target": "self",
|
|
||||||
"options": {
|
|
||||||
"params": {
|
|
||||||
"id": "{{params_kw.id}}"
|
|
||||||
},
|
|
||||||
"method": "POST",
|
|
||||||
"url": "{{entire_url('../download_pricing_data.dspy')}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"wid": "self",
|
|
||||||
"event": "test",
|
|
||||||
"actiontype": "urlwidget",
|
|
||||||
"target": "PopupWindow",
|
|
||||||
"popup_options": {
|
|
||||||
"title": "验证定价",
|
|
||||||
"dismiss_events": ["cancel"]
|
|
||||||
},
|
|
||||||
"options":{
|
|
||||||
"params": {
|
|
||||||
"id": "{{params_kw.id}}"
|
|
||||||
},
|
|
||||||
"method": "POST",
|
|
||||||
"url": "{{entire_url('../pricing_test.ui')}}"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"wid": "self",
|
|
||||||
"event": "view_pricing_data",
|
|
||||||
"actiontype": "urlwidget",
|
|
||||||
"target": "PopupWindow",
|
|
||||||
"popup_options": {
|
|
||||||
"title": "定价数据",
|
|
||||||
"width": "60%",
|
|
||||||
"height": "70%"
|
|
||||||
},
|
|
||||||
"options": {
|
|
||||||
"url": "{{entire_url('../pricing_data_display.ui')}}",
|
|
||||||
"params": {
|
|
||||||
"id": "${id}$"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user