|
|
|
|
@ -21,18 +21,18 @@
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (this.vuex_my_role === 1) {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: "/pages/todayNursing/todayNursing",
|
|
|
|
|
complete: (res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
url: "/package_sub/pages/index/index"
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (this.vuex_my_role === 1) {
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: "/pages/todayNursing/todayNursing",
|
|
|
|
|
complete: (res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
url: "/package_sub/pages/index/index"
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}, 3000)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -46,7 +46,6 @@
|
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
transform: translateX(-50%) translateY(-50%);
|
|
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
|