From 9bc13c7e8267465cc6c41bc3b64b234c3b365f94 Mon Sep 17 00:00:00 2001 From: song Date: Wed, 1 Dec 2021 14:35:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0canvas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +- rest/燕园.http | 310 ++++++++++++++++++ .../Evaluated/components/EvaluatedDetail.vue | 14 +- .../Evaluated/components/ProcessRestore.vue | 80 ++++- 4 files changed, 396 insertions(+), 11 deletions(-) create mode 100644 rest/燕园.http diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cb8989..fd90087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.1.0 (2021-11-30) +# 0.1.0 (2021-12-01) ### 🌟 新功能 范围|描述|commitId @@ -77,6 +77,7 @@ - | 缓存修改 | [63e1f0d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/63e1f0d) - | 获取用户收取那,提交用户信息 | [a3c54f1](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a3c54f1) - | 角色栏实现 | [94cd671](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/94cd671) + - | 解决bug | [155626c](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/155626c) - | 训练归属界面 | [4c34cee](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4c34cee) - | 设置小红点 | [9316bcb](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/9316bcb) - | 设置界面基本信息板块开发 | [bbaded0](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/bbaded0) diff --git a/rest/燕园.http b/rest/燕园.http new file mode 100644 index 0000000..51038a8 --- /dev/null +++ b/rest/燕园.http @@ -0,0 +1,310 @@ +@localhost = http://localhost:7260/v2.0 +@localhost_tall = http://localhost:7130/v3.0 +@test_tall = http://192.168.0.99:7130/v3.0 +@test = https://test.tall.wiki/gateway/yanyuan/v2.0/ +@www_tall = http://www.tall.wiki:7130/v3.0 +@www = http://www.tall.wiki/gateway/yanyuan/v2.0/ +@type = content-type: application/json;charset=utf-8 + +### 登录 +# @name login +POST {{test_tall}}/users/signin +{{type}} + +{ + "client": 1, + "type": 3, + "data": { + "identifier": "song", + "credential": "999999" + } +} + +### debug +GET {{test}}/debug +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +###绑定工具箱 +POST {{localhost}}/tool/bind +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "toolCode":"0000000003" + } +} +###查询登录用户身份 +POST {{test}}/userPower/identity +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ +} +###添加用户信息 +POST {{test}}/trainee/add +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "userName":"李四", + "sex":"1", + "clinicHospital":"就诊医院", + "hospitalProvinceId":"1", + "hospitalCityId":"2", + "hospitalAddress":"迎泽区XXX", + "clinicOffice":"神经内科", + "clinicDoctor":"赵医生", + "birthDate":"1965-08-01", + "height":"170", + "weight":"66", + "jobTitle":"农林渔牧", + "educateStatus":"小学", + "educateDate":"6", + "abodePlace":"太原市小店区", + "appearTime":"2021-01-01", + "diagnoseTime":"2021-02-01", + "diagnoseResult":"轻度痴呆", + "minBloodPressure":"90", + "maxBloodPressure":"120", + "bloodFat":"80", + "physicalAct":"中", + "apoeGene":"1", + "diseasesRecord":"没有疾病史", + "relativeDiseasesRecord":"亲属均无老年痴呆", + "isInsomnic":0, + "insomnicPeriod":"8", + "isSmoke":1, + "quitPeriod":2, + "sustainPeriod":3, + "averageNum":5, + "isDrink":2, + "abstinencePeriod":"2年", + "drinkType":"啤酒", + "isTea":"3", + "quitTea":"", + "continuePeriod":"1年", + "teaType":"绿茶", + "teaPeriod":"每天一杯", + "isStrongFlavour":1, + "isLikeMeat":1, + "isMoreOil":0 + } +} + +###查询绑定者创建的患者信息(申请成为家属前调用) +POST {{test}}/trainee/create +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "bindUserId":"1218025249493356544" + } +} + +###绑定手机号后,关联用户原有的使用者 +POST {{test}}/trainee/relation +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ +} + +###生成二维码 +POST {{test}}/tool/qrCode +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "id":"1" + } +} +###体验账号升级 +POST {{test}}/trainee/upgrade +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "keyUserIds":[ + "1456525052375470081" + ] + } +} + +###查询个人信息 +POST {{test}}/family/personal +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ +} +###申请成为家属 +POST {{test}}/family/apply +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "keyUserIds":[ + "1456525052375470080", + "1456525052375470081" + ], + "age":25, + "educateLevel": "本科", + "jobTitle": "码农", + "name": "小伙伴", + "sex": 1 + } +} + +###查询试题 +POST {{test}}/question/get +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "code":"NLCP", + "reportId": "1464155290781618176", + "num": "17" + } +} + +###保存答案 +POST {{test}}/question/saveAnswer +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "code":"NLCP", + "reportId": "1459057596971094016", + "questionId": "21", + "optionId": "1" + } +} + +###脑力测评结果计算 +POST {{test}}/mentalTest/calculate +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "mentalTestId": "1458968153773838336" + } +} + +###查询定期任务 +POST {{test}}/task/regular +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1460455105006145536", + "templateCode": "yanyuan-user", + "roleId":"1", + "queryNum":2, + "queryType":0 + } +} +###查询训练计划详情 +POST {{test}}/trainPlan/detail +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + # "recordId": "1460549920427347968" + "recordId": "1460549920452513797" + } +} + +###角色查询 +POST {{test}}/role/show +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1459057595893157888", + "templateCode": "yanyuan-user" + } +} + +###Zarit结果计算 +POST {{test}}/zarit/calculate +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "careId": "21" + } +} + +###选择工具箱 +POST {{localhost}}/trainPlan/chooseTool +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "recordId": "1460549920427347972", + "equipmentId": "2" + } +} + +###修改使用者信息 +POST {{test}}/trainee/update +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "maxBloodPressure": "97", + "minBloodPressure": "57", + "diseasesRecord": "高血压,其他:其他疾病3", + "relativeDiseasesRecord": "高血脂,其他:其他疾病3", + "projectId": "1460455105006145536" + } +} +###查询使用者信息 +POST {{test}}/trainee/query +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1464155289330388992" + } +} + +###查询负担量表记录 +POST {{test}}/zarit/queryList +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1460455105006145536" + } +} + +### 导入题目 +POST {{test}}/question/importQuestion +Authorization: Bearer {{login.response.body.$.data.token}} +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="param"; filename="D:\项目\山大一院-燕园\过程\导入\燕园Zarit导入v1.0.xlsx" + +< D:\项目\山大一院-燕园\过程\导入\燕园Zarit导入v1.0.xlsx +------WebKitFormBoundary7MA4YWxkTrZu0gW-- diff --git a/src/pagesProject/project/components/Evaluated/components/EvaluatedDetail.vue b/src/pagesProject/project/components/Evaluated/components/EvaluatedDetail.vue index 95f58de..01c5b8b 100644 --- a/src/pagesProject/project/components/Evaluated/components/EvaluatedDetail.vue +++ b/src/pagesProject/project/components/Evaluated/components/EvaluatedDetail.vue @@ -8,9 +8,9 @@ - + - + {{ purpose.type === 0 ? '训练目标' @@ -35,15 +35,15 @@ - - + + - 训练结果 + 训练结果 - 过程还原 - + 过程还原 + diff --git a/src/pagesProject/project/components/Evaluated/components/ProcessRestore.vue b/src/pagesProject/project/components/Evaluated/components/ProcessRestore.vue index 2c78a38..89a3ff7 100644 --- a/src/pagesProject/project/components/Evaluated/components/ProcessRestore.vue +++ b/src/pagesProject/project/components/Evaluated/components/ProcessRestore.vue @@ -1,9 +1,83 @@ - +