From 7b4cd6ef04b358e0805846d49e3acf02d7eae5cb Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 30 七月 2025 11:08:33 +0800 Subject: [PATCH] feat(eims): 更新预测性维护功能 - 新增设备数据定时更新功能 - 添加维护建议滚动显示 - 更新设备部件寿命预测数据 - 调整备件库存与预警逻辑 - 优化数据展示和颜色提示 --- eims-ui-mobile/src/pages/login/index.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/eims-ui-mobile/src/pages/login/index.vue b/eims-ui-mobile/src/pages/login/index.vue index bc68841..5c56190 100644 --- a/eims-ui-mobile/src/pages/login/index.vue +++ b/eims-ui-mobile/src/pages/login/index.vue @@ -42,10 +42,7 @@ </wd-button> <view class="copyright-info"> - <text> - 涓婃捣鍏板疂浼犳劅绉戞妧鑲′唤鏈夐檺鍏徃 - </text> - + <text>涓婃捣鍏板疂浼犳劅绉戞妧鑲′唤鏈夐檺鍏徃</text> </view> </view> </wd-form> @@ -57,11 +54,10 @@ import { useToast } from 'wot-design-uni' import { login, getUserInfo } from '@/service/login' import type { UserInfo } from '@/service/login.d' -import { TestEnum } from '@/typings' +import { tabbarStore } from '@/components/fg-tabbar/tabbar' const userStore = useUserStore() const accessStore = useAccessStore() const configStore = useSystemConfigStore() -const { success: showSuccess } = useToast() const model = reactive<{ username: string @@ -129,7 +125,9 @@ } userStore.setUserInfo(userInfo) const { query } = currRoute() - uni.switchTab({ url: query.redirect }) + uni.switchTab({ url: '/pages/home/index' }) + tabbarStore?.setCurIdx(0) + tabbarStore?.setLastIdx(0) } </script> -- Gitblit v1.9.3