diff --git a/wwwroot/pipeline_core/index.ui b/wwwroot/pipeline_core/index.ui new file mode 100644 index 0000000..fdd372d --- /dev/null +++ b/wwwroot/pipeline_core/index.ui @@ -0,0 +1,126 @@ +{ + "widgettype": "VBox", + "options": { + "width": "100%", + "height": "100%", + "padding": "0" + }, + "subwidgets": [ + { + "widgettype": "HBox", + "options": { + "width": "100%", + "alignItems": "center", + "marginBottom": "24px" + }, + "subwidgets": [ + { + "widgettype": "Title2", + "options": { + "text": "产线管理" + } + }, + { + "widgettype": "Filler" + }, + { + "widgettype": "Text", + "options": { + "text": "产线定义、步骤配置与发布管理", + "cfontsize": 1.2 + } + } + ] + }, + { + "widgettype": "VBox", + "options": { + "css": "filler", + "spacing": 16 + }, + "subwidgets": [ + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "250px" + }, + "subwidgets": [ + { + "widgettype": "Button", + "options": { + "label": "产线定义", + "css": "card", + "cwidth": 23, + "cheight": 8 + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_core_content", + "options": { + "url": "{{entire_url('pipelines/')}}" + }, + "mode": "replace" + } + ] + }, + { + "widgettype": "Button", + "options": { + "label": "产线步骤", + "css": "card", + "cwidth": 23, + "cheight": 8 + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_core_content", + "options": { + "url": "{{entire_url('pipeline_steps/')}}" + }, + "mode": "replace" + } + ] + }, + { + "widgettype": "Button", + "options": { + "label": "发布记录", + "css": "card", + "cwidth": 23, + "cheight": 8 + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_core_content", + "options": { + "url": "{{entire_url('pipeline_versions/')}}" + }, + "mode": "replace" + } + ] + } + ] + }, + { + "widgettype": "VScrollPanel", + "id": "pipeline_core_content", + "options": { + "css": "filler", + "width": "100%", + "height": "100%" + } + } + ] + } + ] +} diff --git a/wwwroot/pipeline_dist/index.ui b/wwwroot/pipeline_dist/index.ui new file mode 100644 index 0000000..3fa952d --- /dev/null +++ b/wwwroot/pipeline_dist/index.ui @@ -0,0 +1,91 @@ +{ + "widgettype": "VBox", + "options": { + "width": "100%", + "height": "100%", + "padding": "0" + }, + "subwidgets": [ + { + "widgettype": "VScrollPanel", + "id": "pipeline_dist_content", + "options": { + "css": "filler", + "width": "100%", + "height": "100%" + }, + "subwidgets": [ + { + "widgettype": "VBox", + "options": { + "width": "100%", + "padding": "32px", + "spacing": "24px" + }, + "subwidgets": [ + { + "widgettype": "Title2", + "options": { + "text": "分销管理" + } + }, + { + "widgettype": "Text", + "options": { + "text": "管理分销商与产线配置", + "cfontsize": 1.2 + } + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "220px" + }, + "subwidgets": [ + { + "widgettype": "Button", + "options": { + "label": "分销商管理", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_dist_content", + "options": { + "url": "{{entire_url('distributors/')}}" + }, + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "分销商产线配置", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_dist_content", + "options": { + "url": "{{entire_url('distributor_pipeline/')}}" + }, + "mode": "replace" + }] + } + ] + } + ] + } + ] + } + ] +} diff --git a/wwwroot/pipeline_ops/index.ui b/wwwroot/pipeline_ops/index.ui new file mode 100644 index 0000000..213f890 --- /dev/null +++ b/wwwroot/pipeline_ops/index.ui @@ -0,0 +1,110 @@ +{ + "widgettype": "VBox", + "options": { + "width": "100%", + "height": "100%", + "padding": "0" + }, + "subwidgets": [ + { + "widgettype": "VScrollPanel", + "id": "pipeline_ops_content", + "options": { + "css": "filler", + "width": "100%", + "height": "100%" + }, + "subwidgets": [ + { + "widgettype": "VBox", + "options": { + "width": "100%", + "padding": "32px", + "spacing": "24px" + }, + "subwidgets": [ + { + "widgettype": "Title2", + "options": { + "text": "运营管理" + } + }, + { + "widgettype": "Text", + "options": { + "text": "管理产线定价、供应量与使用记录", + "cfontsize": 1.2 + } + }, + { + "widgettype": "ResponsableBox", + "options": { + "gap": "16px", + "minWidth": "220px" + }, + "subwidgets": [ + { + "widgettype": "Button", + "options": { + "label": "定价管理", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_ops_content", + "options": { + "url": "{{entire_url('pipeline_pricing/')}}" + }, + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "供应量管理", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_ops_content", + "options": { + "url": "{{entire_url('pipeline_capacity/')}}" + }, + "mode": "replace" + }] + }, + { + "widgettype": "Button", + "options": { + "label": "使用记录", + "cwidth": 23, + "cheight": 8, + "css": "card" + }, + "binds": [{ + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "-pipeline_ops_content", + "options": { + "url": "{{entire_url('pipeline_usage_log/')}}" + }, + "mode": "replace" + }] + } + ] + } + ] + } + ] + } + ] +}