From f320b1d36a8015061e6932bbe71d6c923a48ceaf Mon Sep 17 00:00:00 2001 From: wuyibo <771227828@qq.com> Date: Wed, 9 Nov 2022 10:31:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=B5=9B=E4=BC=9A=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/router/index.js | 14 ++ .../src/views/system/basketBallTeam/index.vue | 3 +- .../src/views/system/competition/index.vue | 14 +- .../src/views/system/competitionSet/index.vue | 216 ++++++++++++++++++ 4 files changed, 245 insertions(+), 2 deletions(-) create mode 100644 ruoyi-ui/src/views/system/competitionSet/index.vue 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 @@ + + +