| | |
| | | <script setup> |
| | | import { updateUserPwd } from "@/api/system/user"; |
| | | import useUserStore from "@/store/modules/user"; |
| | | const router = useRouter(); |
| | | const userStore = useUserStore() |
| | | const { proxy } = getCurrentInstance(); |
| | | |
| | |
| | | }; |
| | | /** 关闭按钮 */ |
| | | function close() { |
| | | proxy.$tab.closePage(); |
| | | router.push({path: '/saftyCheckMng/dailyCheck'}) |
| | | }; |
| | | </script> |
| | |
| | | |
| | | <script setup> |
| | | import { updateUserProfile } from "@/api/system/user"; |
| | | |
| | | const router = useRouter(); |
| | | const props = defineProps({ |
| | | user: { |
| | | type: Object |
| | |
| | | |
| | | /** 关闭按钮 */ |
| | | function close() { |
| | | proxy.$tab.closePage(); |
| | | router.push({path: '/saftyCheckMng/dailyCheck'}) |
| | | }; |
| | | |
| | | // 回显当前登录用户信息 |