20260923165454

This commit is contained in:
oneao committed 2026-09-23 16:54:54 +08:00
1 parent 0abe3706c8
commit e6935b8fa4
173 files changed
+14975 -2295

No files matched your search

+118 -44
View File
@@ -278,20 +278,39 @@ values ('v_wf_definition', 'view', N'{
{ "field": "v_canuse_name", "width": 90 },
{ "field": "v_published_at", "width": 170 },
{ "field": "v_published_by", "width": 110 },
{ "field": "b_bz", "width": 200 }
{ "field": "b_bz", "width": 200, "visible": false }
]
}', 1),
('v_wf_definition', 'query', N'{
"schemaVersion": 1,
"groups": [
{ "conditions": [
{ "field": "b_name", "operator": "like" },
{ "field": "b_id", "operator": "like" },
{ "field": "v_canuse_name", "operator": "eq" },
{ "field": "v_published_at", "operator": "between" }
] }
"schemaVersion": 2,
"defaultViewCode": "all",
"views": [
{ "code": "all", "label": "全部", "order": 10 },
{ "code": "recent_published", "label": "近三个月发布", "order": 20,
"conditions": [ { "field": "v_published_at", "operator": "between", "value": { "preset": "recent_3_months" } } ] },
{ "code": "unpublished", "label": "未发布", "order": 30,
"conditions": [ { "field": "v_published_at", "operator": "is_null" } ] }
],
"quick": ["b_name", "b_id"]
"keywordSearch": {
"placeholder": "搜索流程名称、编码",
"trigger": "enter_or_debounce",
"fields": ["b_name", "b_id"]
},
"quickFilters": [
{ "field": "v_published_at", "order": 10 },
{ "field": "v_canuse_name", "order": 20 }
],
"filterGroups": [
{ "code": "basic", "label": "基础信息", "order": 10, "fields": ["b_name", "b_id", "v_canuse_name"] },
{ "code": "time", "label": "发布时间", "order": 20, "fields": ["v_published_at", "v_published_by"] }
],
"queryFields": {
"b_name": { "component": "input", "operator": "like" },
"b_id": { "component": "input", "operator": "like" },
"v_canuse_name": { "component": "select", "operator": "eq" },
"v_published_at": { "component": "datetime", "operator": "between" },
"v_published_by": { "component": "input", "operator": "like" }
}
}', 1);
GO
@@ -299,27 +318,44 @@ insert into dbo.s_module_schema (b_module_id, b_schema_type, b_schema_json, b_ca
values ('v_wf_version', 'view', N'{
"schemaVersion": 1,
"columns": [
{ "field": "b_definition_id", "width": 160 },
{ "field": "b_definition_id", "width": 160, "visible": false },
{ "field": "v_definition_name","width": 200 },
{ "field": "b_version_no", "width": 90 },
{ "field": "v_status_name", "width": 90 },
{ "field": "v_node_count", "width": 90 },
{ "field": "b_published_at", "width": 170 },
{ "field": "b_published_by", "width": 110 },
{ "field": "b_bz", "width": 200 }
{ "field": "b_bz", "width": 200, "visible": false }
]
}', 1),
('v_wf_version', 'query', N'{
"schemaVersion": 1,
"groups": [
{ "conditions": [
{ "field": "b_definition_id", "operator": "eq" },
{ "field": "v_definition_name","operator": "like" },
{ "field": "v_status_name", "operator": "eq" },
{ "field": "b_published_at", "operator": "between" }
] }
"schemaVersion": 2,
"defaultViewCode": "all",
"views": [
{ "code": "all", "label": "全部", "order": 10 },
{ "code": "unpublished", "label": "未发布", "order": 20,
"conditions": [ { "field": "b_published_at", "operator": "is_null" } ] }
],
"quick": ["v_definition_name"]
"keywordSearch": {
"placeholder": "搜索流程名称、定义编码",
"trigger": "enter_or_debounce",
"fields": ["v_definition_name", "b_definition_id"]
},
"quickFilters": [
{ "field": "b_published_at", "order": 10 },
{ "field": "v_status_name", "order": 20 }
],
"filterGroups": [
{ "code": "basic", "label": "基础信息", "order": 10, "fields": ["v_definition_name", "b_definition_id", "v_status_name", "v_node_count"] },
{ "code": "time", "label": "发布时间", "order": 20, "fields": ["b_published_at", "b_published_by"] }
],
"queryFields": {
"b_definition_id": { "component": "input", "operator": "eq" },
"v_definition_name": { "component": "input", "operator": "like" },
"v_status_name": { "component": "select", "operator": "eq" },
"b_published_at": { "component": "datetime", "operator": "between" },
"b_published_by": { "component": "input", "operator": "like" }
}
}', 1);
GO
@@ -327,28 +363,46 @@ insert into dbo.s_module_schema (b_module_id, b_schema_type, b_schema_json, b_ca
values ('v_wf_binding', 'view', N'{
"schemaVersion": 1,
"columns": [
{ "field": "b_module_id", "width": 160 },
{ "field": "b_module_id", "width": 160, "visible": false },
{ "field": "v_module_name", "width": 180 },
{ "field": "v_event_name", "width": 100 },
{ "field": "v_version_name", "width": 220 },
{ "field": "b_priority", "width": 80 },
{ "field": "v_canuse_name", "width": 90 },
{ "field": "b_effective_from","width": 170 },
{ "field": "b_effective_to", "width": 170 },
{ "field": "b_bz", "width": 200 }
{ "field": "b_effective_to", "width": 170, "visible": false },
{ "field": "b_bz", "width": 200, "visible": false }
]
}', 1),
('v_wf_binding', 'query', N'{
"schemaVersion": 1,
"groups": [
{ "conditions": [
{ "field": "b_module_id", "operator": "eq" },
{ "field": "v_event_name", "operator": "eq" },
{ "field": "v_version_name","operator": "like" },
{ "field": "v_canuse_name","operator": "eq" }
] }
"schemaVersion": 2,
"defaultViewCode": "all",
"views": [
{ "code": "all", "label": "全部", "order": 10 }
],
"quick": ["b_module_id"]
"keywordSearch": {
"placeholder": "搜索模块、流程版本",
"trigger": "enter_or_debounce",
"fields": ["v_module_name", "v_version_name", "b_module_id"]
},
"quickFilters": [
{ "field": "v_event_name", "order": 10 },
{ "field": "v_canuse_name", "order": 20 }
],
"filterGroups": [
{ "code": "basic", "label": "基础信息", "order": 10, "fields": ["b_module_id", "v_module_name", "v_event_name", "v_version_name"] },
{ "code": "state", "label": "状态", "order": 20, "fields": ["v_canuse_name", "b_priority", "b_effective_from", "b_effective_to"] }
],
"queryFields": {
"b_module_id": { "component": "input", "operator": "eq" },
"v_module_name": { "component": "input", "operator": "like" },
"v_event_name": { "component": "select", "operator": "eq" },
"v_version_name": { "component": "input", "operator": "like" },
"v_canuse_name": { "component": "select", "operator": "eq" },
"b_priority": { "component": "number", "operator": "eq" },
"b_effective_from": { "component": "datetime", "operator": "between" },
"b_effective_to": { "component": "datetime", "operator": "between" }
}
}', 1);
GO
@@ -357,8 +411,8 @@ values ('v_wf_instance', 'view', N'{
"schemaVersion": 1,
"columns": [
{ "field": "b_business_no", "width": 180 },
{ "field": "b_module_id", "width": 150 },
{ "field": "b_definition_id", "width": 160 },
{ "field": "b_module_id", "width": 150, "visible": false },
{ "field": "b_definition_id", "width": 160, "visible": false },
{ "field": "v_initiator_name", "width": 110 },
{ "field": "v_status_name", "width": 100 },
{ "field": "v_pending_task_count", "width": 110 },
@@ -368,16 +422,36 @@ values ('v_wf_instance', 'view', N'{
]
}', 1),
('v_wf_instance', 'query', N'{
"schemaVersion": 1,
"groups": [
{ "conditions": [
{ "field": "b_business_no", "operator": "like" },
{ "field": "v_initiator_name","operator": "like" },
{ "field": "v_status_name", "operator": "eq" },
{ "field": "b_started_at", "operator": "between" }
] }
"schemaVersion": 2,
"defaultViewCode": "all",
"views": [
{ "code": "all", "label": "全部", "order": 10 },
{ "code": "running", "label": "进行中", "order": 20, "showCount": true,
"conditions": [ { "field": "b_completed_at", "operator": "is_null" } ] },
{ "code": "today", "label": "今天发起", "order": 30,
"conditions": [ { "field": "b_started_at", "operator": "between", "value": { "preset": "today" } } ] }
],
"quick": ["b_business_no"]
"keywordSearch": {
"placeholder": "搜索业务单号、发起人",
"trigger": "enter_or_debounce",
"fields": ["b_business_no", "v_initiator_name", "b_module_id"]
},
"quickFilters": [
{ "field": "b_started_at", "order": 10 },
{ "field": "v_status_name", "order": 20 }
],
"filterGroups": [
{ "code": "basic", "label": "基础信息", "order": 10, "fields": ["b_business_no", "b_module_id", "b_definition_id", "v_initiator_name"] },
{ "code": "state", "label": "状态与耗时", "order": 20, "fields": ["v_status_name", "v_pending_task_count", "v_duration_minutes"] },
{ "code": "time", "label": "时间", "order": 30, "fields": ["b_started_at", "b_completed_at"] }
],
"queryFields": {
"b_business_no": { "component": "input", "operator": "like" },
"v_initiator_name": { "component": "input", "operator": "like" },
"v_status_name": { "component": "select", "operator": "eq" },
"b_started_at": { "component": "datetime", "operator": "between" },
"b_completed_at": { "component": "datetime", "operator": "between" }
}
}', 1);
GO