<route lang="json5" type="page">
	{
	layout: 'default',
	style: {
	navigationStyle: 'custom',
	navigationBarTitleText: '流程审批导航',
	},
	}
</route>
<template>
	<PageLayout nav-title="运行流程" >
		<wd-tabs v-model="tab" swipeable color="#39b54a" autoLineWidth>
		    <wd-tab  title="我的任务">
		      <myTask></myTask>
		    </wd-tab>
			<wd-tab title="历史任务">
			  <historicalTasks></historicalTasks>
			</wd-tab>
		</wd-tabs>
	</PageLayout>
</template>

<script setup lang="ts">
	import {
		useAppStore
	} from '@/store'
	import {
		ref
	} from 'vue'
	import {
		onLoad,
		onShow 
	} from '@dcloudio/uni-app';
	import myTask from './components/myTask.vue'
	import historicalTasks from './components/historicalTasks.vue'
	const appStore = useAppStore();
	const tab = ref(0)
	
	
</script>

<style scoped lang="scss">
	::v-deep .wd-tabs__line{
		background: #39b54a;
	}
</style>