From 61fe829d1a7b8a7407e172708262f1627d58b669 Mon Sep 17 00:00:00 2001 From: xiezhijun <15270898033@163.com> Date: Sat, 26 Jun 2021 18:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E7=BB=8F=E4=B8=8D=E8=B0=83=E9=97=AE?= =?UTF-8?q?=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/SysCustomerHealthyExtended.java | 4 + .../SysCustomerHealthyExtendedMapper.xml | 6 +- .../custom/SysCustomerHealthyMapper.xml | 2 +- .../src/components/HealthyForm/Form1.vue | 5 +- .../src/components/HealthyForm/Form3.vue | 6 +- .../src/components/HealthyForm/Form4.vue | 6 +- .../src/components/HealthyForm/Form5.vue | 6 +- .../src/components/HealthyForm/Form6.vue | 6 +- .../src/components/HealthyForm/Form7.vue | 6 +- .../src/components/HealthyForm/Form8.vue | 5 +- .../src/components/HealthyForm/Form9.vue | 6 +- .../components/HealthyForm/FormExtended.vue | 196 ++++++++- .../components/PhysicalSignsDialog/index.vue | 197 +-------- .../components/PhysicalSignsEdit/index.vue | 15 +- .../PhysicalSignsGuidance/index.vue | 6 +- stdiet-ui/src/utils/healthyData.js | 398 +++++++++++++++++- .../custom/subhealthy/investigation/index.vue | 64 ++- 17 files changed, 699 insertions(+), 235 deletions(-) diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysCustomerHealthyExtended.java b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysCustomerHealthyExtended.java index aceb2abb6..90c66cd26 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysCustomerHealthyExtended.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysCustomerHealthyExtended.java @@ -57,6 +57,10 @@ public class SysCustomerHealthyExtended extends BaseEntity @Excel(name = "焦虑状态评估") private String anxietyStateMessage; + /** 月经不调、多囊信息 */ + @Excel(name = "月经不调、多囊信息") + private String menstruationMessage; + /** 删除标识 0未删除 1已删除 */ private Long delFlag; } \ No newline at end of file diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyExtendedMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyExtendedMapper.xml index 472c1099e..eac78d073 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyExtendedMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyExtendedMapper.xml @@ -15,11 +15,12 @@ + - select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message, del_flag from sys_customer_healthy_extended + select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message, menstruation_messag,del_flag from sys_customer_healthy_extended @@ -43,6 +44,7 @@ depressed_state_message, blood_pressure_message, anxiety_state_message, + menstruation_message, del_flag, @@ -55,6 +57,7 @@ #{depressedStateMessage}, #{bloodPressureMessage}, #{anxietyStateMessage}, + #{menstruationMessage}, #{delFlag}, @@ -71,6 +74,7 @@ depressed_state_message = #{depressedStateMessage}, blood_pressure_message = #{bloodPressureMessage}, anxiety_state_message = #{anxietyStateMessage}, + menstruation_message = #{menstruationMessage}, del_flag = #{delFlag}, where id = #{id} diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyMapper.xml index 0cf157490..0a8ce7132 100644 --- a/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyMapper.xml +++ b/stdiet-custom/src/main/resources/mapper/custom/SysCustomerHealthyMapper.xml @@ -557,7 +557,7 @@ - select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message from sys_customer_healthy_extended where del_flag = 0 and healthy_id = #{id} limit 1 + select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message,menstruation_message from sys_customer_healthy_extended where del_flag = 0 and healthy_id = #{id} limit 1 \ No newline at end of file diff --git a/stdiet-ui/src/components/HealthyForm/Form1.vue b/stdiet-ui/src/components/HealthyForm/Form1.vue index 165015ee8..959ffc575 100644 --- a/stdiet-ui/src/components/HealthyForm/Form1.vue +++ b/stdiet-ui/src/components/HealthyForm/Form1.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][0]}} + {{getTitle()}} 请您确认下方姓名、手机号是否正确 @@ -73,6 +73,9 @@ export default { }); } }, + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 0); + }, }, props: { form: { diff --git a/stdiet-ui/src/components/HealthyForm/Form3.vue b/stdiet-ui/src/components/HealthyForm/Form3.vue index 837a7061b..c8bc84842 100644 --- a/stdiet-ui/src/components/HealthyForm/Form3.vue +++ b/stdiet-ui/src/components/HealthyForm/Form3.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][2]}} + {{getTitle()}} 1、家庭调味品 @@ -50,7 +50,9 @@ export default { }; }, methods: { - + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 2); + }, }, props: { form: { diff --git a/stdiet-ui/src/components/HealthyForm/Form4.vue b/stdiet-ui/src/components/HealthyForm/Form4.vue index ed5fb2c8c..be6f9088f 100644 --- a/stdiet-ui/src/components/HealthyForm/Form4.vue +++ b/stdiet-ui/src/components/HealthyForm/Form4.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][3]}} + {{getTitle()}} 1、您三餐的习惯 @@ -151,7 +151,9 @@ export default { }; }, methods: { - + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 3); + }, }, props: { form: { diff --git a/stdiet-ui/src/components/HealthyForm/Form5.vue b/stdiet-ui/src/components/HealthyForm/Form5.vue index 8f3e07b1d..a09fcf88e 100644 --- a/stdiet-ui/src/components/HealthyForm/Form5.vue +++ b/stdiet-ui/src/components/HealthyForm/Form5.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][4]}} + {{getTitle()}} 1、您每天的饮水习惯 @@ -145,7 +145,9 @@ export default { }; }, methods: { - + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 4); + }, }, props: { form: { diff --git a/stdiet-ui/src/components/HealthyForm/Form6.vue b/stdiet-ui/src/components/HealthyForm/Form6.vue index 55be8660a..0c11c1b88 100644 --- a/stdiet-ui/src/components/HealthyForm/Form6.vue +++ b/stdiet-ui/src/components/HealthyForm/Form6.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][5]}} + {{getTitle()}} 1、运动频率 @@ -60,7 +60,9 @@ export default { }; }, methods: { - + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 5); + }, }, props: { form: { diff --git a/stdiet-ui/src/components/HealthyForm/Form7.vue b/stdiet-ui/src/components/HealthyForm/Form7.vue index e967675cb..f698e4e5b 100644 --- a/stdiet-ui/src/components/HealthyForm/Form7.vue +++ b/stdiet-ui/src/components/HealthyForm/Form7.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][6]}} + {{getTitle()}} 1、您的睡眠状况 @@ -43,7 +43,9 @@ export default { }; }, methods: { - + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 6); + }, }, props: { form: { diff --git a/stdiet-ui/src/components/HealthyForm/Form8.vue b/stdiet-ui/src/components/HealthyForm/Form8.vue index 57a822e76..932593bda 100644 --- a/stdiet-ui/src/components/HealthyForm/Form8.vue +++ b/stdiet-ui/src/components/HealthyForm/Form8.vue @@ -1,6 +1,6 @@ - {{healthyData['titleArray'][7]}} + {{getTitle()}} 1、本人病史情况 @@ -161,6 +161,9 @@ export default { }; }, methods: { + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 7); + }, //获取湿气 getMoistureDictData() { if(this.flag == 0){ diff --git a/stdiet-ui/src/components/HealthyForm/Form9.vue b/stdiet-ui/src/components/HealthyForm/Form9.vue index 949bc58d3..95727ac60 100644 --- a/stdiet-ui/src/components/HealthyForm/Form9.vue +++ b/stdiet-ui/src/components/HealthyForm/Form9.vue @@ -1,6 +1,6 @@ - {{healthyData.extendHealthyIndex.indexOf(form.conditioningProjectId) != -1 ? '十、体检报告' : healthyData['titleArray'][8]}} + {{getTitle()}} 1、体检报告 移除文件 1、最多可上传三份,且每份文件不超过20M 2、仅支持bmp,gif, jpg, jpeg, png, doc, docx, xls, xlsx, ppt, pptx, html, htm, txt, rar, zip, gz, bz2, pdf格式文件 + {{ form.conditioningProjectId == 3 ? '3、体检报告必须包含精子活力检查、阴道彩超、地中海贫血基因筛查、甲状腺功能检查、叶酸代谢基因检测五个方面' : ""}} @@ -59,6 +60,9 @@ export default { }; }, methods: { + getTitle(){ + return this.healthyData.getTitle(this.form.conditioningProjectId, 8); + }, uploadFile(){ if(this.upload.fileList.length > 0 && this.form.medicalReport.length != this.upload.fileList.length){ this.$refs.upload.submit(); diff --git a/stdiet-ui/src/components/HealthyForm/FormExtended.vue b/stdiet-ui/src/components/HealthyForm/FormExtended.vue index 3065f6e2c..0dc4ac3d0 100644 --- a/stdiet-ui/src/components/HealthyForm/FormExtended.vue +++ b/stdiet-ui/src/components/HealthyForm/FormExtended.vue @@ -6,8 +6,9 @@ 1、餐前餐后血糖 - 餐前:mmol/L - 餐后两小时:mmol/L + 餐前:mmol/L + 餐后两小时:mmol/L + 糖化血红蛋白:mmol/L 2、血糖水平以及测量时间 @@ -66,6 +67,15 @@ 是 否 + 若存在体重变化,请您描述一下变化情况 + + @@ -121,7 +131,7 @@ 若存在请选择对应症状 - {{ item.name }} + {{ item.name }} @@ -188,6 +198,174 @@ + + + 1、月经基础情况 + + + 月经周期:天 + 月经天数:天 + + + + + + + + + + + + + + + + 是 + 否 + + 若存在闭经,请您描述一下闭经时长 + + + + + + + + {{ item.name }} + + + 其他颜色: + + + + + + {{ item.name }} + + + 其他形状: + + + + + 2、痛经情况 + + + 是 + 否 + + + + + + + {{ item.name }} + + + + + + + {{ item.name }} + + + + + 类型特点说明: + {{item.name}}:{{item.value}} + + + 3、药物情况 + + + 是 + 否 + + 若存在用药,请描述具体名称、剂量、服用时间等 + + + + + + + 是 + 否 + + + + + + + + 是 + 否 + + + + + + + + 是 + 否 + + + + + + + + 是 + 否 + + + + + + + + + + +
{{healthyData['titleArray'][0]}}
{{getTitle()}}
请您确认下方姓名、手机号是否正确
{{healthyData['titleArray'][2]}}
1、家庭调味品
{{healthyData['titleArray'][3]}}
1、您三餐的习惯
{{healthyData['titleArray'][4]}}
1、您每天的饮水习惯
{{healthyData['titleArray'][5]}}
1、运动频率
{{healthyData['titleArray'][6]}}
1、您的睡眠状况
{{healthyData['titleArray'][7]}}
1、本人病史情况
{{healthyData.extendHealthyIndex.indexOf(form.conditioningProjectId) != -1 ? '十、体检报告' : healthyData['titleArray'][8]}}
1、体检报告
1、餐前餐后血糖
2、血糖水平以及测量时间
1、月经基础情况
2、痛经情况
3、药物情况