From de6afc2ec06724885de7cc0eb8b8cad61f8c0b3b Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期四, 07 十二月 2023 08:32:41 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes --- CanadaMes-ui/src/views/user/index.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/CanadaMes-ui/src/views/user/index.vue b/CanadaMes-ui/src/views/user/index.vue index ba3de75..834c562 100644 --- a/CanadaMes-ui/src/views/user/index.vue +++ b/CanadaMes-ui/src/views/user/index.vue @@ -137,7 +137,7 @@ <script> -import { getById, removeById, saveOrUpdate, selectPage, resetPass } from "../../api/user"; +import { getById, removeById, saveOrUpdate, selectPage, resetPass,currentUsername } from "../../api/user"; import { select } from "../../api/role"; import LanguageMixin from '../../lang/LanguageMixin' @@ -193,6 +193,8 @@ }, created () { this.getUserList(); + this.getyonghu(); + }, methods: { getUserList () { @@ -239,6 +241,7 @@ const successMessage = this.$t('updateSuccessMessage'); this.$message.success(successMessage); }); + }, resetPassword (info) { this.$confirm(this.$t('confirmResetPassword'), this.$t('resetPassword'), { @@ -265,6 +268,14 @@ this.roleList = res.data; }); }, + +getyonghu () { + currentUsername().then(res => { + console.log(res) + }); + + +}, removeUserById (user) { // 寮规璇㈤棶鐢ㄦ埛鏄惁鍒犻櫎鍒嗙被 this.$confirm(this.$t('confirmDeleteCategory'), this.$t('prompt'), { -- Gitblit v1.8.0