2022-11-15 10:03:13 +00:00
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
2023-01-14 03:15:59 +00:00
|
|
|
onShow() {
|
|
|
|
if(uni.getStorageSync('worker_role')==2){
|
|
|
|
uni.reLaunch({
|
|
|
|
url:'/pages/worker/sign/sign?userType=director'
|
|
|
|
})
|
|
|
|
}else{
|
|
|
|
uni.reLaunch({
|
|
|
|
url:'/pages/worker/sign/sign?userType=worker'
|
|
|
|
})
|
|
|
|
}
|
2022-11-15 10:03:13 +00:00
|
|
|
},
|
2023-01-14 03:15:59 +00:00
|
|
|
methods: {
|
|
|
|
|
2022-11-15 10:03:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
</style>
|