diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 40af63de60c49b089e98adf518ac5b789ab3a7b9..c4a0f344443adb9c4bc3f757eb7d22dfb3707101 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -140,6 +140,7 @@ export default { current: this.initQuery.pageNum, pageSize: this.initQuery.pageSize, total: this.total, + showQuickJumper: true, }; }, isRowSelection() { diff --git a/src/pages/system/view/log/operation/index.vue b/src/pages/system/view/log/operation/index.vue index 87f09df26c8d56f4faaeaf235b0d4a81a5c76c87..a4747fa548c8e19a245e56f0a1914e3724b49352 100644 --- a/src/pages/system/view/log/operation/index.vue +++ b/src/pages/system/view/log/operation/index.vue @@ -21,8 +21,8 @@ valueFormat="YYYY-MM-DD HH:mm:ss" /> - - + + @@ -61,9 +61,6 @@ export default { }; }, methods: { - refreshTable() { - this.$refs.table.getData(); - }, showDrawer(type, noFooter) { this.$refs['table'].show({ type, noFooter }); }, diff --git a/src/pages/system/view/user/UserManagement.vue b/src/pages/system/view/user/UserManagement.vue deleted file mode 100644 index b810432f04a94f4082efe1fb3cd09461516cc8c8..0000000000000000000000000000000000000000 --- a/src/pages/system/view/user/UserManagement.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - diff --git a/src/pages/system/view/user/index.js b/src/pages/system/view/user/index.js deleted file mode 100644 index 39c7198a32d84a355e91e840ebd7d8e5cfbd64c4..0000000000000000000000000000000000000000 --- a/src/pages/system/view/user/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import UserManagement from './UserManagement'; - -export default UserManagement; \ No newline at end of file diff --git a/src/pages/user/components/info.vue b/src/pages/user/components/info.vue index 9bc1b929676844ac2a1deb10b405e4622a65c3a6..eba3c97cad57901fa1280d82607eb0d134b388ea 100644 --- a/src/pages/user/components/info.vue +++ b/src/pages/user/components/info.vue @@ -54,6 +54,16 @@ export default { return this.form.userAvatar ? `${this.$fileUrl}${this.form.userAvatar}` : null; }, }, + mounted() { + if (this.loginId) { + const userInfo = this.$store.state.userInfo; + this.form.userName = userInfo.userName; + this.form.fixedPhone = userInfo.fixedPhone; + this.form.mobilePhone = userInfo.mobilePhone; + this.form.userEmail = userInfo.userEmail; + this.form.userAvatar = userInfo.userAvatar; + } + }, watch: { '$store.state.userInfo'(userInfo) { this.form.userName = userInfo.userName;