From c979a59072519a02acc2b8ec7ec7ff6ad7d3c0f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E7=A5=A5=E7=91=9E?= <1131549607@qq.com>
Date: Thu, 26 Jun 2025 08:38:28 +0800
Subject: [PATCH] =?UTF-8?q?6.26=E5=BC=A0=E7=A5=A5=E7=91=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/healthfollow/healthfllow.ts | 34 +++-
.../healthfollow/HealthDetails.vue | 77 ++++++++
.../healthfollow/lookhealth.vue | 173 ++++++++++++++++++
src/pages-politics/healthfollow/send.vue | 11 +-
.../healthfollow/sendmessage.vue | 2 +
src/pages.json | 13 ++
src/types/uni-pages.d.ts | 2 +
7 files changed, 308 insertions(+), 4 deletions(-)
create mode 100644 src/pages-politics/healthfollow/HealthDetails.vue
create mode 100644 src/pages-politics/healthfollow/lookhealth.vue
diff --git a/src/api/healthfollow/healthfllow.ts b/src/api/healthfollow/healthfllow.ts
index 34bc399..631d1dd 100644
--- a/src/api/healthfollow/healthfllow.ts
+++ b/src/api/healthfollow/healthfllow.ts
@@ -2,11 +2,43 @@ import { http } from '@/utils/http';
-// 判断是否是三级高血压人员
+
export function followpersonList(config : object) { // 获取随访人员信息
return http({
url: '/Hmcappselect/appselect/Hmcapplist',
method: 'GET',
data: config
})
+}
+
+
+//
+export function addhealthList(config : object) { // 获取随访人员信息
+ return http({
+ url: '/tbbApp/Tbbapp/applist',
+ method: 'GET',
+ data: config
+ })
+}
+
+
+//
+export function addByCld(config : object) { //
+ return http({
+ url: '/jksf.tbb/cxcGwjktbTbb/addByCld',
+ method: 'GET',
+ data: config
+ })
+}
+
+
+
+/*通过id查询数据*/
+//查询人员回答问题子表
+export function queryByIdApi(id : string) {
+ return http({
+ url: '/tbbApp/Tbbapp/queryById',
+ method: 'GET',
+ data: { id }
+ })
}
\ No newline at end of file
diff --git a/src/pages-politics/healthfollow/HealthDetails.vue b/src/pages-politics/healthfollow/HealthDetails.vue
new file mode 100644
index 0000000..315a9c9
--- /dev/null
+++ b/src/pages-politics/healthfollow/HealthDetails.vue
@@ -0,0 +1,77 @@
+
+ {
+ layout: 'default',
+ style: {
+ navigationStyle: 'custom',
+ navigationBarTitleText: '健康随访详情',
+ },
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages-politics/healthfollow/lookhealth.vue b/src/pages-politics/healthfollow/lookhealth.vue
new file mode 100644
index 0000000..a9071fc
--- /dev/null
+++ b/src/pages-politics/healthfollow/lookhealth.vue
@@ -0,0 +1,173 @@
+
+
+
+
+
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+ {{item.depart_dictText}}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages-politics/healthfollow/send.vue b/src/pages-politics/healthfollow/send.vue
index d2ee10a..9fbd012 100644
--- a/src/pages-politics/healthfollow/send.vue
+++ b/src/pages-politics/healthfollow/send.vue
@@ -17,9 +17,8 @@
-
-
+
@@ -36,7 +35,8 @@
import SelectDept from '@/components/SelectDept/SelectDept'
import {
- followpersonList
+ followpersonList,
+ addByCld
} from '@/api/healthfollow/healthfllow'
@@ -88,6 +88,11 @@
// 收集所有选中项的 ldhth 字段并以逗号拼接
const ldhthValues = selectedData.map(item => item.ldhth).join(',');
console.log('拼接后的 ldhth 值:', ldhthValues);
+ addByCld({
+ ldhths:ldhthValues
+ }).then(res=>{
+ console.log("res----",res)
+ })
}
diff --git a/src/pages-politics/healthfollow/sendmessage.vue b/src/pages-politics/healthfollow/sendmessage.vue
index 5f0f51e..9936d7a 100644
--- a/src/pages-politics/healthfollow/sendmessage.vue
+++ b/src/pages-politics/healthfollow/sendmessage.vue
@@ -18,6 +18,7 @@
+
@@ -42,6 +43,7 @@
getEnvBaseUrl
} from '@/utils/index'
import send from './send'
+ import lookhealth from './lookhealth'
const items = ref(['发送随访信息', '查看随访信息'])
const userStore = useUserStore(); //登录人信息
diff --git a/src/pages.json b/src/pages.json
index b7d4451..2e3b34d 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -480,6 +480,19 @@
"navigationBarTitleText": "健康填报"
}
},
+ {
+ "path": "healthfollow/HealthDetails",
+ "type": "page",
+ "layout": "default",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "健康随访详情"
+ }
+ },
+ {
+ "path": "healthfollow/lookhealth",
+ "type": "page"
+ },
{
"path": "healthfollow/send",
"type": "page"
diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts
index 7cbbc80..258dd5c 100644
--- a/src/types/uni-pages.d.ts
+++ b/src/types/uni-pages.d.ts
@@ -53,6 +53,8 @@ interface NavigateToOptions {
"/pages-humanResource/personnel/standingbook" |
"/pages-integrated/duty/index" |
"/pages-politics/health/add" |
+ "/pages-politics/healthfollow/HealthDetails" |
+ "/pages-politics/healthfollow/lookhealth" |
"/pages-politics/healthfollow/send" |
"/pages-politics/healthfollow/sendmessage" |
"/pages-process/approvalTabbar" |