From 2c48e13ce79ccbeea2b34035be63093fef8b7dc0 Mon Sep 17 00:00:00 2001 From: zty Date: Wed, 5 Mar 2025 14:39:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20=E8=B6=A3=E5=91=B3?= =?UTF-8?q?=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_client/src/router/index.js | 30 ++++++++++----------- test_client/src/views/material/material.vue | 5 ++-- test_client/src/views/news/news.vue | 3 ++- test_client/src/views/news/newscreate.vue | 3 ++- test_client/src/views/news/newsupdate.vue | 3 ++- 5 files changed, 24 insertions(+), 20 deletions(-) diff --git a/test_client/src/router/index.js b/test_client/src/router/index.js index ef7b0b7..227709b 100644 --- a/test_client/src/router/index.js +++ b/test_client/src/router/index.js @@ -99,21 +99,21 @@ export const asyncRoutes = [ // youpei 是只针对地坪项目新建的菜单 - { - path: '/youpei', - component: Layout, - redirect: '/youpei/index', - name: 'Youpei', - meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] }, - children: [ - { - path: 'index', - name: 'youpeiList', - component: () => import('@/views/youpei/index.vue'), - meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] } - } - ] - }, + // { + // path: '/youpei', + // component: Layout, + // redirect: '/youpei/index', + // name: 'Youpei', + // meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] }, + // children: [ + // { + // path: 'index', + // name: 'youpeiList', + // component: () => import('@/views/youpei/index.vue'), + // meta: { title: '优培企业', icon: 'documentation', perms: ['youpei_view'] } + // } + // ] + // }, { path: '/vod', diff --git a/test_client/src/views/material/material.vue b/test_client/src/views/material/material.vue index 1c43c14..65ef059 100644 --- a/test_client/src/views/material/material.vue +++ b/test_client/src/views/material/material.vue @@ -49,7 +49,7 @@ - + @@ -101,7 +101,7 @@ - + - + @@ -110,6 +110,7 @@ export default { components: { Pagination }, data() { return { + uploadUrl: process.env.VUE_APP_BASE_API, type_: {1:"技能大赛",2:"铺装工匠",3:"培训信息",4:"大赛信息"}, listQuery: Object.assign({}, listQuery), diff --git a/test_client/src/views/news/newscreate.vue b/test_client/src/views/news/newscreate.vue index 2668880..6866bd4 100644 --- a/test_client/src/views/news/newscreate.vue +++ b/test_client/src/views/news/newscreate.vue @@ -11,7 +11,7 @@ - + - +