first commit
This commit is contained in:
88
data/dialog_result.json
Normal file
88
data/dialog_result.json
Normal file
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"dependency": [
|
||||
],
|
||||
"flow": [
|
||||
{
|
||||
"name": "0_基本配置",
|
||||
"memo": null,
|
||||
"kind": "visual",
|
||||
"blocks": [
|
||||
{
|
||||
"id": "b60be60e-d970-4e4f-9564-6a66b138d08a",
|
||||
"name": "dialog.show_custom_dialog",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"settings": {
|
||||
"value": "10:{\"dialogTitle\":null,\"height\":0,\"width\":0,\"timeout\":0,\"autoCloseButton\":null,\"use_wait_timeout\":false,\"canRememberContent\":false,\"settings\":{\"editors\":[],\"buttons\":[{\"type\":\"Button\",\"label\":\"确定\",\"theme\":\"white\",\"hotKey\":\"Return\",\"uuid\":\"e49138d8-6857-4ef3-9550-4d098e95e7ce\"},{\"type\":\"Button\",\"label\":\"取消\",\"theme\":\"white\",\"hotKey\":\"Escape\",\"uuid\":\"5b7bd90e-50c1-4583-9e8a-d59ea1c1efc9\"}]}}"
|
||||
},
|
||||
"dialog_title": {
|
||||
"value": "10:"
|
||||
},
|
||||
"default_btn": {
|
||||
"value": "10:确定",
|
||||
"display": "确定"
|
||||
},
|
||||
"is_auto_click": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"timeout": {
|
||||
"value": null
|
||||
},
|
||||
"globals": {
|
||||
"value": "13:globals()"
|
||||
},
|
||||
"locals": {
|
||||
"value": "13:locals()"
|
||||
},
|
||||
"storage_key": {
|
||||
"value": "13:`block_id`"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"dialog_result": {
|
||||
"name": "dialog_result",
|
||||
"isEnable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "6e80cd80-7109-427c-87e8-22ffd91ef176",
|
||||
"name": "workflow.if",
|
||||
"isEnabled": true,
|
||||
"foldState": "UnFold",
|
||||
"inputs": {
|
||||
"operand1": {
|
||||
"value": "11:dialog_result.pressed_button"
|
||||
},
|
||||
"operator": {
|
||||
"value": "10:!=",
|
||||
"display": "不等于"
|
||||
},
|
||||
"operand2": {
|
||||
"value": "10:确定"
|
||||
},
|
||||
"operator_options": {
|
||||
"value": "10:{}"
|
||||
}
|
||||
},
|
||||
"outputs": {}
|
||||
},
|
||||
{
|
||||
"id": "2a389cae-75f6-43f1-a365-b2e47c1d4e18",
|
||||
"name": "process.exit",
|
||||
"isEnabled": true,
|
||||
"inputs": {},
|
||||
"outputs": {}
|
||||
},
|
||||
{
|
||||
"id": "2091634e-7ee7-4c1f-b3a8-cb3f00dc4770",
|
||||
"name": "workflow.endif",
|
||||
"isEnabled": true,
|
||||
"inputs": {},
|
||||
"outputs": {}
|
||||
}
|
||||
],
|
||||
"parameters": []
|
||||
}
|
||||
]
|
||||
}
|
||||
292
data/superbrowser.json
Normal file
292
data/superbrowser.json
Normal file
@@ -0,0 +1,292 @@
|
||||
{
|
||||
"dependency": [
|
||||
"super_browser==25.9.3",
|
||||
"activity_f4d5de04==23.11.1"
|
||||
],
|
||||
"flow": [
|
||||
{
|
||||
"name": "main",
|
||||
"memo": "我的自动化应用",
|
||||
"kind": "visual",
|
||||
"blocks": [
|
||||
{
|
||||
"id": "48a2e4c6-3b44-4e55-a581-0ed0d56323cc",
|
||||
"name": "process.run",
|
||||
"isEnabled": true,
|
||||
"comment": "执行流程%process%,无返回结果",
|
||||
"inputs": {
|
||||
"process": {
|
||||
"value": "10:setting_process",
|
||||
"display": "0_基本配置"
|
||||
},
|
||||
"package": {
|
||||
"value": "11:__name__"
|
||||
},
|
||||
"inputs": {
|
||||
"value": "16:[]"
|
||||
},
|
||||
"outputs": {
|
||||
"value": "10:[]"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"process_result": {
|
||||
"name": "process_result",
|
||||
"isEnable": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ed930e1f-722d-43b9-9b84-0a0a175944ce",
|
||||
"name": "process.run",
|
||||
"isEnabled": true,
|
||||
"comment": "执行流程%process%并传入参数%inputs:WyLotKblj7flgLzkuLol6LSm5Y+3Je+8jCIsIuWvhueggeWAvOS4uiXlr4bnoIEl77yMIiwi5LyB5Lia5ZCN56ew5YC85Li6JeS8geS4muWQjeensCXvvIwiXQ==%无返回结果",
|
||||
"inputs": {
|
||||
"process": {
|
||||
"value": "10:login_process",
|
||||
"display": "1_登录"
|
||||
},
|
||||
"package": {
|
||||
"value": "11:__name__"
|
||||
},
|
||||
"inputs": {
|
||||
"value": "16:[{\"账号\":\"10:\"},{\"密码\":\"10:\"},{\"企业名称\":\"10:\"}]"
|
||||
},
|
||||
"outputs": {
|
||||
"value": "10:[]"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"process_result": {
|
||||
"name": "process_result2",
|
||||
"isEnable": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "80850dab-a050-435e-b6b4-09f2aa2455f8",
|
||||
"name": "process.run",
|
||||
"isEnabled": true,
|
||||
"comment": "执行流程%process%并传入参数%inputs:WyLlupfpk7rlkI3np7DlgLzkuLol5bqX6ZO65ZCN56ewJe+8jCJd%无返回结果",
|
||||
"inputs": {
|
||||
"process": {
|
||||
"value": "10:func_process",
|
||||
"display": "2_功能模块"
|
||||
},
|
||||
"package": {
|
||||
"value": "11:__name__"
|
||||
},
|
||||
"inputs": {
|
||||
"value": "16:[{\"店铺名称\":\"10:\"}]"
|
||||
},
|
||||
"outputs": {
|
||||
"value": "10:[]"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"process_result": {
|
||||
"name": "process_result3",
|
||||
"isEnable": false
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"parameters": []
|
||||
},
|
||||
{
|
||||
"name": "0_基本配置",
|
||||
"memo": "setting_process",
|
||||
"kind": "visual",
|
||||
"blocks": [
|
||||
{
|
||||
"id": "b60be60e-d970-4e4f-9564-6a66b138d08a",
|
||||
"name": "dialog.show_custom_dialog",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"settings": {
|
||||
"value": "10:{\"dialogTitle\":null,\"height\":0,\"width\":0,\"timeout\":0,\"autoCloseButton\":null,\"use_wait_timeout\":false,\"canRememberContent\":false,\"settings\":{\"editors\":[],\"buttons\":[{\"type\":\"Button\",\"label\":\"确定\",\"theme\":\"white\",\"hotKey\":\"Return\",\"uuid\":\"e49138d8-6857-4ef3-9550-4d098e95e7ce\"},{\"type\":\"Button\",\"label\":\"取消\",\"theme\":\"white\",\"hotKey\":\"Escape\",\"uuid\":\"5b7bd90e-50c1-4583-9e8a-d59ea1c1efc9\"}]}}"
|
||||
},
|
||||
"dialog_title": {
|
||||
"value": "10:"
|
||||
},
|
||||
"default_btn": {
|
||||
"value": "10:确定",
|
||||
"display": "确定"
|
||||
},
|
||||
"is_auto_click": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"timeout": {
|
||||
"value": null
|
||||
},
|
||||
"globals": {
|
||||
"value": "13:globals()"
|
||||
},
|
||||
"locals": {
|
||||
"value": "13:locals()"
|
||||
},
|
||||
"storage_key": {
|
||||
"value": "13:`block_id`"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"dialog_result": {
|
||||
"name": "dialog_result",
|
||||
"isEnable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "6e80cd80-7109-427c-87e8-22ffd91ef176",
|
||||
"name": "workflow.if",
|
||||
"isEnabled": true,
|
||||
"foldState": "UnFold",
|
||||
"inputs": {
|
||||
"operand1": {
|
||||
"value": "11:dialog_result.pressed_button"
|
||||
},
|
||||
"operator": {
|
||||
"value": "10:!=",
|
||||
"display": "不等于"
|
||||
},
|
||||
"operand2": {
|
||||
"value": "10:确定"
|
||||
},
|
||||
"operator_options": {
|
||||
"value": "10:{}"
|
||||
}
|
||||
},
|
||||
"outputs": {}
|
||||
},
|
||||
{
|
||||
"id": "2a389cae-75f6-43f1-a365-b2e47c1d4e18",
|
||||
"name": "process.exit",
|
||||
"isEnabled": true,
|
||||
"inputs": {},
|
||||
"outputs": {}
|
||||
},
|
||||
{
|
||||
"id": "2091634e-7ee7-4c1f-b3a8-cb3f00dc4770",
|
||||
"name": "workflow.endif",
|
||||
"isEnabled": true,
|
||||
"inputs": {},
|
||||
"outputs": {}
|
||||
}
|
||||
],
|
||||
"parameters": []
|
||||
},
|
||||
{
|
||||
"name": "1_登录",
|
||||
"memo": "login_process",
|
||||
"kind": "visual",
|
||||
"blocks": [
|
||||
{
|
||||
"id": "81b42701-4cb6-4603-b262-75f793c92d58",
|
||||
"name": "xbot_extensions.super_browser.A4 紫鸟登录",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"紫鸟版本": {
|
||||
"value": "10:V5",
|
||||
"display": "V5"
|
||||
},
|
||||
"企业名称": {
|
||||
"value": "11:企业名称"
|
||||
},
|
||||
"企业用户名": {
|
||||
"value": "11:账号"
|
||||
},
|
||||
"密码": {
|
||||
"value": "11:密码"
|
||||
},
|
||||
"是否填写账号密码": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"是否退出登录": {
|
||||
"value": "13:False"
|
||||
}
|
||||
},
|
||||
"outputs": {},
|
||||
"block_title": "紫鸟控制台操作/紫鸟登录"
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "账号",
|
||||
"direction": "In",
|
||||
"type": "str",
|
||||
"value": "",
|
||||
"description": "",
|
||||
"kind": "Text"
|
||||
},
|
||||
{
|
||||
"name": "密码",
|
||||
"direction": "In",
|
||||
"type": "str",
|
||||
"value": "",
|
||||
"description": "",
|
||||
"kind": "Text"
|
||||
},
|
||||
{
|
||||
"name": "企业名称",
|
||||
"direction": "In",
|
||||
"type": "str",
|
||||
"value": "",
|
||||
"description": "",
|
||||
"kind": "Text"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "2_功能模块",
|
||||
"memo": "func_process",
|
||||
"kind": "visual",
|
||||
"blocks": [
|
||||
{
|
||||
"id": "a1d0e848-2023-4bb9-abbf-25214bb93ef5",
|
||||
"name": "xbot_extensions.super_browser.A2 打开店铺",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"店铺名称": {
|
||||
"value": "11:店铺名称"
|
||||
},
|
||||
"匹配类型": {
|
||||
"value": "10:相等",
|
||||
"display": "相等"
|
||||
},
|
||||
"打开账号": {
|
||||
"value": "10:点击",
|
||||
"display": "点击"
|
||||
},
|
||||
"隐私模式": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"超时时间": {
|
||||
"value": "13:50"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"完整店铺名称": {
|
||||
"name": "完整店铺名称",
|
||||
"isEnable": true
|
||||
},
|
||||
"web_page": {
|
||||
"name": "web_page",
|
||||
"isEnable": true
|
||||
}
|
||||
},
|
||||
"block_title": "紫鸟控制台操作/打开店铺"
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "店铺名称",
|
||||
"direction": "In",
|
||||
"type": "str",
|
||||
"value": "",
|
||||
"description": "",
|
||||
"kind": "Text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
167
data/templete1.json
Normal file
167
data/templete1.json
Normal file
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"name": "main",
|
||||
"memo": "测试_jc",
|
||||
"kind": "visual",
|
||||
"blocks": [
|
||||
{
|
||||
"id": "51db7333-6ae1-4429-ac86-354bd60e86d3",
|
||||
"name": "excel.launch",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"launch_way": {
|
||||
"value": "10:open",
|
||||
"display": "打开已有的Excel"
|
||||
},
|
||||
"driver_way": {
|
||||
"value": "10:auto_check",
|
||||
"display": "自动检测"
|
||||
},
|
||||
"open_filename": {
|
||||
"value": "10:D:\\env_text\\京东商智商家版\\16839740_成交订单_2025-07-01~2025-07-31.xlsx"
|
||||
},
|
||||
"save_filename": {
|
||||
"value": "10:"
|
||||
},
|
||||
"isvisible": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"ignoreformula": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"password": {
|
||||
"value": null
|
||||
},
|
||||
"write_password": {
|
||||
"value": null
|
||||
},
|
||||
"update_links": {
|
||||
"value": "13:False"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"excel_instance": {
|
||||
"name": "excel_instance",
|
||||
"variableLabel": "打开的Excel对象",
|
||||
"isEnable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1ed06cd6-2b02-4ef9-a714-7a010f4e3e19",
|
||||
"name": "excel.read_data_from_workbook",
|
||||
"isEnabled": true,
|
||||
"comment": "从Excel对象%workbook%中读取已使用的矩形区域内容,将数据保存到%excel_data%",
|
||||
"inputs": {
|
||||
"workbook": {
|
||||
"value": "11:excel_instance",
|
||||
"display": "excel_instance"
|
||||
},
|
||||
"read_way": {
|
||||
"value": "10:used_range",
|
||||
"display": "已使用区域内容"
|
||||
},
|
||||
"range": {
|
||||
"value": null
|
||||
},
|
||||
"cell_row_num": {
|
||||
"value": null
|
||||
},
|
||||
"cell_column_name": {
|
||||
"value": null
|
||||
},
|
||||
"area_begin_row_num": {
|
||||
"value": null
|
||||
},
|
||||
"area_begin_column_name": {
|
||||
"value": null
|
||||
},
|
||||
"area_end_row_num": {
|
||||
"value": null
|
||||
},
|
||||
"area_end_column_name": {
|
||||
"value": null
|
||||
},
|
||||
"row_row_num": {
|
||||
"value": null
|
||||
},
|
||||
"get_display_text": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"has_header_row": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"column_column_name": {
|
||||
"value": null
|
||||
},
|
||||
"sheet_name": {
|
||||
"value": "10:"
|
||||
},
|
||||
"using_text": {
|
||||
"value": "13:False"
|
||||
},
|
||||
"text_cols": {
|
||||
"value": "10:"
|
||||
},
|
||||
"clear_space": {
|
||||
"value": "13:False"
|
||||
}
|
||||
},
|
||||
"outputs": {
|
||||
"excel_data": {
|
||||
"name": "excel_data",
|
||||
"variableLabel": "Excel已使用区域内容",
|
||||
"type": "list<list<any>>",
|
||||
"isEnable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "6da8c5eb-fcf5-4199-80f5-df5fd529a375",
|
||||
"name": "excel.close",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"operation": {
|
||||
"value": "10:close_specified",
|
||||
"display": "关闭指定Excel文件"
|
||||
},
|
||||
"excel_instance": {
|
||||
"value": "11:excel_instance"
|
||||
},
|
||||
"close_way": {
|
||||
"value": "10:save",
|
||||
"display": "保存"
|
||||
},
|
||||
"filename": {
|
||||
"value": null
|
||||
},
|
||||
"overwrite_file": {
|
||||
"value": "13:True"
|
||||
},
|
||||
"close_process": {
|
||||
"value": "10:office",
|
||||
"display": "office"
|
||||
},
|
||||
"task_kill": {
|
||||
"value": "13:True"
|
||||
}
|
||||
},
|
||||
"outputs": {}
|
||||
},
|
||||
{
|
||||
"id": "ee73d8ec-1441-45b2-8bec-4d4d10b4153a",
|
||||
"name": "programing.log",
|
||||
"isEnabled": true,
|
||||
"inputs": {
|
||||
"type": {
|
||||
"value": "10:info",
|
||||
"display": "信息"
|
||||
},
|
||||
"text": {
|
||||
"value": "11:excel_data"
|
||||
}
|
||||
},
|
||||
"outputs": {}
|
||||
}
|
||||
],
|
||||
"parameters": []
|
||||
}
|
||||
3058
data/test.json
Normal file
3058
data/test.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user