|
@@ -8,11 +8,16 @@ import OSticky from '@/components/o-sticky'
|
|
|
import OHeader from '@/components/o-header'
|
|
|
import { state } from '@/state'
|
|
|
const activeName = ref('wait')
|
|
|
+export const approvalManageStrips = reactive({
|
|
|
+ agencty: 0,
|
|
|
+ approval: 0
|
|
|
+})
|
|
|
export default defineComponent({
|
|
|
name: 'approval-manage',
|
|
|
setup() {
|
|
|
const router = useRouter()
|
|
|
const headerHeight = ref(0)
|
|
|
+
|
|
|
return () => (
|
|
|
<div>
|
|
|
<OSticky
|
|
@@ -30,13 +35,14 @@ export default defineComponent({
|
|
|
sticky
|
|
|
offsetTop={headerHeight.value}
|
|
|
swipeable
|
|
|
+ titleActiveColor='var(--van-primary)'
|
|
|
>
|
|
|
{state.user?.data?.manageAdmin && (
|
|
|
- <Tab name="wait" title="处理事项">
|
|
|
+ <Tab name="wait" title={`处理事项${approvalManageStrips.agencty ? " (" + approvalManageStrips.agencty +")" : ''}`}>
|
|
|
<Agency />
|
|
|
</Tab>
|
|
|
)}
|
|
|
- <Tab name="end" title="我的审批">
|
|
|
+ <Tab name="end" title={`我的审批${approvalManageStrips.approval ? " (" + approvalManageStrips.approval +")" : ''}`}>
|
|
|
<MyApproval />
|
|
|
</Tab>
|
|
|
</Tabs>
|