From 3a41902d2b79f62c47ef50ffe72844a0c2872dd7 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Thu, 13 Aug 2026 19:22:40 +0800 Subject: [PATCH] feat(mobile-h5): add OA WeChat notify bind entry and web-view page Co-authored-by: Cursor --- mobile-h5/pages.json | 8 +++++ mobile-h5/pages/index/index.vue | 51 ++++++++++++++++++++++++++-- mobile-h5/pages/oa/mp-bind/index.vue | 30 ++++++++++++++++ mobile-h5/utils/auth.js | 13 +++++++ 4 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 mobile-h5/pages/oa/mp-bind/index.vue diff --git a/mobile-h5/pages.json b/mobile-h5/pages.json index 69d648b2..64159884 100644 --- a/mobile-h5/pages.json +++ b/mobile-h5/pages.json @@ -64,6 +64,14 @@ "navigationBarTextStyle": "black" } }, + { + "path": "pages/oa/mp-bind/index", + "style": { + "navigationBarTitleText": "微信审批通知", + "navigationBarBackgroundColor": "#ecfdf5", + "navigationBarTextStyle": "black" + } + }, { "path": "pages/oa/pdf-preview/index", "style": { diff --git a/mobile-h5/pages/index/index.vue b/mobile-h5/pages/index/index.vue index fcc7b3a7..9d63eb4a 100644 --- a/mobile-h5/pages/index/index.vue +++ b/mobile-h5/pages/index/index.vue @@ -11,7 +11,12 @@ {{ deptName }} - 退出登录 + + + {{ mpNotifyBound ? '微信通知已开启' : '开启微信审批通知' }} + + 退出登录 + @@ -86,7 +91,12 @@