hejianhao
2025-03-19 7410cf995298b6c737be0f134c52634992c3d77d
删除文件
33个文件已删除
3个文件已修改
1个文件已添加
7540 ■■■■■ 已修改文件
src/layout/components/Navbar.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/permission.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 102 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/BarChart.vue 102 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/LineChart.vue 135 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/PanelGroup.vue 181 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/PieChart.vue 79 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/RaddarChart.vue 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/mixins/resize.js 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index_v1.vue 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/cache/index.vue 148 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/cache/list.vue 241 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/druid/index.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/job/index.vue 513 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/job/log.vue 295 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/logininfor/index.vue 246 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/online/index.vue 122 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/operlog/index.vue 323 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/monitor/server/index.vue 207 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/register.vue 210 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/relocatablePersonnel/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/config/index.vue 343 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/notice/index.vue 312 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/post/index.vue 309 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/build/CodeTypeDialog.vue 106 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/build/DraggableItem.vue 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/build/IconsDialog.vue 123 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/build/RightPanel.vue 946 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/build/TreeNodeDialog.vue 149 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/build/index.vue 768 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/basicInfoForm.vue 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/createTable.vue 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/editTable.vue 234 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/genInfoForm.vue 312 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/importTable.vue 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/gen/index.vue 347 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/swagger/index.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue
@@ -1,28 +1,15 @@
<template>
  <div class="navbar">
    <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
    <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container"
      @toggleClick="toggleSideBar" />
    <breadcrumb v-if="!topNav" id="breadcrumb-container" class="breadcrumb-container" />
    <top-nav v-if="topNav" id="topmenu-container" class="topmenu-container" />
    <div class="right-menu">
      <template v-if="device!=='mobile'">
      <template v-if="device !== 'mobile'">
        <search id="header-search" class="right-menu-item" />
        <el-tooltip content="源码地址" effect="dark" placement="bottom">
          <ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
        </el-tooltip>
        <el-tooltip content="文档地址" effect="dark" placement="bottom">
          <ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />
        </el-tooltip>
        <screenfull id="screenfull" class="right-menu-item hover-effect" />
        <el-tooltip content="布局大小" effect="dark" placement="bottom">
          <size-select id="size-select" class="right-menu-item hover-effect" />
        </el-tooltip>
      </template>
      <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
@@ -31,12 +18,9 @@
          <i class="el-icon-caret-bottom" />
        </div>
        <el-dropdown-menu slot="dropdown">
          <router-link to="/user/profile">
          <!-- <router-link to="/user/profile">
            <el-dropdown-item>个人中心</el-dropdown-item>
          </router-link>
          <el-dropdown-item @click.native="setting = true">
            <span>布局设置</span>
          </el-dropdown-item>
          </router-link> -->
          <el-dropdown-item divided @click.native="logout">
            <span>退出登录</span>
          </el-dropdown-item>
@@ -104,7 +88,7 @@
        this.$store.dispatch('LogOut').then(() => {
          location.href = '/index'
        })
      }).catch(() => {})
      }).catch(() => { })
    }
  }
}
@@ -116,7 +100,7 @@
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,21,41,.08);
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  .hamburger-container {
    line-height: 46px;
@@ -124,7 +108,7 @@
    float: left;
    cursor: pointer;
    transition: background .3s;
    -webkit-tap-highlight-color:transparent;
    -webkit-tap-highlight-color: transparent;
    &:hover {
      background: rgba(0, 0, 0, .025)
src/permission.js
@@ -9,7 +9,7 @@
NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register']
const whiteList = ['/login']
const isWhiteList = (path) => {
  return whiteList.some(pattern => isPathMatch(pattern, path))
@@ -37,11 +37,11 @@
            next({ ...to, replace: true }) // hack方法 确保addRoutes已完成
          })
        }).catch(err => {
            store.dispatch('LogOut').then(() => {
              Message.error(err)
              next({ path: '/' })
            })
          store.dispatch('LogOut').then(() => {
            Message.error(err)
            next({ path: '/' })
          })
        })
      } else {
        next()
      }
