221 lines
4.2 KiB
XML
221 lines
4.2 KiB
XML
|
|
{
|
|
"widgettype":"VBox",
|
|
"options":{"cheight":40,"width":"100%"},
|
|
"subwidgets":[{
|
|
"id":"dda_approval_configs_tbl",
|
|
"widgettype":"Tabular",
|
|
"options":{
|
|
"width":"100%",
|
|
"height":"100%",
|
|
|
|
|
|
"title":"审批节点配置",
|
|
|
|
|
|
|
|
|
|
"css":"card",
|
|
|
|
|
|
"editable":{
|
|
|
|
"new_data_url":"{{entire_url('add_dda_approval_configs.dspy')}}",
|
|
|
|
|
|
"delete_data_url":"{{entire_url('delete_dda_approval_configs.dspy')}}",
|
|
|
|
|
|
"update_data_url":"{{entire_url('update_dda_approval_configs.dspy')}}"
|
|
|
|
},
|
|
|
|
|
|
"data_url":"{{entire_url('./get_dda_approval_configs.dspy')}}",
|
|
|
|
"data_method":"GET",
|
|
"data_params":{{json.dumps(params_kw, indent=4, ensure_ascii=False)}},
|
|
"row_options":{
|
|
|
|
|
|
|
|
"browserfields": {
|
|
"exclouded": [],
|
|
"alters": {
|
|
"is_active": {
|
|
"uitype": "code",
|
|
"data": [
|
|
{
|
|
"value": "1",
|
|
"text": "启用"
|
|
},
|
|
{
|
|
"value": "0",
|
|
"text": "停用"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
|
|
|
|
"editexclouded":[
|
|
"id",
|
|
"org_id",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
|
|
"fields":[
|
|
{
|
|
"name": "id",
|
|
"title": "主键ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "主键ID"
|
|
},
|
|
{
|
|
"name": "org_id",
|
|
"title": "组织ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"default": "0",
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "组织ID"
|
|
},
|
|
{
|
|
"name": "biz_type",
|
|
"title": "业务类型",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "业务类型"
|
|
},
|
|
{
|
|
"name": "biz_type_title",
|
|
"title": "业务类型名称",
|
|
"type": "str",
|
|
"length": 100,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "业务类型名称"
|
|
},
|
|
{
|
|
"name": "process_code",
|
|
"title": "钉钉审批模板编码",
|
|
"type": "str",
|
|
"length": 100,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "钉钉审批模板编码"
|
|
},
|
|
{
|
|
"name": "agent_id",
|
|
"title": "钉钉应用AgentId",
|
|
"type": "str",
|
|
"length": 100,
|
|
"cwidth": 18,
|
|
"uitype": "str",
|
|
"datatype": "str",
|
|
"label": "钉钉应用AgentId"
|
|
},
|
|
{
|
|
"name": "form_config",
|
|
"title": "表单字段配置JSON",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "表单字段配置JSON"
|
|
},
|
|
{
|
|
"name": "approvers_config",
|
|
"title": "审批节点链JSON",
|
|
"type": "text",
|
|
"length": 0,
|
|
"uitype": "text",
|
|
"datatype": "text",
|
|
"label": "审批节点链JSON"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"title": "是否启用(1/0)",
|
|
"type": "str",
|
|
"length": 1,
|
|
"default": "1",
|
|
"cwidth": 4,
|
|
"uitype": "code",
|
|
"datatype": "str",
|
|
"label": "是否启用(1/0)",
|
|
"data": [
|
|
{
|
|
"value": "1",
|
|
"text": "启用"
|
|
},
|
|
{
|
|
"value": "0",
|
|
"text": "停用"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp",
|
|
"length": 0,
|
|
"uitype": "str",
|
|
"datatype": "timestamp",
|
|
"label": "创建时间"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp",
|
|
"length": 0,
|
|
"uitype": "str",
|
|
"datatype": "timestamp",
|
|
"label": "更新时间"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
"data_filter":{
|
|
"AND": [
|
|
{
|
|
"field": "biz_type",
|
|
"op": "LIKE",
|
|
"var": "biz_type_input"
|
|
},
|
|
{
|
|
"field": "is_active",
|
|
"op": "=",
|
|
"var": "is_active_input"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"page_rows":160,
|
|
"cache_limit":5
|
|
}
|
|
|
|
,"binds":[]
|
|
|
|
}]
|
|
} |