深海科学与工程研究所安全巡检系统
祖安之光
2025-10-15 f2e0a0b50e5f628abdfe6c1e4cc4a9f682003ece
提交
2 files modified
7 ■■■■■ changed files
src/views/system/user/profile/resetPwd.vue 3 ●●●● patch | view | raw | blame | history
src/views/system/user/profile/userInfo.vue 4 ●●●● patch | view | raw | blame | history
src/views/system/user/profile/resetPwd.vue
@@ -19,6 +19,7 @@
<script setup>
import { updateUserPwd } from "@/api/system/user";
import useUserStore from "@/store/modules/user";
const router = useRouter();
const userStore = useUserStore()
const { proxy } = getCurrentInstance();
@@ -60,6 +61,6 @@
};
/** 关闭按钮 */
function close() {
  proxy.$tab.closePage();
  router.push({path: '/saftyCheckMng/dailyCheck'})
};
</script>
src/views/system/user/profile/userInfo.vue
@@ -24,7 +24,7 @@
<script setup>
import { updateUserProfile } from "@/api/system/user";
const router = useRouter();
const props = defineProps({
  user: {
    type: Object
@@ -55,7 +55,7 @@
/** 关闭按钮 */
function close() {
  proxy.$tab.closePage();
  router.push({path: '/saftyCheckMng/dailyCheck'})
};
// 回显当前登录用户信息