2025-09-29 17:22:43 +08:00

587 lines
16 KiB
JSON

[
{
"id": "0ac020c7380665e7",
"type": "tab",
"label": "流程 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "8aaa24cf39b5742a",
"type": "http proxy",
"name": "https",
"url": "https://10.22.98.21:8080",
"noproxy": []
},
{
"id": "97353ed49f690c0b",
"type": "http proxy",
"name": "http",
"url": "http://10.22.98.21:8080",
"noproxy": []
},
{
"id": "c06c5e3af1cf4806",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "井数据",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"dsid\":\"a1b2c3d4-e5f6-7890-1234-567890abcdef\",\"wellId\":\"WELL-TEST-001\",\"wellCommonName\":\"zzlh测试用井名\",\"wellLegalName\":\"zzlh-test-01\",\"wellPurpose\":\"开发井\",\"wellType\":\"直井\",\"dataRegion\":\"ZZLH\",\"projectId\":\"PROJ-ZZLH-001\",\"projectName\":\"zzlh测试地质单元\",\"orgId\":\"ORG-ZZLH-01\",\"orgName\":\"zzlh采油厂\",\"bsflag\":1,\"wellState\":\"生产中\",\"spudDate\":\"2024-01-15\",\"completionDate\":\"2024-05-20\",\"prodDate\":\"2024-06-01\",\"egl\":145.5,\"kbd\":5.2,\"kb\":150.7,\"actualXAxis\":550123.45,\"actualYAxis\":4998765.32,\"coordinateSystemName\":\"zzlh测试坐标系\",\"geoDescription\":\"位于zzlh测试区域\",\"remarks\":\"这是一口用于系统测试的生产井。\",\"createUserId\":\"testuser001\",\"createDate\":\"2025-09-12T10:00:00Z\",\"updateUserId\":\"testuser001\",\"updateDate\":\"2025-09-12T10:00:00Z\"}",
"payloadType": "json",
"x": 590,
"y": 620,
"wires": [
[
"b111c6c8b79fa87a"
]
]
},
{
"id": "b111c6c8b79fa87a",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "创建井",
"method": "POST",
"ret": "obj",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 650,
"y": 440,
"wires": [
[
"273b9a8fdcb455b0"
]
]
},
{
"id": "273b9a8fdcb455b0",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "列出井信息",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 730,
"y": 420,
"wires": [
[
"3411cd813b8257da",
"5d9b263c1c44249b"
]
]
},
{
"id": "3411cd813b8257da",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "修改井",
"method": "POST",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 650,
"y": 560,
"wires": [
[
"5b2d1fbd24b9e670"
]
]
},
{
"id": "5b2d1fbd24b9e670",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "列出井信息",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 810,
"y": 540,
"wires": [
[
"52a8205b9bf42110",
"5a3ba7b68b7f09d8"
]
]
},
{
"id": "52a8205b9bf42110",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "删除井",
"method": "POST",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 770,
"y": 640,
"wires": [
[]
]
},
{
"id": "5d9b263c1c44249b",
"type": "json",
"z": "0ac020c7380665e7",
"name": "展示井信息",
"property": "payload",
"action": "",
"pretty": false,
"x": 750,
"y": 260,
"wires": [
[]
]
},
{
"id": "5a3ba7b68b7f09d8",
"type": "json",
"z": "0ac020c7380665e7",
"name": "展示井信息",
"property": "payload",
"action": "",
"pretty": false,
"x": 830,
"y": 260,
"wires": [
[]
]
},
{
"id": "be9c605d4cdaa297",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "创建井",
"method": "POST",
"ret": "txt",
"paytoqs": "ignore",
"url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/cd_well",
"tls": "",
"persist": true,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 350,
"y": 60,
"wires": [
[
"6f07c9e60472a814"
]
]
},
{
"id": "96fbb1fa63a1cb8b",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "headers",
"v": "{\"Content-Type\":\"application/json\",\"Authorization\":\"1\",\"Dataregion\":\"ZZLH\"}",
"vt": "json"
},
{
"p": "rejectUnauthorized",
"v": "false",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"version\":\"1.0.0\",\"act\":-1,\"data\":[{\"dsid\":\"testid2\",\"wellId\":\"WELL-zzlhTEST-002\",\"wellCommonName\":\"zzlh测试用井名\",\"wellLegalName\":\"zzlh-test-01\",\"wellPurpose\":\"开发井\",\"wellType\":\"直井\",\"dataRegion\":\"ZZLH\",\"projectId\":\"PROJ-ZZLH-001\",\"projectName\":\"zzlh测试地质单元\",\"orgId\":\"ORG-ZZLH-01\",\"orgName\":\"zzlh采油厂\",\"bsflag\":1,\"wellState\":\"生产中\",\"spudDate\":\"2024-01-15\",\"completionDate\":\"2024-05-20\",\"prodDate\":\"2024-06-01\",\"egl\":145.5,\"kbd\":5.2,\"kb\":150.7,\"actualXAxis\":550123.45,\"actualYAxis\":4998765.32,\"coordinateSystemName\":\"zzlh测试坐标系\",\"geoDescription\":\"位于zzlh测试区域\",\"remarks\":\"这是一口用于系统测试的生产井。\",\"createUserId\":\"testuser001\",\"createDate\":\"2025-09-12T10:00:00Z\",\"updateUserId\":\"testuser001\",\"updateDate\":\"2025-09-12T10:00:00Z\"}]}",
"payloadType": "json",
"x": 190,
"y": 80,
"wires": [
[
"be9c605d4cdaa297"
]
]
},
{
"id": "6f07c9e60472a814",
"type": "debug",
"z": "0ac020c7380665e7",
"name": "创建结果",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 520,
"y": 80,
"wires": []
},
{
"id": "1b18d7419c63f2b5",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "",
"props": [
{
"p": "headers",
"v": "{\"Content-Type\":\"application/json\",\"Authorization\":\"1\",\"Dataregion\":\"ZZLH\"}",
"vt": "json"
},
{
"p": "rejectUnauthorized",
"v": "false",
"vt": "str"
},
{
"p": "url",
"v": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/cd_well/1.0.0/testid2",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 150,
"y": 220,
"wires": [
[
"70a49687f823bf4e"
]
]
},
{
"id": "88cf35d496381288",
"type": "debug",
"z": "0ac020c7380665e7",
"name": "查询",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 470,
"y": 220,
"wires": []
},
{
"id": "70a49687f823bf4e",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "查询井详情",
"method": "GET",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": true,
"proxy": "",
"insecureHTTPParser": false,
"authType": "basic",
"senderr": false,
"headers": [],
"x": 330,
"y": 240,
"wires": [
[
"88cf35d496381288"
]
]
},
{
"id": "ae5c8d27d69b77ed",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "更新井",
"method": "PUT",
"ret": "txt",
"paytoqs": "ignore",
"url": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/cd_well",
"tls": "",
"persist": true,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 270,
"y": 340,
"wires": [
[
"2b37a50f557b48ff"
]
]
},
{
"id": "7f1ff1fda219baaa",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "headers",
"v": "{\"Content-Type\":\"application/json\",\"Authorization\":\"1\",\"Dataregion\":\"ZZLH\"}",
"vt": "json"
},
{
"p": "rejectUnauthorized",
"v": "false",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"version\":\"1.0.0\",\"act\":-1,\"data\":[{\"dsid\":\"testid2\",\"wellId\":\"WELL-zzlhTEST-002\",\"wellCommonName\":\"zzlh测试用井名\",\"wellLegalName\":\"zzlh-test-01\",\"wellPurpose\":\"开发井---更新16\",\"wellType\":\"直井\",\"dataRegion\":\"ZZLH\",\"projectId\":\"PROJ-ZZLH-001\",\"projectName\":\"zzlh测试地质单元\",\"orgId\":\"ORG-ZZLH-01\",\"orgName\":\"zzlh采油厂\",\"bsflag\":1,\"wellState\":\"生产中\",\"spudDate\":\"2024-01-15\",\"completionDate\":\"2024-05-20\",\"prodDate\":\"2024-06-01\",\"egl\":145.5,\"kbd\":5.2,\"kb\":150.7,\"actualXAxis\":550123.45,\"actualYAxis\":4998765.32,\"coordinateSystemName\":\"zzlh测试坐标系\",\"geoDescription\":\"位于zzlh测试区域\",\"remarks\":\"这是一口用于系统测试的生产井。\",\"createUserId\":\"testuser001\",\"createDate\":\"2025-09-12T10:00:00Z\",\"updateUserId\":\"testuser001\",\"updateDate\":\"2025-09-12T10:00:00Z\"}]}",
"payloadType": "json",
"x": 110,
"y": 280,
"wires": [
[
"ae5c8d27d69b77ed"
]
]
},
{
"id": "2b37a50f557b48ff",
"type": "debug",
"z": "0ac020c7380665e7",
"name": "更新结果",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 460,
"y": 340,
"wires": []
},
{
"id": "c3514fbf44147aed",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "",
"props": [
{
"p": "headers",
"v": "{\"Content-Type\":\"application/json\",\"Authorization\":\"1\",\"Dataregion\":\"ZZLH\"}",
"vt": "json"
},
{
"p": "rejectUnauthorized",
"v": "false",
"vt": "str"
},
{
"p": "url",
"v": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/cd_well",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"version\":\"1.0.0\",\"data\":[\"testid2\"]}",
"payloadType": "json",
"x": 70,
"y": 380,
"wires": [
[
"0d437a2a77570c57"
]
]
},
{
"id": "647fd9a7f8fc214c",
"type": "debug",
"z": "0ac020c7380665e7",
"name": "删除结果",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 500,
"y": 420,
"wires": []
},
{
"id": "0d437a2a77570c57",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "删除井",
"method": "DELETE",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": true,
"proxy": "",
"insecureHTTPParser": false,
"authType": "basic",
"senderr": false,
"headers": [],
"x": 230,
"y": 420,
"wires": [
[
"647fd9a7f8fc214c"
]
]
},
{
"id": "044945e983586ce5",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "",
"props": [
{
"p": "headers",
"v": "{\"Content-Type\":\"application/json\",\"Authorization\":\"1\",\"Dataregion\":\"ZZLH\"}",
"vt": "json"
},
{
"p": "rejectUnauthorized",
"v": "false",
"vt": "str"
},
{
"p": "url",
"v": "https://www.dev.ideas.cnpc/api/dms/well_kd_wellbore_ideas01/v1/cd_well/1.0.0",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{}",
"payloadType": "json",
"x": 110,
"y": 480,
"wires": [
[
"5921574867140eb3"
]
]
},
{
"id": "286d3b129ca1b756",
"type": "debug",
"z": "0ac020c7380665e7",
"name": "查询",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 430,
"y": 480,
"wires": []
},
{
"id": "5921574867140eb3",
"type": "http request",
"z": "0ac020c7380665e7",
"name": "查询井列表",
"method": "POST",
"ret": "txt",
"paytoqs": "ignore",
"url": "",
"tls": "",
"persist": true,
"proxy": "",
"insecureHTTPParser": false,
"authType": "basic",
"senderr": false,
"headers": [],
"x": 290,
"y": 500,
"wires": [
[
"286d3b129ca1b756"
]
]
}
]