更新若干

This commit is contained in:
hero920103 committed 2026-11-17 17:16:02 +08:00
1 parent 54c90072fb
commit 5682069553
59 files changed
+3813 -1617

No files matched your search

+1 -1
View File
@@ -623,7 +623,7 @@ async function punch(type) {
onShow(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
startTimer()
+1 -1
View File
@@ -155,7 +155,7 @@ const deductItems = computed(() => {
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
const pages = getCurrentPages()
+1 -1
View File
@@ -58,7 +58,7 @@ const currentMonth = `${now.getFullYear()}-${pad(now.getMonth() + 1)}`
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
loadPayrolls()
+1 -1
View File
@@ -159,7 +159,7 @@ const callPhone = computed(() => (contact.value ? primaryPhone(contact.value) :
onLoad((options) => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
id.value = Number((options && options.id) || 0)
+1 -1
View File
@@ -109,7 +109,7 @@ const hasMore = ref(false)
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
loadOrgTree()
+1 -1
View File
@@ -406,7 +406,7 @@ function onCalendarCellTap(cell) {
onShow(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
reload()
+1 -1
View File
@@ -103,7 +103,7 @@ const loading = ref(true)
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
const pages = getCurrentPages()
+1 -1
View File
@@ -105,7 +105,7 @@ const loading = ref(false)
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
loadCategories()
+1 -1
View File
@@ -192,7 +192,7 @@ const recordGroups = computed(() => {
onLoad((options) => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
fileId.value = Number((options && options.id) || 0)
+1 -1
View File
@@ -109,7 +109,7 @@ const hasMore = ref(false)
onLoad(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
init()
+1 -1
View File
@@ -58,7 +58,7 @@ const loading = ref(true)
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
const pages = getCurrentPages()
+1 -1
View File
@@ -57,7 +57,7 @@ const loading = ref(false)
onMounted(() => {
if (!isLoggedIn()) {
uni.reLaunch({ url: '/pages/login/login' })
uni.reLaunch({ url: '/pages/nav/nav' })
return
}
loadNotices()