diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 2e808aa6cd2bec3c3e6f4c28974052f2fed9edb5..40af63de60c49b089e98adf518ac5b789ab3a7b9 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -51,11 +51,11 @@ placement="right" :visible="addVisible" @close="addDrawerClose" - v-if="addBtn" - :maskClosable="!!addBtn.maskClosable" + v-if="$slots.drawer" + :maskClosable="addBtn && !!addBtn.maskClosable" :drawerStyle="drawerStyle" :bodyStyle="bodyStyle" - :width="addBtn.width || 600" + :width="(addBtn && addBtn.width) || 600" destroyOnClose >
diff --git a/src/pages/frame/components/footer/LayoutCopyrightFooter.vue b/src/pages/frame/components/footer/LayoutCopyrightFooter.vue deleted file mode 100644 index 80b1dce1ec7e49fb8215c51a116f35694369c973..0000000000000000000000000000000000000000 --- a/src/pages/frame/components/footer/LayoutCopyrightFooter.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - diff --git a/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue b/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue index 9a18ec1cd9f32eafb67590fd0b656044d25e7245..e5c4d66c06fb53203f8915d261270245700d39b2 100644 --- a/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue +++ b/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue @@ -1,12 +1,7 @@ diff --git a/src/pages/system/view/log/operation/index.vue b/src/pages/system/view/log/operation/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..87f09df26c8d56f4faaeaf235b0d4a81a5c76c87 --- /dev/null +++ b/src/pages/system/view/log/operation/index.vue @@ -0,0 +1,76 @@ + + + diff --git a/src/pages/user/components/info.vue b/src/pages/user/components/info.vue index b1d615729eee5005f920e731e9b76e934c02462f..9bc1b929676844ac2a1deb10b405e4622a65c3a6 100644 --- a/src/pages/user/components/info.vue +++ b/src/pages/user/components/info.vue @@ -25,7 +25,7 @@
@@ -50,6 +50,9 @@ export default { loginId() { return this.$store.state.userInfo.loginId; }, + userAvatar() { + return this.form.userAvatar ? `${this.$fileUrl}${this.form.userAvatar}` : null; + }, }, watch: { '$store.state.userInfo'(userInfo) { diff --git a/src/router/async/router.map.js b/src/router/async/router.map.js index c0ba6b42f1d340e133410fd57a5de447dfaa9fe3..4249088000b3bb6ae5954f55708fb9928f6666ce 100644 --- a/src/router/async/router.map.js +++ b/src/router/async/router.map.js @@ -1,4 +1,3 @@ - // 视图组件 const view = { tabs: () => import('@/pages/frame/view/template/TabsTemplateView'), @@ -20,20 +19,20 @@ const routerMap = { component: view.tabs, }, exp403: { - authority: "*", - name: "403错误", - path: "403", - component: () => import("@/pages/frame/view/exception/403"), + authority: '*', + name: '403错误', + path: '403', + component: () => import('@/pages/frame/view/exception/403'), }, exp404: { - name: "404错误", - path: "404", - component: () => import("@/pages/frame/view/exception/404"), + name: '404错误', + path: '404', + component: () => import('@/pages/frame/view/exception/404'), }, exp500: { - name: "500错误", - path: "500", - component: () => import("@/pages/frame/view/exception/500"), + name: '500错误', + path: '500', + component: () => import('@/pages/frame/view/exception/500'), }, dashboard: { name: 'Dashboard', @@ -72,9 +71,5 @@ const routerMap = { name: '参数管理', component: () => import('@/pages/system/view/parameter'), }, - log_management: { - name: '日志管理', - component: () => import('@/pages/system/view/log'), - }, }; export default routerMap; diff --git a/src/router/config.js b/src/router/config.js index ae3948df3c60d0c3bc9e2b2f6afd02b870d099ff..9bf1e0f368702085ff50396bf0486f1033c5cd5e 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -122,6 +122,11 @@ const options = { name: '登录日志', component: () => import('@/pages/system/view/log/login_log/index.vue'), }, + { + path: 'operation_log', + name: '操作日志', + component: () => import('@/pages/system/view/log/operation/index.vue'), + }, ], }, {