Browse Source

通用页面

master
zhizhi wu 4 years ago
parent
commit
2479f3eace
  1. 67
      智慧平车/平车基础版.http
  2. 166
      通用页面/通用页面.http

67
智慧平车/平车基础版.http

@ -147,15 +147,15 @@ Authorization: Bearer {{login.response.body.$.data.token}}
### 身份证识别
POST {{test}}/ocr/identifyWords
POST {{www}}/ocr/identifyWords
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="part"; filename="1.png"
Content-Disposition: form-data; name="part"; filename="4.jpg"
< C:\Users\23778\Pictures\1.png
< C:\Users\23778\Desktop\4.jpg
------WebKitFormBoundary7MA4YWxkTrZu0gW--
@ -176,28 +176,27 @@ Authorization: Bearer {{login.response.body.$.data.token}}
###统计-跑道图
POST {{localhost}}/statistical/runway
POST {{www}}/statistical/runway
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"endTime":1630892413003,
"projectId":"1",
"startTime":0
"endTime":1631239087000,
"projectId":1436146379201454080,
"startTime":1631205791000
}
}
###统计-DNT分段统计
POST {{localhost}}/statistical/dnt
POST {{www}}/statistical/dnt
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"endTime":1630892413003,
"projectId":"1",
"endTime":1633622400000,
"projectId":"1436146561993416704",
"startTime":0
}
@ -252,19 +251,19 @@ Authorization: Bearer {{login.response.body.$.data.token}}
# 溶栓:ZLFA-JMRS 是 JMRSSJ
# 机械再通:ZLFA-XGZL 是 JRZL-CCSJ
# 脑出血:RYPG-ZDJG 出血性脑卒中 ZYZL-KSSJ
POST {{test}}/statistical/countSpecifyAnswer
POST {{www}}/statistical/countSpecifyAnswer
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1",
"startTime":"1630483038000",
"endTime":"1630655849139",
"projectId":"1436146379201454080",
"startTime":"1631199600000",
"endTime":"1631289599000",
"countType":0,
"questionCode":"RYPG-ZDJG",
"answer":"出血性脑卒中",
"accordCode":"ZYZL-KSSJ"
"questionCode":"ZLFA-XGZL",
"answer":"",
"accordCode":"JRZL-CCSJ"
}
}
###分项-时间窗
@ -297,16 +296,16 @@ Authorization: Bearer {{login.response.body.$.data.token}}
#ONT: JMRSSJ JBXX-FBSJ
#DNT: JMRSSJ JBXX-DYSJ
#DPT: JRZL-CCSJ JBXX-DYSJ
POST {{localhost}}/statistical/timeMedian
POST {{www}}/statistical/timeMedian
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1",
"startTime":"1630483038000",
"endTime":"1630655849139",
"countType":0,
"projectId":"1436146379201454080",
"startTime":"1631118230000",
"endTime":"1631259557462",
"countType":2,
"subtractionCode":"JBXX-FBSJ",
"minuendCode":"JMRSSJ"
}
@ -436,7 +435,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
### 质控员查看患者信息
POST {{localhost}}/patient/listByQuality
POST {{www}}/patient/listByQuality
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
@ -481,14 +480,14 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
}
### 医院排名
POST {{test}}/organization/rank
POST {{www}}/organization/rank
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"areaId":"",
"level":"",
"level":"3",
"type":0,
"projectId": 1
}
@ -505,7 +504,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
}
### 地区信息
POST {{test}}/firstAid/getDetail
POST {{www}}/firstAid/getDetail
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
@ -514,3 +513,17 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"projectId":"1"
}
}
//Excel
### 导入Code字典
POST {{www}}/organization/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
< D:\项目\质控\导入\质控医院.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--

166
通用页面/通用页面.http

@ -0,0 +1,166 @@
@localhost = http://127.0.0.1:8010/
@test = http://127.0.0.1:8010/
@type = content-type: application/json;charset=utf-8
### 列表
POST {{test}}/page/list
{{type}}
{
"param":{
"pageNum":1,
"pageSize":10
}
}
### 添加
POST {{localhost}}/page/add
{{type}}
{
"param":{
"logo":"logo",
"name":"项目1",
"db":null,
"pages": [
{
"title":"title1",
"style":0,
"searches":[
{
"type":0,
"show":"姓名",
"name":"name"
},
{
"type":3,
"show":"性别",
"name":"sex",
"options": {
"dataFetchType": 0,
"data":[
{"key":0, "value":"男"},
{"key":1, "value":"女"}
]
}
}
],
"fields":[
{
"show":"序号",
"type":"2"
},
{
"show":"姓名",
"type":"0",
"field":"name"
},
{
"show":"年龄",
"type":"0",
"field":"age"
},
{
"show":"性别",
"type":"0",
"field":"sex"
},
{
"show":"操作",
"type":"1",
"operates": [
{"icon":"edit", "show":"编辑","type":"0","url":"http://www.baidu.com"},
{
"icon":"delete",
"show":"删除",
"type":"1",
"dialogs":{
"show":"是否确认执行删除操作",
"button": [
{"show": "取消", "responseType":0},
{"show": "确认", "responseType":1, "url":"http://www.baidu.com/delete"}
]
}
}
]
}
],
"sql" : "select id, name, age from t_user",
"operates":[
{"icon":"add", "show":"添加","type":"0","url":"http://www.baidu.com"},
{"icon":"download","show":"下载","type":"2","url":"http://www.baidu.com"},
{"icon":"import","show":"上传","type":"3","url":"http://www.baidu.com"}
]
},
{
"title":"title1",
"style":0,
"searches":[
{
"type":0,
"show":"姓名",
"name":"name"
},
{
"type":3,
"show":"性别",
"name":"sex",
"options": {
"dataFetchType": 0,
"data":[
{"key":0, "value":"男"},
{"key":1, "value":"女"}
]
}
}
],
"fields":[
{
"show":"序号",
"type":"2"
},
{
"show":"姓名",
"type":"0",
"field":"name"
},
{
"show":"年龄",
"type":"0",
"field":"age"
},
{
"show":"性别",
"type":"0",
"field":"sex"
},
{
"show":"操作",
"type":"1",
"operates": [
{"icon":"edit", "show":"编辑","type":"0","url":"http://www.baidu.com"},
{
"icon":"delete",
"show":"删除",
"type":"1",
"dialogs":{
"show":"是否确认执行删除操作",
"button": [
{"show": "取消", "responseType":0},
{"show": "确认", "responseType":1, "url":"http://www.baidu.com/delete"}
]
}
}
]
}
],
"sql" : "select id, name, age from t_user",
"operates":[
{"icon":"add", "show":"添加","type":"0","url":"http://www.baidu.com"},
{"icon":"download","show":"下载","type":"2","url":"http://www.baidu.com"},
{"icon":"import","show":"上传","type":"3","url":"http://www.baidu.com"}
]
}
]
}
}
Loading…
Cancel
Save