dengzedong
2024-09-20 8de0657846ff9d860207aa26b9fa1a1ecd457afb
路由
已修改2个文件
14 ■■■■ 文件已修改
src/router/modules/remaining.ts 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/model/mpk/file/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/modules/remaining.ts
@@ -349,7 +349,7 @@
    children: [
      {
        path: 'package/history/:projectId',
        component: () => import('@/views/mpk/ProjectPackageHistory.vue'),
        component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'),
        name: 'ProjectPackageHistory',
        meta: {
          title: '打包历史',
@@ -386,16 +386,16 @@
    ]
  },
  {
    path: '/mpk',
    path: '/file',
    component: Layout,
    name: 'mpk',
    name: 'file',
    meta: {
      hidden: true
    },
    children: [
      {
        path: 'form/:id?',
        component: () => import('@/views/mpk/MpkForm.vue'),
        component: () => import('@/views/model/mpk/file/MpkForm.vue'),
        name: 'MpkForm',
        meta: {
          title: 'Mpk表单',
@@ -403,7 +403,7 @@
          hidden: true,
          canTo: true,
          icon: '',
          activeMenu: '/model/mpk'
          activeMenu: '/model/file'
        }
      }
    ]
src/views/model/mpk/file/index.vue
@@ -26,7 +26,7 @@
          重置
        </el-button>
        <div class="ml-12px">
          <router-link :to="'/mpk/form'">
          <router-link :to="'/file/form'">
            <el-button type="primary" plain v-hasPermi="['mpk:file:create']">
              <Icon icon="ep:plus" class="mr-5px"/>新增</el-button>
          </router-link>
@@ -53,7 +53,7 @@
      <el-table-column label="操作" align="center" width="200px">
        <template #default="scope">
          <div class="flex items-center justify-center">
            <router-link :to="'/mpk/form/' + scope.row.id">
            <router-link :to="'/file/form/' + scope.row.id">
              <el-button type="primary" link v-hasPermi="['mpk:file:update']">
                <Icon icon="ep:edit"/>修改
              </el-button>