diff --git a/mobile-h5/pages.json b/mobile-h5/pages.json
index 7d82236c..01c02cb7 100644
--- a/mobile-h5/pages.json
+++ b/mobile-h5/pages.json
@@ -40,6 +40,22 @@
"navigationBarTextStyle": "white"
}
},
+ {
+ "path": "pages/oa/start/index",
+ "style": {
+ "navigationBarTitleText": "发起审批",
+ "navigationBarBackgroundColor": "#0a9f6d",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "pages/oa/start/webview",
+ "style": {
+ "navigationBarTitleText": "填写审批",
+ "navigationBarBackgroundColor": "#0a9f6d",
+ "navigationBarTextStyle": "white"
+ }
+ },
{
"path": "pages/demo/list",
"style": {
diff --git a/mobile-h5/pages/oa/start/index.vue b/mobile-h5/pages/oa/start/index.vue
new file mode 100644
index 00000000..49d46ca8
--- /dev/null
+++ b/mobile-h5/pages/oa/start/index.vue
@@ -0,0 +1,299 @@
+
+
+
+
+
+
+
+
+ 全部
+
+
+ {{ g.groupName }}
+
+
+
+ 选择一个审批单即可发起
+
+ 加载中…
+
+ 暂无可发起的审批模板
+
+
+
+
+ {{ sec.name }}
+ {{ sec.apps.length }} 个表单
+
+
+
+
+
+ {{
+ (row.appName || '审').slice(0, 1)
+ }}
+
+
+ {{ row.appName }}
+ {{ row.description || '点击发起审批' }}
+
+
+ 发起
+
+
+
+
+
+
+
+
+
diff --git a/mobile-h5/pages/oa/start/webview.vue b/mobile-h5/pages/oa/start/webview.vue
new file mode 100644
index 00000000..bced69ea
--- /dev/null
+++ b/mobile-h5/pages/oa/start/webview.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
diff --git a/mobile-h5/utils/oa-api.js b/mobile-h5/utils/oa-api.js
new file mode 100644
index 00000000..da5fbbfe
--- /dev/null
+++ b/mobile-h5/utils/oa-api.js
@@ -0,0 +1,15 @@
+import { get } from './request.js'
+import { getToken } from './auth.js'
+
+function authHeader() {
+ const token = getToken()
+ return token ? { Authorization: 'Bearer ' + token } : {}
+}
+
+export function fetchOaGroupList() {
+ return get('/web/admin/oa-approval/groups', authHeader())
+}
+
+export function fetchOaTemplates() {
+ return get('/web/admin/oa-approval/templates', authHeader())
+}