diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 2c3869c3..8ed5094a 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -120,6 +120,20 @@ export const dynamicRoutes = [ } ] }, + { + path: '/system/competition', + component: Layout, + hidden: true, + permissions: ['system:user:edit'], + children: [ + { + path: 'set/:id(\\d+)', + component: () => import('@/views/system/competitionSet/index'), + name: 'competitionSet', + meta: { title: '赛会配置', activeMenu: '/system/competition' } + } + ] + }, { path: '/system/dict-data', component: Layout, diff --git a/ruoyi-ui/src/views/system/basketBallTeam/index.vue b/ruoyi-ui/src/views/system/basketBallTeam/index.vue index 56b9de40..2ecf7275 100644 --- a/ruoyi-ui/src/views/system/basketBallTeam/index.vue +++ b/ruoyi-ui/src/views/system/basketBallTeam/index.vue @@ -210,7 +210,8 @@ - + + diff --git a/ruoyi-ui/src/views/system/competition/index.vue b/ruoyi-ui/src/views/system/competition/index.vue index 3fbddb80..ba726587 100644 --- a/ruoyi-ui/src/views/system/competition/index.vue +++ b/ruoyi-ui/src/views/system/competition/index.vue @@ -187,7 +187,7 @@ {{ parseTime(scope.row.createdTime, '{y}-{m}-{d}') }} - + @@ -574,6 +581,11 @@ export default { this.$modal.msgSuccess("删除成功"); }).catch(() => {}); }, + /** 分配角色操作 */ + handleCompetitionSet: function(row) { + const id = row.id; + this.$router.push("/system/competition/set/" + id); + }, /** 导出按钮操作 */ handleExport() { this.download('system/competition/export', { diff --git a/ruoyi-ui/src/views/system/competitionSet/index.vue b/ruoyi-ui/src/views/system/competitionSet/index.vue new file mode 100644 index 00000000..1dbc3454 --- /dev/null +++ b/ruoyi-ui/src/views/system/competitionSet/index.vue @@ -0,0 +1,216 @@ + + +