src/router/index.js
@@ -47,11 +47,6 @@
    hidden: true
  },
  {
    path: '/register',
    component: () => import('@/views/register'),
    hidden: true
  },
  {
    path: '/404',
    component: () => import('@/views/error/404'),
    hidden: true
@@ -74,94 +69,37 @@
      }
    ]
  },
  {
    path: '/user',
    component: Layout,
    hidden: true,
    redirect: 'noredirect',
    children: [
      {
        path: 'profile',
        component: () => import('@/views/system/user/profile/index'),
        name: 'Profile',
        meta: { title: '个人中心', icon: 'user' }
      }
    ]
  }
  // {
  //   path: '/user',
  //   component: Layout,
  //   hidden: true,
  //   redirect: 'noredirect',
  //   children: [
  //     {
  //       path: 'profile',
  //       component: () => import('@/views/system/user/profile/index'),
  //       name: 'Profile',
  //       meta: { title: '个人中心', icon: 'user' }
  //     }
  //   ]
  // }
]
// 动态路由,基于用户权限动态去加载
export const dynamicRoutes = [
  {
    path: '/system/user-auth',
    path: '/relocatablePersonnel',
    component: Layout,
    hidden: true,
    permissions: ['system:user:edit'],
    // permissions: ['system:user:edit'],
    children: [
      {
        path: 'role/:userId(\\d+)',
        component: () => import('@/views/system/user/authRole'),
        name: 'AuthRole',
        meta: { title: '分配角色', activeMenu: '/system/user' }
        path: 'list',
        component: () => import('@/views/relocatablePersonnel'),
        name: 'RelocatablePersonnel',
        meta: { title: '待安置人员库', activeMenu: '/relocatablePersonnel/list' }
      }
    ]
  },
  {
    path: '/system/role-auth',
    component: Layout,
    hidden: true,
    permissions: ['system:role:edit'],
    children: [
      {
        path: 'user/:roleId(\\d+)',
        component: () => import('@/views/system/role/authUser'),
        name: 'AuthUser',
        meta: { title: '分配用户', activeMenu: '/system/role' }
      }
    ]
  },
  {
    path: '/system/dict-data',
    component: Layout,
    hidden: true,
    permissions: ['system:dict:list'],
    children: [
      {
        path: 'index/:dictId(\\d+)',
        component: () => import('@/views/system/dict/data'),
        name: 'Data',
        meta: { title: '字典数据', activeMenu: '/system/dict' }
      }
    ]
  },
  {
    path: '/monitor/job-log',
    component: Layout,
    hidden: true,
    permissions: ['monitor:job:list'],
    children: [
      {
        path: 'index/:jobId(\\d+)',
        component: () => import('@/views/monitor/job/log'),
        name: 'JobLog',
        meta: { title: '调度日志', activeMenu: '/monitor/job' }
      }
    ]
  },
  {
    path: '/tool/gen-edit',
    component: Layout,
    hidden: true,
    permissions: ['tool:gen:edit'],
    children: [
      {
        path: 'index/:tableId(\\d+)',
        component: () => import('@/views/tool/gen/editTable'),
        name: 'GenEdit',
        meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
      }
    ]
  }
]
// 防止连续点击多次路由报错
src/views/dashboard/BarChart.vue
File was deleted
src/views/dashboard/LineChart.vue
File was deleted
src/views/dashboard/PanelGroup.vue
File was deleted
src/views/dashboard/PieChart.vue
File was deleted
src/views/dashboard/RaddarChart.vue
File was deleted
src/views/dashboard/mixins/resize.js
File was deleted
src/views/index_v1.vue
File was deleted
src/views/monitor/cache/index.vue
File was deleted
src/views/monitor/cache/list.vue
File was deleted
src/views/monitor/druid/index.vue
File was deleted
src/views/monitor/job/index.vue
File was deleted
src/views/monitor/job/log.vue
File was deleted
src/views/monitor/logininfor/index.vue
File was deleted
src/views/monitor/online/index.vue
File was deleted
src/views/monitor/operlog/index.vue
File was deleted
src/views/monitor/server/index.vue
File was deleted
src/views/register.vue
File was deleted
src/views/relocatablePersonnel/index.vue
New file
@@ -0,0 +1,20 @@
<template>
    <div>111</div>
</template>
<script>
export default {
    name: "RelocatablePersonnel",
    components: {},
    props: {},
    data() {
        return {};
    },
    computed: {},
    watch: {},
    created() { },
    mounted() { },
    methods: {},
};
</script>
<style scoped></style>
src/views/system/config/index.vue
File was deleted
src/views/system/notice/index.vue
File was deleted
src/views/system/post/index.vue
File was deleted
src/views/tool/build/CodeTypeDialog.vue
File was deleted
src/views/tool/build/DraggableItem.vue
File was deleted
src/views/tool/build/IconsDialog.vue
File was deleted
src/views/tool/build/RightPanel.vue
File was deleted
src/views/tool/build/TreeNodeDialog.vue
File was deleted
src/views/tool/build/index.vue
File was deleted
src/views/tool/gen/basicInfoForm.vue
File was deleted
src/views/tool/gen/createTable.vue
File was deleted
src/views/tool/gen/editTable.vue
File was deleted
src/views/tool/gen/genInfoForm.vue
File was deleted
src/views/tool/gen/importTable.vue
File was deleted
src/views/tool/gen/index.vue
File was deleted
src/views/tool/swagger/index.vue
File was deleted