You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
518 lines
12 KiB
518 lines
12 KiB
###
|
|
@www = https://www.tall.wiki/gateway/
|
|
@test = http://test.tall.wiki/gateway/
|
|
@loaclhost = http://localhost:
|
|
@type = content-type: application/json;charset=utf-8
|
|
@tallLocal = 7030/v1.0
|
|
@tall = /tall/v1.0
|
|
|
|
|
|
|
|
### login
|
|
|
|
# @name login
|
|
POST {{loaclhost}}{{tallLocal}}/users/signin
|
|
# POST {{www}}{{tall}}/users/signin
|
|
# POST {{test}}{{tall}}/users/signin
|
|
{{type}}
|
|
|
|
{
|
|
"client": 1,
|
|
"data": {
|
|
"credential": "123456",
|
|
"identifier": "zy11"
|
|
},
|
|
"scene": 0,
|
|
"type": 3
|
|
}
|
|
|
|
### 添加任务上下道工序
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/task/taskProcess
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":[
|
|
{
|
|
"detailId":"1420645779588259840",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645779852500992",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645780041244672",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645780171268096",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645780355817472",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645780557144064",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645780741693440",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645780930437120",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645781060460544",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645781282758656",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645781446336512",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645781681217536",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645781882544128",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645782088065024",
|
|
"type":4
|
|
},
|
|
{
|
|
"detailId":"1420645782297780224",
|
|
"type":4
|
|
}
|
|
]
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#给任务添加插件
|
|
###F
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/plugin/save
|
|
# POST http://localhost:7210/task/regular
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":[
|
|
{
|
|
"taskDetailId":"1420645779005251584",
|
|
"pluginName":"HT-QCP时间沙漏Af1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645779214966784",
|
|
"pluginName":"HT-QCP质控数据Ah1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645779374350336",
|
|
"pluginName":"HT-QCP绿道一键通知Af1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645779588259840",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645779852500992",
|
|
"pluginName":"HT-QCP任务开始Aa1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645780041244672",
|
|
"pluginName":"HT-QCP到场插件Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645780171268096",
|
|
"pluginName":"HT-QCP到场插件Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645780355817472",
|
|
"pluginName":"HT-QCP评估插件Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645780557144064",
|
|
"pluginName":"HT-QCP医技插件Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645780741693440",
|
|
"pluginName":"HT-QCP会诊插件Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645780930437120",
|
|
"pluginName":"HT-QCP治疗方案Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645781060460544",
|
|
"pluginName":"HT-QCP治疗方案Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645781282758656",
|
|
"pluginName":"HT-QCP知情谈话Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645781446336512",
|
|
"pluginName":"HT-QCP知情谈话Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645781681217536",
|
|
"pluginName":"HT-QCP静脉溶栓Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645781882544128",
|
|
"pluginName":"HT-QCP介入治疗Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645782088065024",
|
|
"pluginName":"HT-QCP患者转归Aa1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645782297780224",
|
|
"pluginName":"HT-QCP信息直报Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
}
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#复制项目
|
|
###F
|
|
# POST http://test.tall.wiki/gateway/defaultwbs/task/regular
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/project/createCase
|
|
# POST http://localhost:7210/project/createCase
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"name":"本医院第一个患者",
|
|
"gender":"0",
|
|
"age":"100",
|
|
"nation":"混血",
|
|
"idcard":"320381199410010000",
|
|
"medicalRecordNum":"dyg",
|
|
"phone":"15335153515",
|
|
"kinsfolkPhone":"1535153515",
|
|
"time":"1659080000000",
|
|
"hospitalStroke":"1",
|
|
"arriveHospitalTime":"1659080000000",
|
|
"hospitalizedTime":"1659080000000",
|
|
"lastNormalTime":"1659080000000",
|
|
"pathway":"担架",
|
|
"inHospitalType":"5",
|
|
"valueType":"0"
|
|
}
|
|
}
|
|
|
|
#查找有时间的定期任务
|
|
###F
|
|
# POST http://test.tall.wiki/gateway/defaultwbs/task/regular
|
|
POST http://localhost:7210/project/findProjectById
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"projectId":"1417875277652172800"
|
|
}
|
|
}
|
|
|
|
|
|
###
|
|
GET {{loaclhost}}{{tallLocal}}/users/userId?userId=1373938255183089664
|
|
{{type}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#查找有时间的日常
|
|
###F
|
|
POST http://test.tall.wiki/gateway/defaultwbs/task/global
|
|
# POST http://localhost:7210/task/regular
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"roleId":"1418109554482487296"
|
|
}
|
|
}
|
|
|
|
|
|
#查找有时间的定期任务
|
|
###F
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/task/regular
|
|
# POST http://localhost:7210/task/regular
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"roleId":"1420652719257165825",
|
|
"queryType":1,
|
|
"timeNode":1659080000000
|
|
}
|
|
}
|
|
|
|
|
|
#
|
|
###查询角色
|
|
POST http://www.tall.wiki/gateway/defaultwbs/role/show
|
|
# POST http://test.tall.wiki/gateway/defaultwbs/role/show
|
|
# POST http://localhost:7210/role/show
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"projectId":"1418109550141382656"
|
|
}
|
|
}
|
|
|
|
#
|
|
###查询插件
|
|
POST http://test.tall.wiki/gateway/pluginshop/plugin/query
|
|
# POST http://localhost:7220/pluginshop/plugin/query
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"pluginId":"1003"
|
|
}
|
|
}
|
|
|
|
|
|
|
|
###添加插件
|
|
POST http://www.tall.wiki/gateway/pluginshop/plugin/savePlugin
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"name":"",
|
|
"description":"患者列表插件",
|
|
"version":"v1.0",
|
|
"styles":[
|
|
{
|
|
"html":"",
|
|
"js":"",
|
|
"styleType":0
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
|
|
### 更新redis内的插件信息
|
|
POST http://www.tall.wiki/gateway/pluginshop/plugin/updatePluginOfRedis
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
|
|
#
|
|
###
|
|
# POST http://test.tall.wiki/gateway/pluginshop/plugin/query
|
|
POST http://localhost:7210/task/type
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"id":"1418109581401530368",
|
|
"type":"3"
|
|
}
|
|
}
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
//Excel
|
|
### 导入Code字典
|
|
POST http://www.tall.wiki/filedeal/file/upload/importCode
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
title
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Content-Disposition: form-data; name="param"; filename="code字典表(1).xlsx"
|
|
Content-Type: xlsx
|
|
|
|
< C:\Users\dou\Desktop\code字典表(1).xlsx
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 更新插件
|
|
POST http://www.tall.wiki/gateway/pluginshop/plugin/updatePluginOfRedis
|
|
# POST http://127.0.0.1:7230/v3.0/patient/sandClock
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
|
|
#给任务添加插件
|
|
###F
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/plugin/save
|
|
# POST http://localhost:7210/task/regular
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":[
|
|
|
|
{
|
|
"taskDetailId":"1420645307791974400",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645307951357952",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645308123324416",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645308307873792",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645308404342784",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645308505006080",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645308605669376",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
},
|
|
{
|
|
"taskDetailId":"1420645308668583936",
|
|
"pluginName":"MP-TALL任务名a1",
|
|
"row":"1",
|
|
"col":"1"
|
|
}
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 导入插件
|
|
# POST http://127.0.0.1:7220/plugin/import
|
|
POST http://www.tall.wiki/gateway/pluginshop/plugin/import
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
title
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
|
Content-Disposition: form-data; name="param"; filename="插件导入表格.xlsx"
|
|
Content-Type: xlsx
|
|
|
|
< C:\Users\dou\Desktop\插件导入表格.xlsx
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
|
|
|
|
|
|
|
|
#给任务添加插件
|
|
###F
|
|
POST http://www.tall.wiki/gateway/qcp/v3.0/plugin/save
|
|
# POST http://localhost:7210/task/regular
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":[
|
|
{
|
|
"taskDetailId":"1420645308123324416",
|
|
"pluginName":"HT-QCP患者列表Ac1",
|
|
"row":"1",
|
|
"col":"1"
|
|
}
|
|
]
|
|
}
|