##医疗废物信息系统 PDA手持设备接口
基于java springboot2.5+vue
下载1:pc服务端项目下载
链接:https://pan.baidu.com/s/1WNzL1ejkAGRFOIeVUQUjHA
提取码:1234 这个需要自己部署服务环境,,
需要将站点/api路径反代到java站点
下载2:Windows一键部署包,一键启动 apache,nginx可选。mysql8 体积有点大
链接:https://pan.baidu.com/s/1dH9qXQFCKB1xRgsbGR2Z7Q
提取码:1234
下载后,需进入nginx站点配置文件 去掉php支持那部分设置
演示地址 http://ylfw.ccxcc.cc:801
下载安装 注意服务器端口 安全组是否开放
响应状态code
0:正常
400:错误
401:未登入
403:无权限
登入接口
http://192.168.0.xxx:8081/login
POST请求信息:
{
"userName": "admin",
"passWord": "123"
}
回调信息:
{
"code": "0",
"msg": "请求成功",
"data": {
"userInfo": {
"id": 1,
"user": "admin",
"pass": "123",
"roleid": 1,
"address": "",
"email": "13011103@qq.com",
"c_at": null,
"pic": "",
"roles": ["1-1", "1-2", "1-3", "2-1", "2-2", "2-3", "2-4", "3-1", "3-2", "3-3"],
"userName": "admin"
},
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiIyIiwidW5hbWUiOixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxjE2Mjk0MjYwOTF9.aEZu15riwezLGC2CsbhUsvSRxVPHfGmYyaGZlCFM0K8"
}
}
新增废物信息接口
http://192.168.0.xxx:8081/pda-add
POST 请求参数:
{
"ksmc": "美容科",
"ksfzr": "郑先7",
"t_num": "0022",
"ds": 2,
"zl": "7.2",
"sjr": "李先7",
"lx": "药物性"
}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": {
"ksmc": "美容科",
"ksfzr": "郑先7",
"t_num": "0022",
"ds": 2,
"zl": "7kg",
"sjr": "李先7",
"lx": "药物性",
"l_num": "S1629441448844_11"
}
}
显示接口
http://192.168.0.xxx:8081/pda-show
POST 请求参数:
{l_num:"xxx"}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": {
"id": 2,
"bt": null,
"ksid": 1,
"ksmc": "美容科",
"ksfzr": "郑先生2",
"t_num": "0022",
"l_num": "Sf213123-heh",
"zl": "7kg",
"zt": 2, //1、已采集 2、暂存中 3、已出库
"sjr": "李先生",
"c_at": "2021-07-29T14:25:18",
"lx": "药物性"
}
}
删除接口
http://192.168.0.xxx:8081/pda-del
POST 请求参数:
{"l_num":"XXX"}
回调信息:
{
"code": 0,
"msg": "请求成功"
}
列表接口
http://192.168.0.xxx:8081/pda-list
POST 请求参数:
{"size":20,"num":1}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": [
{
"id": 75,
"bt": null,
"ksid": null,
"ksmc": "整形科",
"ksfzr": "郑先生",
"t_num": "8",
"l_num": "S1636536196499_26",
"zl": 5.6,
"ds": null,
"zt": 1,
"sjr": "admin",
"c_at": "2021-11-10T17:23:16",
"lx": "药物性"
}
]
}
批量装箱
http://192.168.0.xxx:8081/pda-addx
POST 请求参数:
{"ids":[7,8]}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": {
"zl": 13.58,
"zxr": "admin",
"x_num": "R1637050972965_16",
"ids": [
7,
8
],
"zx_at": "",
"yymc": "医院名称"
}
}
装箱信息
http://192.168.0.xxx:8081/pda-shows
POST 请求参数:
{"x_num":"R1637025656903_87"}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": {
"id": 10,
"x_num": "R1637025656903_87",
"sjr": null,
"zxr": "老林",
"ckr": "出库人",
"zl": 10.7,
"zx_at": "",
"ck_at": "",
"zt": 2, //1、已采集 2、暂存中 3、已出库
"ds": 2,
"lx": null
}
}
删除装箱
http://192.168.0.xxx:8081/pda-delx
POST 请求参数:
{"x_num":"XXX"}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": {
"x_num": "R1637025656903_87"
}
}
出库
http://192.168.0.xxx:8081/pda-adds
POST 请求参数:
{"x_num":"R1637025656903_87"}
回调信息:
{
"code": 0,
"msg": "请求成功",
"data": {
"x_num": "R1637025656903_87"
}
}
字典调用
http://192.168.0.xxx:8081/dict
回调信息:
{
"code": "0",
"msg": "请求成功",
"data": {
"jgm": "00251223",
"xttb": "/html/upload/xt/syslogo.png",
"role": [{
"id": 1,
"name": "管理组",
"rabc": "user-add,user-edit,ks-list",
"roles": "1-1,1-2,1-3,2-1,2-2,2-3,2-4"
}],
"sjzt": "{\"1\":\"已采集\",\"2\":\"暂存中\",\"3\":\"已出库\"}",
"fwfl": "感染性,病理性,损伤性,药物性,化学性",
"xtmc": "医疗废物管理系统",
"ksxx": [{ //科室信息
"id": 1,
"ksmc": "美容科",
"ksfzr": "老郑",
"ms": "没有描述类",
"ewm": null,
"c_at": "------------",
"pic": "/html/upload/ks/ks01.jpg",
"t_num": null
}]
}
}