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 @@ + + + + + \ 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 ed9f822..7e94b78 100644 --- a/src/pages.json +++ b/src/pages.json @@ -489,6 +489,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 d4ff91b..e64ab7f 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -54,6 +54,8 @@ interface NavigateToOptions { "/pages-integrated/duty/index" | "/pages-politics/health/add" | "/pages-politics/health/followup" | + "/pages-politics/healthfollow/HealthDetails" | + "/pages-politics/healthfollow/lookhealth" | "/pages-politics/healthfollow/send" | "/pages-politics/healthfollow/sendmessage" | "/pages-process/approvalTabbar" |