| | |
| | | children: [ |
| | | { |
| | | path: 'package/history/:projectId', |
| | | component: () => import('@/views/mpk/ProjectPackageHistory.vue'), |
| | | component: () => import('@/views/model/mpk/project/ProjectPackageHistory.vue'), |
| | | name: 'ProjectPackageHistory', |
| | | meta: { |
| | | title: '打包历史', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 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表单', |
| | |
| | | hidden: true, |
| | | canTo: true, |
| | | icon: '', |
| | | activeMenu: '/model/mpk' |
| | | activeMenu: '/model/file' |
| | | } |
| | | } |
| | | ] |
| | |
| | | 重置 |
| | | </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> |
| | |
| | | <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> |