feat(miniprogram): add mobile bx menus and Batch1 placeholders.
Insert MINI_BX_* menus with mini:bx:* perms on test/prod, expose 9 workbench entries, and register placeholder pages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
279e405149
commit
507823dfce
21 files changed
+391
-1453
No files matched your search
@@ -0,0 +1,49 @@
|
||||
<script setup>
|
||||
import { computed } from 'vue'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import { PAGE_PATHS } from '@/config/api'
|
||||
|
||||
const props = defineProps({
|
||||
defaultTitle: { type: String, default: '报销业务' }
|
||||
})
|
||||
|
||||
const title = computed(() => props.defaultTitle)
|
||||
|
||||
const goBack = () => {
|
||||
uni.navigateBack({
|
||||
fail: () => uni.switchTab({ url: PAGE_PATHS.workbench })
|
||||
})
|
||||
}
|
||||
|
||||
onLoad(() => {})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="mp-page">
|
||||
<view class="mp-header">
|
||||
<view class="bx-ph__nav" @click="goBack">
|
||||
<text class="bx-ph__back">← 工作台</text>
|
||||
</view>
|
||||
<text class="mp-header__title" style="margin-top: 16rpx">{{ title }}</text>
|
||||
<text class="mp-header__meta">报销管理 · 业务迁移中</text>
|
||||
</view>
|
||||
<view class="mp-placeholder">
|
||||
<view class="mp-placeholder__icon" />
|
||||
<text class="mp-placeholder__title">{{ title }}</text>
|
||||
<text class="mp-placeholder__desc">
|
||||
菜单与权限已开通。列表 / 表单 / 详情将按批次从 bx-mobile 迁入,接口复用现有报销 API。
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.bx-ph__nav {
|
||||
min-height: 44rpx;
|
||||
}
|
||||
.bx-ph__back {
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
opacity: 0.95;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user