diff --git a/.gitignore b/.gitignore
index 3c3629e..cee5989 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
node_modules
+/dist/
diff --git a/src/api/health/chronicDiseaseManage.js b/src/api/health/chronicDiseaseManage.js
new file mode 100644
index 0000000..34614f8
--- /dev/null
+++ b/src/api/health/chronicDiseaseManage.js
@@ -0,0 +1,71 @@
+import request from '@/utils/request'
+
+export function listIndicator(query) {
+ return request({
+ url: '/health/chronicDiseaseManage/indicator/list',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addIndicator(data) {
+ return request({
+ url: '/health/chronicDiseaseManage/indicator',
+ method: 'post',
+ data
+ })
+}
+
+export function updateIndicator(data) {
+ return request({
+ url: '/health/chronicDiseaseManage/indicator',
+ method: 'put',
+ data
+ })
+}
+
+export function delIndicator(id) {
+ return request({
+ url: '/health/chronicDiseaseManage/indicator/' + id,
+ method: 'delete'
+ })
+}
+
+export function listFollowUp(query) {
+ return request({
+ url: '/health/chronicDiseaseManage/followUp/list',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addFollowUp(data) {
+ return request({
+ url: '/health/chronicDiseaseManage/followUp',
+ method: 'post',
+ data
+ })
+}
+
+export function updateFollowUp(data) {
+ return request({
+ url: '/health/chronicDiseaseManage/followUp',
+ method: 'put',
+ data
+ })
+}
+
+export function delFollowUp(id) {
+ return request({
+ url: '/health/chronicDiseaseManage/followUp/' + id,
+ method: 'delete'
+ })
+}
+
+export function listStatusHistory(query) {
+ return request({
+ url: '/health/chronicDiseaseManage/statusHistory/list',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/api/health/statisticAnalysis.js b/src/api/health/statisticAnalysis.js
index 8552779..bccd122 100644
--- a/src/api/health/statisticAnalysis.js
+++ b/src/api/health/statisticAnalysis.js
@@ -1,4 +1,5 @@
import request from '@/utils/request'
+import { downloadAction } from '@/utils/request'
export function getMarAnalysis(query) {
return request({
@@ -25,6 +26,14 @@ export function getHealthAnalysis(query) {
})
}
+export function getHealthScreen(query) {
+ return request({
+ url: '/health/analysis/healthScreen',
+ method: 'get',
+ params: query
+ })
+}
+
export function getRecordAnalysis(query) {
return request({
url: '/health/analysis/recordAnalysis',
@@ -33,6 +42,18 @@ export function getRecordAnalysis(query) {
})
}
+export function getRecordScreen(query) {
+ return request({
+ url: '/health/analysis/recordScreen',
+ method: 'get',
+ params: query
+ })
+}
+
+export function exportRecordFull(query, filename) {
+ return downloadAction('/health/analysis/recordFullExport', query, filename)
+}
+
export function getDoctorAnalysis(query) {
return request({
url: '/health/analysis/doctorAnalysis',
diff --git a/src/pages.json b/src/pages.json
index 606805b..62209f1 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -100,6 +100,12 @@
"navigationBarTitleText": "健康档案"
}
},
+ {
+ "path": "pages/health/healthRecord/details",
+ "style": {
+ "navigationBarTitleText": "档案统计"
+ }
+ },
{
"path": "pages/health/marRecord/list",
"style": {
@@ -248,6 +254,18 @@
"style": {
"navigationBarTitleText": "档案统计"
}
+ },
+ {
+ "path": "pages/health/statistic/healthScreen/index",
+ "style": {
+ "navigationBarTitleText": "健康总览态势"
+ }
+ },
+ {
+ "path": "pages/health/statistic/recordScreen/index",
+ "style": {
+ "navigationBarTitleText": "健康档案态势"
+ }
} ,
{
"path": "pages/health/statistic/marStatistic/index",
@@ -291,6 +309,12 @@
"navigationBarTitleText": "慢性疾病档案"
}
},
+ {
+ "path": "pages/health/chronicDisease/details",
+ "style": {
+ "navigationBarTitleText": "慢性疾病详情"
+ }
+ },
{
"path": "pages/health/medicationTask/list",
"style": {
diff --git a/src/pages/health/activity/addEdit.vue b/src/pages/health/activity/addEdit.vue
index 7fb5ef2..60232fb 100644
--- a/src/pages/health/activity/addEdit.vue
+++ b/src/pages/health/activity/addEdit.vue
@@ -11,7 +11,7 @@
-
▼
@@ -26,14 +26,14 @@
-
▼
-
▼
@@ -44,7 +44,7 @@
-->
-
▼
diff --git a/src/pages/health/chronicDisease/addEdit.vue b/src/pages/health/chronicDisease/addEdit.vue
index 40b8ca0..6467605 100644
--- a/src/pages/health/chronicDisease/addEdit.vue
+++ b/src/pages/health/chronicDisease/addEdit.vue
@@ -7,7 +7,7 @@
:labelStyle="{ color: '#333333', fontSize: '30rpx', marginRight: '24rpx' }">
-
▼
@@ -22,14 +22,14 @@
-
▼
-
▼
diff --git a/src/pages/health/chronicDisease/details.vue b/src/pages/health/chronicDisease/details.vue
new file mode 100644
index 0000000..dc5dd26
--- /dev/null
+++ b/src/pages/health/chronicDisease/details.vue
@@ -0,0 +1,886 @@
+
+
+
+
+ {{ detail.diseaseName || '慢性疾病' }}
+ {{ detail.personName || '--' }} · {{ formatDate(detail.diagnosisDate) }}
+
+ {{ getDiseaseStatusLabel(detail.diseaseStatus) }}
+
+
+
+ 诊断信息
+
+
+ 疾病编码
+ {{ detail.diseaseCode || '--' }}
+
+
+ 启用状态
+ {{ detail.isActive === 1 ? '已启用' : '已停用' }}
+
+
+ 主治医生
+ {{ detail.mainDoctor || '--' }}
+
+
+ 就诊医院
+ {{ detail.hospital || '--' }}
+
+
+ 科室
+ {{ detail.department || '--' }}
+
+
+
+ 诊断结果
+ {{ detail.notes || '--' }}
+
+
+ 备注
+ {{ detail.remark || '--' }}
+
+
+
+
+
+ 关联用药计划
+
+
+ 创建
+
+
+ 暂无关联用药计划
+
+
+
+ 药品
+ {{ item.medicineName || '--' }}
+
+
+ 剂量
+ {{ item.dosagePerTime || '--' }} {{ item.dosageUnit || '' }}
+
+
+ 周期
+ {{ formatDate(item.startDate) }} 至 {{ item.endDate ? formatDate(item.endDate) : '长期' }}
+
+
+ 时间
+ {{ parseTimeSlots(item.timeSlots).join('、') || '--' }}
+
+
+
+
+
+
+ 指标监测
+
+
+ 新增
+
+
+ 暂无指标监测记录
+
+
+ {{ item.indicatorValue ?? '--' }} {{ item.indicatorUnit || '' }}
+
+ 目标范围
+ {{ item.targetMin ?? '--' }} - {{ item.targetMax ?? '--' }}
+
+ {{ item.notes }}
+
+ 编辑
+ 删除
+
+
+
+
+
+
+ 复诊随访
+
+
+ 新增
+
+
+ 暂无复诊随访记录
+
+
+
+ 医院科室
+ {{ item.hospital || '--' }} / {{ item.department || '--' }}
+
+
+ 医生
+ {{ item.doctor || '--' }}
+
+
+ 下次日期
+ {{ formatDate(item.nextFollowUpDate) }}
+
+ 项目:{{ item.checkItems }}
+ 结果:{{ item.result }}
+ {{ item.notes }}
+
+ 编辑
+ 删除
+
+
+
+
+
+ 状态历史
+ 暂无状态变更历史
+
+
+ {{ getDiseaseStatusLabel(item.oldStatus) }}
+ 调整为
+ {{ getDiseaseStatusLabel(item.newStatus) }}
+
+ {{ formatDateTime(item.changeTime) }}
+ {{ item.reason || '档案状态调整' }}
+ 建议:{{ item.treatmentAdvice }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/health/chronicDisease/list.vue b/src/pages/health/chronicDisease/list.vue
index e1f7f85..48bc088 100644
--- a/src/pages/health/chronicDisease/list.vue
+++ b/src/pages/health/chronicDisease/list.vue
@@ -52,7 +52,7 @@
-
+