From 2175a82f6c770858f13325a1da671283386cd81b Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Thu, 19 Jun 2025 17:38:54 +0800 Subject: [PATCH 01/16] =?UTF-8?q?1.=E6=B5=81=E7=A8=8B=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0=E8=80=83=E6=A0=B8=E5=AE=9E?= =?UTF-8?q?=E6=96=BD=E3=80=81=E6=8C=87=E6=A0=87=E8=80=83=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.development | 2 +- src/api/bpm/index.ts | 48 +++- src/api/humanResource/clockin/index.ts | 11 + src/pages-bpm/khss/index.vue | 230 +++++++++++++++++++ src/pages-bpm/zbkh/index.vue | 178 ++++++++++---- src/pages-humanResource/absence/index.vue | 1 - src/pages-process/components/DynamicLink.vue | 39 ++-- src/pages.json | 4 + src/pages/user/people.vue | 37 ++- src/store/index.ts | 4 + src/types/uni-pages.d.ts | 1 + src/utils/index.ts | 1 + 12 files changed, 479 insertions(+), 77 deletions(-) create mode 100644 src/api/humanResource/clockin/index.ts create mode 100644 src/pages-bpm/khss/index.vue diff --git a/env/.env.development b/env/.env.development index 375d2cf..09ee786 100644 --- a/env/.env.development +++ b/env/.env.development @@ -4,6 +4,6 @@ NODE_ENV = 'development' VITE_DELETE_CONSOLE = false # 是否开启sourcemap VITE_SHOW_SOURCEMAP = true -VITE_SERVER_BASEURL = 'http://10.75.15.247:8080/jeecg-boot' +VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' #VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot' \ No newline at end of file diff --git a/src/api/bpm/index.ts b/src/api/bpm/index.ts index 716e0d0..c7cc202 100644 --- a/src/api/bpm/index.ts +++ b/src/api/bpm/index.ts @@ -29,11 +29,11 @@ export function queryZbkhZbByIdApi(id : string) { } /*通过id查询指标考核子表数据*/ -export function queryZbkhFbByIdApi(mainId : string) { +export function queryZbkhFbByIdApi(data : object) { return http({ url: '/jxkh.zbkh/cxcJxkhZbkhZb/listCxcJxkhZbkhDwkhByMainId', method: 'GET', - data: { mainId } + data }) } @@ -46,3 +46,47 @@ export function queryZbkhBtByIdApi(mainId : string) { }) } +/*通过id查询考核实施主表数据*/ +export function queryKhssZbByIdApi(id : string) { + return http({ + url: '/jxkh.khss/cxcJxkhXhss/getAllById', + method: 'GET', + data: { id } + }) +} + + /*通过id查询考核实施主表自定义表头*/ + export function queryKhssZbBtByIdApi(mainId : string) { + return http({ + url: '/jxkh.jxkh/cxcJxkhKhssKhjxZb/getByMainId', + method: 'GET', + data: { mainId } + }) + } + + /*通过id查询考核实施子表数据*/ + export function queryKhssFbByIdApi(data : object) { + return http({ + url: '/jxkh.khss/cxcJxkhXhss/selectAllByMainId', + method: 'GET', + data + }) + } + + /*通过id查询总金额*/ + export function queryKhssAllSumByIdApi(mainId : string) { + return http({ + url: '/jxkh.khss/cxcJxkhXhss/getAllSum', + method: 'GET', + data: { mainId } + }) + } + + /*通过id查询考核实子表自定义表头*/ + export function queryKhssFbBtByIdApi(mainId : string) { + return http({ + url: '/jxkh.jxfp.bt/cxcJxkhJxfbBtZb/listByMainId', + method: 'GET', + data: { mainId } + }) + } diff --git a/src/api/humanResource/clockin/index.ts b/src/api/humanResource/clockin/index.ts new file mode 100644 index 0000000..57c1f37 --- /dev/null +++ b/src/api/humanResource/clockin/index.ts @@ -0,0 +1,11 @@ +import { http } from '@/utils/http'; + + +/*新增打卡记录*/ +export function addApi(config : Object) { + return http({ + url: '/cxc_rlzy.wbxm.wbdk/cxcRlzyWbdk/add', + method: 'POST', + data: config + }) +} \ No newline at end of file diff --git a/src/pages-bpm/khss/index.vue b/src/pages-bpm/khss/index.vue new file mode 100644 index 0000000..0f7ba0d --- /dev/null +++ b/src/pages-bpm/khss/index.vue @@ -0,0 +1,230 @@ + + + + + \ No newline at end of file diff --git a/src/pages-bpm/zbkh/index.vue b/src/pages-bpm/zbkh/index.vue index 1b27d63..940d603 100644 --- a/src/pages-bpm/zbkh/index.vue +++ b/src/pages-bpm/zbkh/index.vue @@ -1,46 +1,57 @@ - \ No newline at end of file diff --git a/src/pages-humanResource/absence/index.vue b/src/pages-humanResource/absence/index.vue index b383575..23df1bd 100644 --- a/src/pages-humanResource/absence/index.vue +++ b/src/pages-humanResource/absence/index.vue @@ -118,7 +118,6 @@ pageSize }).then((res) => { if (res.success) { - console.log('----',res.result.records) list.value = [...list.value, ...res.result.records] } loading = false diff --git a/src/pages-process/components/DynamicLink.vue b/src/pages-process/components/DynamicLink.vue index a0fe46a..3347dac 100644 --- a/src/pages-process/components/DynamicLink.vue +++ b/src/pages-process/components/DynamicLink.vue @@ -1,13 +1,16 @@ diff --git a/src/pages.json b/src/pages.json index c5bf3e1..88e5087 100644 --- a/src/pages.json +++ b/src/pages.json @@ -525,6 +525,10 @@ "path": "document/index", "type": "page" }, + { + "path": "khss/index", + "type": "page" + }, { "path": "leaveApplication/index", "type": "page" diff --git a/src/pages/user/people.vue b/src/pages/user/people.vue index f4d1354..ab17ebb 100644 --- a/src/pages/user/people.vue +++ b/src/pages/user/people.vue @@ -52,9 +52,7 @@ diff --git a/src/pages-bpm/SuperiorSystem/index.vue b/src/pages-bpm/SuperiorSystem/index.vue new file mode 100644 index 0000000..0565728 --- /dev/null +++ b/src/pages-bpm/SuperiorSystem/index.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/pages-bpm/lawsAndRegulations/index.vue b/src/pages-bpm/lawsAndRegulations/index.vue new file mode 100644 index 0000000..9dbb7f4 --- /dev/null +++ b/src/pages-bpm/lawsAndRegulations/index.vue @@ -0,0 +1,59 @@ + + + diff --git a/src/pages-process/components/DynamicLink.vue b/src/pages-process/components/DynamicLink.vue index c7873b2..b7b0692 100644 --- a/src/pages-process/components/DynamicLink.vue +++ b/src/pages-process/components/DynamicLink.vue @@ -40,6 +40,7 @@ }) // 监听 option 变化 watch(() => props.path, (newVal) => { + console.log("newVal----",newVal) if (newVal){ compName.value = newVal; if(newVal.indexOf('index')==-1){ diff --git a/src/pages.json b/src/pages.json index 7468f94..4e1b946 100644 --- a/src/pages.json +++ b/src/pages.json @@ -508,9 +508,21 @@ { "root": "pages-bpm", "pages": [ + { + "path": "lawsAndRegulations/index", + "type": "page" + }, { "path": "leaveApplication/index", "type": "page" + }, + { + "path": "OfficeEquipmentMaintenanceApplication/index", + "type": "page" + }, + { + "path": "SuperiorSystem/index", + "type": "page" } ] } diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 8d0baa7..1f2ff16 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -55,7 +55,10 @@ interface NavigateToOptions { "/pages-process/approvalTabbar" | "/pages-process/myApplyProcess" | "/pages-process/taskHandle" | - "/pages-bpm/leaveApplication/index"; + "/pages-bpm/lawsAndRegulations/index" | + "/pages-bpm/leaveApplication/index" | + "/pages-bpm/OfficeEquipmentMaintenanceApplication/index" | + "/pages-bpm/SuperiorSystem/index"; } interface RedirectToOptions extends NavigateToOptions {} From 0c5543ae73ac563f5aaf1de5628816b7bc28b1b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=A5=E7=91=9E?= <1131549607@qq.com> Date: Tue, 24 Jun 2025 16:51:53 +0800 Subject: [PATCH 05/16] =?UTF-8?q?6.24=E5=BC=A0=E7=A5=A5=E7=91=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env.development | 2 +- src/api/healthfollow/healthfllow.ts | 12 + src/pages-politics/healthfollow/send.vue | 136 ++ .../healthfollow/sendmessage.vue | 79 ++ src/pages.json | 1118 +++++++++-------- src/static/index/index/Healthfollow.png | Bin 0 -> 8993 bytes src/types/uni-pages.d.ts | 7 +- 7 files changed, 808 insertions(+), 546 deletions(-) create mode 100644 src/api/healthfollow/healthfllow.ts create mode 100644 src/pages-politics/healthfollow/send.vue create mode 100644 src/pages-politics/healthfollow/sendmessage.vue create mode 100644 src/static/index/index/Healthfollow.png diff --git a/env/.env.development b/env/.env.development index f347345..77103c3 100644 --- a/env/.env.development +++ b/env/.env.development @@ -7,7 +7,7 @@ VITE_SHOW_SOURCEMAP = true # 是否启用读取配置文件 min #VITE_WEBAPP = 'D://opt//AppUpdateTest' VITE_WEBAPP = '' -VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' +VITE_SERVER_BASEURL = 'http://10.75.15.246:8080/jeecg-boot' #VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot' diff --git a/src/api/healthfollow/healthfllow.ts b/src/api/healthfollow/healthfllow.ts new file mode 100644 index 0000000..34bc399 --- /dev/null +++ b/src/api/healthfollow/healthfllow.ts @@ -0,0 +1,12 @@ +import { http } from '@/utils/http'; + + + +// 判断是否是三级高血压人员 +export function followpersonList(config : object) { // 获取随访人员信息 + return http({ + url: '/Hmcappselect/appselect/Hmcapplist', + method: 'GET', + data: config + }) +} \ No newline at end of file diff --git a/src/pages-politics/healthfollow/send.vue b/src/pages-politics/healthfollow/send.vue new file mode 100644 index 0000000..d2ee10a --- /dev/null +++ b/src/pages-politics/healthfollow/send.vue @@ -0,0 +1,136 @@ + + + + + \ No newline at end of file diff --git a/src/pages-politics/healthfollow/sendmessage.vue b/src/pages-politics/healthfollow/sendmessage.vue new file mode 100644 index 0000000..5f0f51e --- /dev/null +++ b/src/pages-politics/healthfollow/sendmessage.vue @@ -0,0 +1,79 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '健康随访', + }, + } + + + + + + \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 5deeecb..b7d4451 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1,546 +1,576 @@ { - "globalStyle": { - "navigationStyle": "default", - "navigationBarTitleText": "uniapp", - "navigationBarBackgroundColor": "#f8f8f8", - "navigationBarTextStyle": "black", - "backgroundColor": "#FFFFFF" - }, - "easycom": { - "autoscan": true, - "custom": { - "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue", - "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue" - } - }, - "tabBar": { - "color": "#aaa", - "selectedColor": "#39b54a", - "backgroundColor": "#F8F8F8", - "borderStyle": "black", - "height": "50px", - "fontSize": "11px", - "iconWidth": "24px", - "spacing": "3px", - "list": [{ - "iconPath": "static/tabbar/tabbar-home-2.png", - "selectedIconPath": "static/tabbar/tabbar-home.png", - "pagePath": "pages/index/index", - "text": "首页" - }, - { - "iconPath": "static/tabbar/tabbar-production.png", - "selectedIconPath": "static/tabbar/tabbar-production-2.png", - "pagePath": "pages/production/index", - "text": "生产" - }, - { - "iconPath": "static/tabbar/tabbar-operation.png", - "selectedIconPath": "static/tabbar/tabbar-operation-2.png", - "pagePath": "pages/operation/index", - "text": "经营" - }, - { - "iconPath": "static/tabbar/tabbar-user-2.png", - "selectedIconPath": "static/tabbar/tabbar-user.png", - "pagePath": "pages/user/people", - "text": "个人" - } - ] - }, - "pages": [{ - "path": "pages/login/login", - "type": "home", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "登录页" - } - }, - { - "path": "pages/annotation/annotationDetail", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, - { - "path": "pages/annotation/annotationList", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "我的消息", - "navigationStyle": "custom" - } - }, - { - "path": "pages/index/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "主页" - } - }, - { - "path": "pages/message/message", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, - { - "path": "pages/more/more", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "更多", - "navigationStyle": "custom" - } - }, - { - "path": "pages/onlinePreview/detail", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "在线预览" - } - }, - { - "path": "pages/onlinePreview/onlinePreview", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "在线预览" - } - }, - { - "path": "pages/onlinePreview/onlinePreviewH5", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "H5在线预览" - } - }, - { - "path": "pages/operation/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "经营数据" - } - }, - { - "path": "pages/production/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "生产数据" - } - }, - { - "path": "pages/sljd/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "实流检定" - } - }, - { - "path": "pages/user/people", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "个人" - } - }, - { - "path": "pages/workHome/index", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "工作台", - "navigationStyle": "custom" - } - }, - { - "path": "pages/production/ribaoshuju/rbsjLsxq", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "历史数据" - } - }, - { - "path": "pages/production/ribaoshuju/trqRbsj", - "type": "page" - }, - { - "path": "pages/production/ribaoshuju/yyRbsj", - "type": "page" - }, - { - "path": "pages/production/shishishuju/aqbjSssj", - "type": "page" - }, - { - "path": "pages/production/shishishuju/gycsSssj", - "type": "page" - }, - { - "path": "pages/production/shishishuju/index", - "type": "page" - }, - { - "path": "pages/production/shishishuju/nyxhSssj", - "type": "page" - }, - { - "path": "pages/production/shishishuju/trqSssj", - "type": "page" - }, - { - "path": "pages/production/shishishuju/ysjSssj", - "type": "page" - } - ], - "subPackages": [{ - "root": "pages-home", - "pages": [{ - "path": "home/home", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "" - } - }] - }, - { - "root": "pages-message", - "pages": [{ - "path": "chat/chat", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "聊天", - "navigationStyle": "custom" - } - }, - { - "path": "contacts/contacts", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "联系人" - } - }, - { - "path": "personPage/personPage", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, - { - "path": "tenant/tenant", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", - "styleIsolation": "apply-shared" - } - } - ] - }, - { - "root": "pages-user", - "pages": [{ - "path": "userEdit/userEdit", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }] - }, - { - "root": "pages-work", - "pages": [{ - "path": "dragPage/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "仪表盘" - } - }, - { - "path": "onlinePage/onlineAdd", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "Online表单新增" - } - }, - { - "path": "onlinePage/onlineDetail", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "Online表单新增" - } - }, - { - "path": "onlinePage/onlineEdit", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "Online表单新增" - } - } - ] - }, - { - "root": "pages-sub", - "pages": [{ - "path": "online/online", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "online", - "navigationStyle": "custom" - } - }, - { - "path": "online/onlineCard", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, - { - "path": "online/onlineTable", - "type": "page", - "layout": "default", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - } - ] - }, - { - "root": "pages-operate", - "pages": [{ - "path": "file/detail", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "厂级制度详情" - } - }, - { - "path": "file/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "公文/通知公告/法律法规/上级制度/厂级制度" - } - }, - { - "path": "sc/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "三册" - } - } - ] - }, - { - "root": "pages-humanResource", - "pages": [{ - "path": "absence/add", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "请假申请" - } - }, - { - "path": "absence/detail", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "请假详情" - } - }, - { - "path": "absence/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "请假信息" - } - }, - { - "path": "personnel/ageStatistics", - "type": "page" - }, - { - "path": "personnel/detail", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "人员详情" - } - }, - { - "path": "personnel/generalFieldStatistics", - "type": "page" - }, - { - "path": "personnel/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "人员信息" - } - }, - { - "path": "personnel/standingbook", - "type": "page" - } - ] - }, - { - "root": "pages-integrated", - "pages": [{ - "path": "duty/index", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "干部值班" - } - }] - }, - { - "root": "pages-politics", - "pages": [{ - "path": "health/add", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "健康填报" - } - }] - }, - { - "root": "pages-process", - "pages": [{ - "path": "approvalTabbar", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "流程审批导航" - } - }, - { - "path": "myApplyProcess", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "我发起流程" - } - }, - { - "path": "taskHandle", - "type": "page", - "layout": "default", - "style": { - "navigationStyle": "custom", - "navigationBarTitleText": "任务处理" - } - } - ] - }, - { - "root": "pages-bpm", - "pages": [{ - "path": "carRental/index", - "type": "page" - }, - { - "path": "document/index", - "type": "page" - }, - { - "path": "khss/index", - "type": "page" - }, - { - "path": "leaveApplication/index", - "type": "page" - }, - { - "path": "unconventional/index", - "type": "page" - }, - { - "path": "unconventional/stamp", - "type": "page" - }, - { - "path": "zbkh/index", - "type": "page" - }, - { - - "path": "lawsAndRegulations/index", - "type": "page" - }, - { - "path": "OfficeEquipmentMaintenanceApplication/index", - "type": "page" - }, - { - "path": "SuperiorSystem/index", - "type": "page" - } - ] - } - ] + "globalStyle": { + "navigationStyle": "default", + "navigationBarTitleText": "uniapp", + "navigationBarBackgroundColor": "#f8f8f8", + "navigationBarTextStyle": "black", + "backgroundColor": "#FFFFFF" + }, + "easycom": { + "autoscan": true, + "custom": { + "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue", + "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue" + } + }, + "tabBar": { + "color": "#aaa", + "selectedColor": "#39b54a", + "backgroundColor": "#F8F8F8", + "borderStyle": "black", + "height": "50px", + "fontSize": "11px", + "iconWidth": "24px", + "spacing": "3px", + "list": [ + { + "iconPath": "static/tabbar/tabbar-home-2.png", + "selectedIconPath": "static/tabbar/tabbar-home.png", + "pagePath": "pages/index/index", + "text": "首页" + }, + { + "iconPath": "static/tabbar/tabbar-production.png", + "selectedIconPath": "static/tabbar/tabbar-production-2.png", + "pagePath": "pages/production/index", + "text": "生产" + }, + { + "iconPath": "static/tabbar/tabbar-operation.png", + "selectedIconPath": "static/tabbar/tabbar-operation-2.png", + "pagePath": "pages/operation/index", + "text": "经营" + }, + { + "iconPath": "static/tabbar/tabbar-user-2.png", + "selectedIconPath": "static/tabbar/tabbar-user.png", + "pagePath": "pages/user/people", + "text": "个人" + } + ] + }, + "pages": [ + { + "path": "pages/login/login", + "type": "home", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "登录页" + } + }, + { + "path": "pages/annotation/annotationDetail", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "pages/annotation/annotationList", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "我的消息", + "navigationStyle": "custom" + } + }, + { + "path": "pages/index/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "主页" + } + }, + { + "path": "pages/message/message", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "pages/more/more", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "更多", + "navigationStyle": "custom" + } + }, + { + "path": "pages/onlinePreview/detail", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "在线预览" + } + }, + { + "path": "pages/onlinePreview/onlinePreview", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "在线预览" + } + }, + { + "path": "pages/onlinePreview/onlinePreviewH5", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "H5在线预览" + } + }, + { + "path": "pages/operation/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "经营数据" + } + }, + { + "path": "pages/production/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "生产数据" + } + }, + { + "path": "pages/sljd/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "实流检定" + } + }, + { + "path": "pages/user/people", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "个人" + } + }, + { + "path": "pages/workHome/index", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "工作台", + "navigationStyle": "custom" + } + }, + { + "path": "pages/production/ribaoshuju/rbsjLsxq", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "历史数据" + } + }, + { + "path": "pages/production/ribaoshuju/trqRbsj", + "type": "page" + }, + { + "path": "pages/production/ribaoshuju/yyRbsj", + "type": "page" + }, + { + "path": "pages/production/shishishuju/aqbjSssj", + "type": "page" + }, + { + "path": "pages/production/shishishuju/gycsSssj", + "type": "page" + }, + { + "path": "pages/production/shishishuju/index", + "type": "page" + }, + { + "path": "pages/production/shishishuju/nyxhSssj", + "type": "page" + }, + { + "path": "pages/production/shishishuju/trqSssj", + "type": "page" + }, + { + "path": "pages/production/shishishuju/ysjSssj", + "type": "page" + } + ], + "subPackages": [ + { + "root": "pages-home", + "pages": [ + { + "path": "home/home", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "" + } + } + ] + }, + { + "root": "pages-message", + "pages": [ + { + "path": "chat/chat", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "聊天", + "navigationStyle": "custom" + } + }, + { + "path": "contacts/contacts", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "联系人" + } + }, + { + "path": "personPage/personPage", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "tenant/tenant", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "styleIsolation": "apply-shared" + } + } + ] + }, + { + "root": "pages-user", + "pages": [ + { + "path": "userEdit/userEdit", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + } + ] + }, + { + "root": "pages-work", + "pages": [ + { + "path": "dragPage/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "仪表盘" + } + }, + { + "path": "onlinePage/onlineAdd", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "Online表单新增" + } + }, + { + "path": "onlinePage/onlineDetail", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "Online表单新增" + } + }, + { + "path": "onlinePage/onlineEdit", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "Online表单新增" + } + } + ] + }, + { + "root": "pages-sub", + "pages": [ + { + "path": "online/online", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "online", + "navigationStyle": "custom" + } + }, + { + "path": "online/onlineCard", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "online/onlineTable", + "type": "page", + "layout": "default", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + } + ] + }, + { + "root": "pages-operate", + "pages": [ + { + "path": "file/detail", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "厂级制度详情" + } + }, + { + "path": "file/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "公文/通知公告/法律法规/上级制度/厂级制度" + } + }, + { + "path": "sc/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "三册" + } + } + ] + }, + { + "root": "pages-humanResource", + "pages": [ + { + "path": "absence/add", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "请假申请" + } + }, + { + "path": "absence/detail", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "请假详情" + } + }, + { + "path": "absence/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "请假信息" + } + }, + { + "path": "personnel/ageStatistics", + "type": "page" + }, + { + "path": "personnel/detail", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "人员详情" + } + }, + { + "path": "personnel/generalFieldStatistics", + "type": "page" + }, + { + "path": "personnel/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "人员信息" + } + }, + { + "path": "personnel/standingbook", + "type": "page" + } + ] + }, + { + "root": "pages-integrated", + "pages": [ + { + "path": "duty/index", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "干部值班" + } + } + ] + }, + { + "root": "pages-politics", + "pages": [ + { + "path": "health/add", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "健康填报" + } + }, + { + "path": "healthfollow/send", + "type": "page" + }, + { + "path": "healthfollow/sendmessage", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "健康随访" + } + } + ] + }, + { + "root": "pages-process", + "pages": [ + { + "path": "approvalTabbar", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "流程审批导航" + } + }, + { + "path": "myApplyProcess", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "我发起流程" + } + }, + { + "path": "taskHandle", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "任务处理" + } + } + ] + }, + { + "root": "pages-bpm", + "pages": [ + { + "path": "carRental/index", + "type": "page" + }, + { + "path": "document/index", + "type": "page" + }, + { + "path": "khss/index", + "type": "page" + }, + { + "path": "lawsAndRegulations/index", + "type": "page" + }, + { + "path": "leaveApplication/index", + "type": "page" + }, + { + "path": "OfficeEquipmentMaintenanceApplication/index", + "type": "page" + }, + { + "path": "SuperiorSystem/index", + "type": "page" + }, + { + "path": "unconventional/index", + "type": "page" + }, + { + "path": "unconventional/stamp", + "type": "page" + }, + { + "path": "zbkh/index", + "type": "page" + } + ] + } + ] } \ No newline at end of file diff --git a/src/static/index/index/Healthfollow.png b/src/static/index/index/Healthfollow.png new file mode 100644 index 0000000000000000000000000000000000000000..a044c7c6919ba218a42cd298d82a5515a4ecf323 GIT binary patch literal 8993 zcmX9^Wn7fa*S>*OS0r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!?oYTD zG<#$)xey>#{pqo^^o7B#`QKTGj5U9-BFR?#+NbXzv_1=H@>aTp0+>Goc{aOH0OrtSIH(av+F+0OmEjClp(|P2Yas!2 zjKpE2?hc}vdphN;zy1pusc6HDw!c^X%+l4UBqU=A zuQ*PTAu79dFM~TSTYd)sh==}r3qV>*lUu&ckw>WOJ!=)JY2cnDME7Q5ncsz|P%x)} z(mhIAG!0;_IGO=9P_iDN+yNhdpJ<-UXiY{5Iy6&xXnTqkPd_c;?nB?YM={qLa`_5# zR@pT&bI3Aoj&WIQS6}@l;#a~PBKEejN*`3x>JXF3FOqNnP6gD}0UtWFR7mR&mJg$W zQ+&J@Kx3>3p$+RJzuL-@+Y4kxA^IBB$fIGeEDy*C_twcIxEQw2vT+svnWnVY)I(2% zL6r{b;cam$=H-f<@MUqdyDI4__MlwYcePv-^*z~WMBer^xq&0+HP_zTY+0P zLaG&!wMM?ZgVZAyz&}T_d&!UeQbsG>>7g<)iv=CMVo0AcAG6@1=9gW*-x;V`eO7c+ zmBq9lM3`)otvFGEBF-ev)n5CbK#|RpzVowd-`uckgspM#SZuxKM`ATn?{~fM@c6qC zGplbGNV9!cbODj}&=F`iXY38CA%lkw_|AK5wp;JcHHw|i`!D8bSSTO(+u46x;fKHD zytx%#0l*}V@@An2?zqM?hlKGusNMG< zUp*1CY1a(pE`P&Got_(bE>FyO?N5UlB=WE2w3v^oy|WkUFcL2fl}bP{K(7n!pVf8> z(@4H1;R`CssoF6KWh47W&p&u^KwxhJ5*P2X@j6M95z|O#NO2mVziSfl?3GdRqK literal 0 HcmV?d00001 diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 70fddc4..7cbbc80 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -53,13 +53,18 @@ interface NavigateToOptions { "/pages-humanResource/personnel/standingbook" | "/pages-integrated/duty/index" | "/pages-politics/health/add" | + "/pages-politics/healthfollow/send" | + "/pages-politics/healthfollow/sendmessage" | "/pages-process/approvalTabbar" | "/pages-process/myApplyProcess" | "/pages-process/taskHandle" | + "/pages-bpm/carRental/index" | + "/pages-bpm/document/index" | + "/pages-bpm/khss/index" | "/pages-bpm/lawsAndRegulations/index" | "/pages-bpm/leaveApplication/index" | "/pages-bpm/OfficeEquipmentMaintenanceApplication/index" | - "/pages-bpm/SuperiorSystem/index"; + "/pages-bpm/SuperiorSystem/index" | "/pages-bpm/unconventional/index" | "/pages-bpm/unconventional/stamp" | "/pages-bpm/zbkh/index"; From 3691d5d90f737a02bf8c1a906b338a966a889c59 Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Wed, 25 Jun 2025 09:07:54 +0800 Subject: [PATCH 06/16] =?UTF-8?q?=E5=81=A5=E5=BA=B7=E9=9A=8F=E8=AE=BF?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/humanResource/clockin/index.ts | 11 -- src/api/humanResource/personnel/index.ts | 9 ++ src/api/politics/health.ts | 17 +++ src/api/system/index.ts | 26 +++- src/pages-humanResource/absence/add.vue | 27 +++-- src/pages-politics/health/followup.vue | 145 +++++++++++++++++++++++ src/pages.json | 9 ++ src/pages/user/people.vue | 35 ++++-- src/static/index/index/followup.png | Bin 0 -> 5777 bytes src/store/index.ts | 4 - src/types/uni-pages.d.ts | 1 + src/utils/index.ts | 138 ++++++--------------- 12 files changed, 279 insertions(+), 143 deletions(-) delete mode 100644 src/api/humanResource/clockin/index.ts create mode 100644 src/pages-politics/health/followup.vue create mode 100644 src/static/index/index/followup.png diff --git a/src/api/humanResource/clockin/index.ts b/src/api/humanResource/clockin/index.ts deleted file mode 100644 index 57c1f37..0000000 --- a/src/api/humanResource/clockin/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { http } from '@/utils/http'; - - -/*新增打卡记录*/ -export function addApi(config : Object) { - return http({ - url: '/cxc_rlzy.wbxm.wbdk/cxcRlzyWbdk/add', - method: 'POST', - data: config - }) -} \ No newline at end of file diff --git a/src/api/humanResource/personnel/index.ts b/src/api/humanResource/personnel/index.ts index 5c932d2..a2b7464 100644 --- a/src/api/humanResource/personnel/index.ts +++ b/src/api/humanResource/personnel/index.ts @@ -112,4 +112,13 @@ export function cxcRyDatAstatisticsDetails(parm) { // 员工信息统计 method: 'GET', data: parm }) +} + +/*新增打卡记录*/ +export function clockInApi(data : object) { + return http({ + url: '/cxc_rlzy.wbxm.wbdk/cxcRlzyWbdk/add', + method: 'POST', + data + }) } \ No newline at end of file diff --git a/src/api/politics/health.ts b/src/api/politics/health.ts index eade129..346a12b 100644 --- a/src/api/politics/health.ts +++ b/src/api/politics/health.ts @@ -18,4 +18,21 @@ export function queryIf3rdGxyApi(ldhth : string) { // 根据username获取职位 ldhth } }) +} + +//查询登录人本月随访问题 +export function querySfwtApi() { + return http({ + url: '/jksf.tbb/cxcGwjktbTbb/querySfwtByMonthLdhth', + method: 'GET' + }) +} + +// 提交随访问题 +export function editApi(data : object) { + return http({ + url: '/jksf.tbb/cxcGwjktbTbb/editCxcGwjktbTbbZb', + method: 'PUT', + data + }) } \ No newline at end of file diff --git a/src/api/system/index.ts b/src/api/system/index.ts index f1c117c..a257519 100644 --- a/src/api/system/index.ts +++ b/src/api/system/index.ts @@ -90,10 +90,34 @@ export function getDictItemsApi(dictCode : string) { // 字典标签专用 }) } -export function deleteFile(config : object){//删除文件 by 闵 +export function deleteFile(config : object) {//删除文件 by 闵 return http({ url: `/sys/common/deleteFileAndCache`, method: 'GET', data: config }) } + +/*根据经纬度获取地理位置*/ +export function getLocationApi(longitude : number, latitude : number) { + return http({ + url: `/sys/common/getLocation`, + method: 'GET', + data: { + longitude, + latitude + } + }) +} + +/*根据经纬度或城市名称获取天气信息*/ +export function getWeatherApi(longitude : number, latitude : number) { + return http({ + url: `/sys/common/getWeather`, + method: 'GET', + data: { + longitude, + latitude + } + }) +} \ No newline at end of file diff --git a/src/pages-humanResource/absence/add.vue b/src/pages-humanResource/absence/add.vue index 9e3d463..47d59ee 100644 --- a/src/pages-humanResource/absence/add.vue +++ b/src/pages-humanResource/absence/add.vue @@ -27,7 +27,7 @@ :rules="[{ required: true, message: '请选择结束时间' }]" :min-date="minEndtime" /> - + @@ -251,8 +251,8 @@ } else { toast.warning(res.message) setTimeout(() => { - handleClickLeft() - }, 1000) + uni.navigateBack() + }, 2000) } }) } @@ -333,13 +333,20 @@ roleId: '1554379432313397250', orgCode: userStore.userInfo.orgCode }).then(res => { - model.hr = res.result[0].username - hrData.value = res.result.map(item => { - return { - label: item.realname, - value: item.username - } - }) + if (res.result.length == 0) { + toast.warning('请切换工作单位!') + setTimeout(() => { + uni.navigateBack() + }, 2000) + } else { + model.hr = res.result[0].username + hrData.value = res.result.map(item => { + return { + label: item.realname, + value: item.username + } + }) + } }) } diff --git a/src/pages-politics/health/followup.vue b/src/pages-politics/health/followup.vue new file mode 100644 index 0000000..ce7b71c --- /dev/null +++ b/src/pages-politics/health/followup.vue @@ -0,0 +1,145 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '健康随访', + }, + } + + + + + + + \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 88e5087..2bc63ea 100644 --- a/src/pages.json +++ b/src/pages.json @@ -479,6 +479,15 @@ "navigationStyle": "custom", "navigationBarTitleText": "健康填报" } + }, + { + "path": "health/followup", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "健康随访" + } } ] }, diff --git a/src/pages/user/people.vue b/src/pages/user/people.vue index d67f01c..ccb4f7d 100644 --- a/src/pages/user/people.vue +++ b/src/pages/user/people.vue @@ -61,8 +61,8 @@ import { getEnvBaseUrl } from '@/utils/index' import { queryPostByUserIdApi, editUserApi } from '@/api/system/user' import { useAppStore } from '@/store' - import { addApi } from '@/api/humanResource/clockin' - + import { clockInApi } from '@/api/humanResource/personnel' + const appStore = useAppStore(); const userStore = useUserStore() const toast = useToast() @@ -156,19 +156,30 @@ toast.warning('H5暂不支持') // #endif } - + const clockin = () => { if (loading.value) return - addApi({ - weizhi: appStore.clockin - }).then((res : any) => { - if(res.success){ - toast.success(res.message) - }else{ - toast.warning(res.message) + loading.value = true; + uni.getLocation({ + type: 'wgs84', + success: function (position) { + clockInApi({ + longitude: position.longitude, + latitude: position.latitude + }).then((res : any) => { + if (res.success) { + toast.success(res.message) + } else { + toast.warning(res.message) + } + loading.value = false + }) + }, + fail: function (err) { + toast.warning('请打开系统定位再打卡!') + loading.value = false } - loading.value = true - }) + }); } diff --git a/src/static/index/index/followup.png b/src/static/index/index/followup.png new file mode 100644 index 0000000000000000000000000000000000000000..95bbd537b24d0594acb0a9811755476a80d98440 GIT binary patch literal 5777 zcmb`LXH*mGx5h&fAP6XtV(6iXf^3|EkS0Mu z1nEVkbAUq;sSym#-0@%Thx_?{n6hT}ylcN}&GXyO-f_l8+Kd-CE`UHFMqM3EQ{ejP z&jF(W&Q6h3BCM~oGY_BFc4HvhKO^LH z!7d>1ucI$u(PZkIN(?5eLRke4rd^0cFslJxJ@G31U^MmlYvZK`^;(hV?KdK8S)N}# zFjfnOwJqf0!xm1}6e;S@VvKzYYH0_x&F71jzhHcRNBD)*9y0a4e#%s*L9dm9%;y};>WU1(C|3cc~MuUEtyYK1LrYnLNkR46ZcVYMqj?m94 zp+IJR7MW=bm%$bHO1p_Ui?{zW2}3ZAmr>|$wsG04OYBUa4{(YR>IA9OhGX-VHy067j@oy;PV}q3TowHa;ki z>UgK{XspE1cWKBAiKlai9W!GUoiNQZH$fKtUTJTqrGp3a%q#WkQym>viVBBUup8!y zQI5yTSSIDcLGI3V6j2+*wGtx^er%5l<}Fbc*tYp0f%CFA6i>`bW`5KJD`}{YM=7k7 zSct-PNWP!M(k(S)@eZ0uex^@~n?tl%m?o4T{8;LC9O}iG7+Nde;$n)oNMwvdofsfT#EEBTxZqoe^{cn58AeWj z9&F+zgxEE>-rqrn3F4|A$v3XyFM;K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Y0-2rjvU&tqz z+|BQQCapXkKej8=P|hj)F3b@5xGrIcpI?ox9z_jF?Bp9|=GjAkqdh?C*<3(VQ0I)Z wsKh&w#*Y0`f>gsEqAFIiO!a}Ey(qNBTyxnCH-t&Rj2WbR$4IkU-Qn5)0Lgo_&;S4c literal 0 HcmV?d00001 diff --git a/src/store/index.ts b/src/store/index.ts index d23a18b..159cdf9 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -15,7 +15,6 @@ export const useAppStore = defineStore('app', { isGray: 0 as 0 | 1, // 0=正常,1=灰化 position: null, //市 location: null, //省市区 - clockin: null, //详细位置 精确到街道 temperature: null, //温度 weather: null //天气 }), @@ -29,9 +28,6 @@ export const useAppStore = defineStore('app', { setLocation(value : string) { this.location = value }, - setClockin(value : string) { - this.clockin = value - }, setTemperature(value : number) { this.temperature = value }, diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts index 34686a6..5b03bf8 100644 --- a/src/types/uni-pages.d.ts +++ b/src/types/uni-pages.d.ts @@ -53,6 +53,7 @@ interface NavigateToOptions { "/pages-humanResource/personnel/standingbook" | "/pages-integrated/duty/index" | "/pages-politics/health/add" | + "/pages-politics/health/followup" | "/pages-process/approvalTabbar" | "/pages-process/myApplyProcess" | "/pages-process/taskHandle" | diff --git a/src/utils/index.ts b/src/utils/index.ts index 431290f..419f779 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -2,7 +2,7 @@ import { defineStore } from 'pinia' import { pages, subPackages, tabBar } from '@/pages.json' import { isMpWeixin } from './platform' import { useAppStore } from '@/store' -import { upDateAppApi } from '@/api/system' +import { upDateAppApi, getLocationApi, getWeatherApi } from '@/api/system' @@ -232,11 +232,9 @@ export const useUpdateApp = defineStore('updateApp', () => { try { let path = '' let webApp = import.meta.env.VITE_WEBAPP - console.log(webApp) - if(webApp){//如果是测试环境 ,upDateAppApi 传递参数 by min + if (webApp) {//如果是测试环境 ,upDateAppApi 传递参数 by min path = webApp } - console.log(path) upDateAppApi(path).then(async (res : any) => { let { result @@ -285,19 +283,19 @@ export const useUpdateApp = defineStore('updateApp', () => { * @param isWgt 是否是热资源更新 默认不是 */ export const hasNewVersion = (version, isWgt = false) => { - // #ifdef APP_PLUS - return new Promise((resolve) => { - if (isWgt) { - plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => { - const currentVersion = widgetInfo.versionCode - resolve(Number(version) > Number(currentVersion)) - }) - } else { - const currentVersion = plus.runtime.versionCode - resolve(Number(version) > Number(currentVersion)) - } - }) - // #endif + // #ifdef APP_PLUS + return new Promise((resolve) => { + if (isWgt) { + plus.runtime.getProperty(plus.runtime.appid, (widgetInfo) => { + const currentVersion = widgetInfo.versionCode + resolve(Number(version) > Number(currentVersion)) + }) + } else { + const currentVersion = plus.runtime.versionCode + resolve(Number(version) > Number(currentVersion)) + } + }) + // #endif } export function onClickUpdate(updateType : string, url) { @@ -389,108 +387,38 @@ export const getLocation = () => { type: 'wgs84', success: function (position) { // 成功获取位置后请求地理编码 - uni.request({ - url: 'https://api.tianditu.gov.cn/geocoder', - method: 'GET', - data: { - postStr: JSON.stringify({ - lon: position.longitude, - lat: position.latitude, - ver: 1 - }), - type: 'geocode', - tk: '30fe0f0c1b2320e112bde797f3ddaff4' - }, - success: function (res : any) { - let data = res.data; - if (data.status == 0) { - const obj = data.result.addressComponent - store.setPosition(obj.city ? obj.city : obj.province) //市 - store.setLocation(obj.city ? obj.province + obj.city + obj.county : obj.province + obj.county) //省市区 - store.setClockin(data.result.formatted_address) - getWeather(position.latitude, position.longitude) - } else { - handleDefaultLocation() - } - }, - fail: function (err) { - // uni.showToast({ - // title: '位置解析失败', - // icon: 'error' - // }) + getLocationApi(position.longitude, position.latitude).then((res : any) => { + if (res) { + const obj = res.addressComponent + store.setPosition(obj.city ? obj.city : obj.province) //市 + store.setLocation(obj.city ? obj.province + obj.city + obj.county : obj.province + obj.county) //省市区 + getWeather(position.longitude, position.latitude) + } else { handleDefaultLocation() } - }); + }) }, - fail: function (err) { - // 根据不同错误码处理 - // if (err.errCode === 2 || err.errCode === 12) { - // // 2: 位置服务不可用, 12: 定位权限未开启 - // uni.showToast({ - // title: '请开启定位服务', - // icon: 'error' - // }) - - // } else { - // uni.showToast({ - // title: '定位获取失败', - // icon: 'error' - // }) - // } + fail: function () { handleDefaultLocation() } }); } -const getWeather = (lat : number, lon : number) => { - let params = { - lat: lat, - lon: lon - } - weatherRequest(params) -} - // 处理默认位置和天气 function handleDefaultLocation() { useAppStore().setPosition('濮阳市') - weatherRequest({ - q: '濮阳市' - }) + getWeather(115.08784, 35.773116) // //油田总部经纬度 } -function weatherRequest(params : { lat ?: number; lon ?: number; q ?: string }) { +function getWeather(lon : number, lat : number) { const store = useAppStore() - uni.request({ - url: 'https://api.openweathermap.org/data/2.5/weather', - method: 'GET', - data: { - ...params, - appid: '600a60694b0e453dfbaafa862f1d1482', - lang: 'zh_cn' - }, - success: function (res : any) { - if (res.data && res.data.main && res.data.weather) { - store.setTemperature( - Math.round(res.data.main.temp - 273.15) - ) - store.setWeather( - res.data.weather[0].icon - ) - } else { - // uni.showToast({ - // title: '天气数据格式错误', - // icon: 'error' - // }) - } - }, - // fail: function () { - // uni.showToast({ - // title: '天气获取失败', - // icon: 'error' - // }) - // } - }); + getWeatherApi(lon, lat).then((res : any) => { + if (res) { + store.setTemperature(Math.round(res.main.temp - 273.15)) + store.setWeather(res.weather[0].icon) + } + }) } export const imgUrl = (url : string) => { @@ -518,7 +446,7 @@ export function getFileAccessHttpUrl(avatar, subStr) { /* 获取文件名 */ export function getFilename(text : string) { if (!text) { - return text === null ? null : ""; + return text === null ? null : ""; } if (text.indexOf(',') > 0) { let arr = text.split(",") From 3e4b0c1da9c15946f10d62b50ebb7164091b44df Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Wed, 25 Jun 2025 09:11:52 +0800 Subject: [PATCH 07/16] 1 --- src/pages-politics/health/followup.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages-politics/health/followup.vue b/src/pages-politics/health/followup.vue index ce7b71c..04c6fea 100644 --- a/src/pages-politics/health/followup.vue +++ b/src/pages-politics/health/followup.vue @@ -60,7 +60,6 @@ acc[item.id] = '' return acc }, {}) - } else { toast.warning('未查询到本月随访问题!') setTimeout(() => { 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 08/16] =?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 @@ + + + + + \ 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" | From cd340d4185708b503b131371bbdeb9b71568560a 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 10:13:23 +0800 Subject: [PATCH 09/16] =?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 --- env/.env.development | 2 +- src/pages-politics/healthfollow/HealthDetails.vue | 2 +- src/pages-politics/healthfollow/lookhealth.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/env/.env.development b/env/.env.development index f347345..77103c3 100644 --- a/env/.env.development +++ b/env/.env.development @@ -7,7 +7,7 @@ VITE_SHOW_SOURCEMAP = true # 是否启用读取配置文件 min #VITE_WEBAPP = 'D://opt//AppUpdateTest' VITE_WEBAPP = '' -VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' +VITE_SERVER_BASEURL = 'http://10.75.15.246:8080/jeecg-boot' #VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot' diff --git a/src/pages-politics/healthfollow/HealthDetails.vue b/src/pages-politics/healthfollow/HealthDetails.vue index 315a9c9..76e976f 100644 --- a/src/pages-politics/healthfollow/HealthDetails.vue +++ b/src/pages-politics/healthfollow/HealthDetails.vue @@ -11,7 +11,7 @@ - + diff --git a/src/pages-politics/healthfollow/lookhealth.vue b/src/pages-politics/healthfollow/lookhealth.vue index a9071fc..a510f90 100644 --- a/src/pages-politics/healthfollow/lookhealth.vue +++ b/src/pages-politics/healthfollow/lookhealth.vue @@ -12,7 +12,7 @@ + :title="item.xm+'的'+item.createTime.substring(0,4)+'年'+item.ksny.substring(5,7)+'月'+'的健康随访填报表'"> @@ -61,7 +61,7 @@ const getList = () => { const date = new Date(dataValue.value); const year = date.getFullYear(); - const month = date.getMonth() + 2; + const month = date.getMonth() + 1; let monthdate = ''; if(month<10){ monthdate = '0'+month; From d2946c938a0fdea6e7319291f72f8f91c224a088 Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Thu, 26 Jun 2025 10:38:28 +0800 Subject: [PATCH 10/16] 1 --- env/.env.development | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/.env.development b/env/.env.development index 77103c3..f347345 100644 --- a/env/.env.development +++ b/env/.env.development @@ -7,7 +7,7 @@ VITE_SHOW_SOURCEMAP = true # 是否启用读取配置文件 min #VITE_WEBAPP = 'D://opt//AppUpdateTest' VITE_WEBAPP = '' -VITE_SERVER_BASEURL = 'http://10.75.15.246:8080/jeecg-boot' +VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' #VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' #VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot' From dddcccc6cda33a36fff33e934ddd188643e2816b 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 16:17:53 +0800 Subject: [PATCH 11/16] =?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 --- .../healthfollow/lookhealth.vue | 2 +- src/pages-politics/healthfollow/send.vue | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/pages-politics/healthfollow/lookhealth.vue b/src/pages-politics/healthfollow/lookhealth.vue index a510f90..f201bf0 100644 --- a/src/pages-politics/healthfollow/lookhealth.vue +++ b/src/pages-politics/healthfollow/lookhealth.vue @@ -5,7 +5,7 @@ - + 重置 diff --git a/src/pages-politics/healthfollow/send.vue b/src/pages-politics/healthfollow/send.vue index 9fbd012..7178533 100644 --- a/src/pages-politics/healthfollow/send.vue +++ b/src/pages-politics/healthfollow/send.vue @@ -1,13 +1,13 @@