293 lines
8.8 KiB
JSON
293 lines
8.8 KiB
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|