2025-09-13 15:21:09 +08:00

249 lines
7.3 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": 250,
"y": 280,
"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": 410,
"y": 300,
"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": 570,
"y": 300,
"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": 490,
"y": 440,
"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": 650,
"y": 420,
"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": 610,
"y": 520,
"wires": [
[]
]
},
{
"id": "5d9b263c1c44249b",
"type": "json",
"z": "0ac020c7380665e7",
"name": "展示井信息",
"property": "payload",
"action": "",
"pretty": false,
"x": 690,
"y": 140,
"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/1.0.0",
"tls": "",
"persist": true,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 370,
"y": 180,
"wires": [
[]
]
},
{
"id": "96fbb1fa63a1cb8b",
"type": "inject",
"z": "0ac020c7380665e7",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "headers",
"v": "{\"Content-Type\":\"application/json\",\"Authorization\":\"1\",\"Dataregion\":\"ZZLH\"}",
"vt": "json"
}
],
"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": 180,
"wires": [
[
"be9c605d4cdaa297"
]
]
}
]