diff --git a/src/api/health/chronicDisease.js b/src/api/health/chronicDisease.js
new file mode 100644
index 0000000..a6cb05f
--- /dev/null
+++ b/src/api/health/chronicDisease.js
@@ -0,0 +1,70 @@
+import request from '@/utils/request'
+
+// 查询慢性疾病档案列表
+export function listChronicDisease(query) {
+ return request({
+ url: '/health/chronicDisease/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询慢性疾病档案详细
+export function getChronicDisease(id) {
+ return request({
+ url: '/health/chronicDisease/' + id,
+ method: 'get'
+ })
+}
+
+// 新增慢性疾病档案
+export function addChronicDisease(data) {
+ return request({
+ url: '/health/chronicDisease',
+ method: 'post',
+ data
+ })
+}
+
+// 修改慢性疾病档案
+export function updateChronicDisease(data) {
+ return request({
+ url: '/health/chronicDisease',
+ method: 'put',
+ data
+ })
+}
+
+// 删除慢性疾病档案
+export function delChronicDisease(id) {
+ return request({
+ url: '/health/chronicDisease/' + id,
+ method: 'delete'
+ })
+}
+
+// 根据成员ID查询慢性疾病档案列表
+export function listChronicDiseaseByMember(memberId) {
+ return request({
+ url: '/health/chronicDisease/listByMember/' + memberId,
+ method: 'get'
+ })
+}
+
+// 查询成员列表
+export function listPerson(query) {
+ return request({
+ url: '/health/person/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询疾病列表
+export function listHealthDiseases(query) {
+ return request({
+ url: '/health/HealthDiseases/list',
+ method: 'get',
+ params: query
+ })
+}
\ No newline at end of file
diff --git a/src/pages.json b/src/pages.json
index d450d9b..3059d24 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -798,6 +798,24 @@
"style": {
"navigationBarTitleText": "投资交易记录"
}
+ },
+ {
+ "path": "pages/work/health/chronicDisease/list",
+ "style": {
+ "navigationBarTitleText": "慢性疾病档案"
+ }
+ },
+ {
+ "path": "pages/work/health/chronicDisease/details",
+ "style": {
+ "navigationBarTitleText": "慢性疾病详情"
+ }
+ },
+ {
+ "path": "pages/work/health/chronicDisease/addEdit",
+ "style": {
+ "navigationBarTitleText": "慢性疾病档案"
+ }
}
],
"subPackages": [
diff --git a/src/pages/work/health/chronicDisease/addEdit.vue b/src/pages/work/health/chronicDisease/addEdit.vue
new file mode 100644
index 0000000..9d04fcb
--- /dev/null
+++ b/src/pages/work/health/chronicDisease/addEdit.vue
@@ -0,0 +1,262 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/work/health/chronicDisease/details.vue b/src/pages/work/health/chronicDisease/details.vue
new file mode 100644
index 0000000..79c3f94
--- /dev/null
+++ b/src/pages/work/health/chronicDisease/details.vue
@@ -0,0 +1,325 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+ 成员
+ {{ detailInfo.memberName || '--' }}
+
+
+ 疾病状态
+ {{ getStatusText(detailInfo.diseaseStatus) }}
+
+
+ 确诊日期
+ {{ detailInfo.diagnosisDate || '--' }}
+
+
+ 是否启用
+ {{ detailInfo.isActive === 1 ? '启用' : '停用' }}
+
+
+
+
+
+
+
+ 就医信息
+
+
+
+ 主治医生
+ {{ detailInfo.mainDoctor || '--' }}
+
+
+ 就诊医院
+ {{ detailInfo.hospital || '--' }}
+
+
+ 科室
+ {{ detailInfo.department || '--' }}
+
+
+
+
+
+
+
+ 备注说明
+
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/work/health/chronicDisease/list.vue b/src/pages/work/health/chronicDisease/list.vue
new file mode 100644
index 0000000..9affbd3
--- /dev/null
+++ b/src/pages/work/health/chronicDisease/list.vue
@@ -0,0 +1,522 @@
+
+
+
+
+
+
+
+
+ 筛选
+
+
+
+
+ 成员
+
+ {{ item.name }}
+
+ 疾病状态
+
+ {{ item.label }}
+
+ 是否启用
+
+ {{ item.label }}
+
+
+
+
+
+ 重置
+
+
+
+ 确定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 主治医生
+ {{ item.mainDoctor || '--' }}
+
+
+ 就诊医院
+ {{ item.hospital || '--' }}
+
+
+ 科室
+ {{ item.department || '--' }}
+
+
+ 状态
+ {{ item.isActive === 1 ? '启用' : '停用' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file