feat:删除award

This commit is contained in:
2026-04-09 14:40:47 +08:00
parent 46b264e69e
commit a525d4f54a

View File

@@ -28,37 +28,37 @@ const routes: Array<RouteRecordRaw> = [
path: "/schoolLogin", path: "/schoolLogin",
name: "schoolLogin", name: "schoolLogin",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Login.vue"), // 使用通用登录组件 component: () => import("@/views/Login.vue") // 使用通用登录组件
}, },
{ {
path: "/enterpriseLogin", path: "/enterpriseLogin",
name: "enterpriseLogin", name: "enterpriseLogin",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Login.vue"), // 使用通用登录组件 component: () => import("@/views/Login.vue") // 使用通用登录组件
}, },
{ {
path: "/test", path: "/test",
name: "test1", name: "test1",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/test.vue"), component: () => import("@/views/test.vue")
}, },
{ {
path: "/register", path: "/register",
name: "register", name: "register",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Register.vue"), component: () => import("@/views/Register.vue")
}, },
{ {
path: "/register/:lang", path: "/register/:lang",
name: "registerLang", name: "registerLang",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Register.vue"), component: () => import("@/views/Register.vue")
}, },
{ {
path: "/upgrade", path: "/upgrade",
name: "upgrade", name: "upgrade",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/Upgrade.vue"), component: () => import("@/views/Upgrade.vue")
}, },
{ {
path: "/home", path: "/home",
@@ -69,8 +69,8 @@ const routes: Array<RouteRecordRaw> = [
{ {
path: "tools", path: "tools",
name: "tools", name: "tools",
meta: { enter: "all",cache:true }, meta: { enter: "all", cache: true },
component: () => import("@/views/HomeView/Tools.vue"), component: () => import("@/views/HomeView/Tools.vue")
}, },
// { // {
// path: "homePage", // path: "homePage",
@@ -82,13 +82,13 @@ const routes: Array<RouteRecordRaw> = [
path: "library", path: "library",
name: "library", name: "library",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/library.vue"), component: () => import("@/views/HomeView/library.vue")
}, },
{ {
path: "history", path: "history",
name: "history", name: "history",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/history.vue"), component: () => import("@/views/HomeView/history.vue")
}, },
// { // {
// path: "history/:type/:id", // path: "history/:type/:id",
@@ -99,32 +99,32 @@ const routes: Array<RouteRecordRaw> = [
{ {
path: "history/:id", path: "history/:id",
name: "designPage", name: "designPage",
meta: { enter: "all",cache:true }, meta: { enter: "all", cache: true },
component: () => import("@/component/home/design/index.vue"), component: () => import("@/component/home/design/index.vue")
}, },
{ {
path: "works", path: "works",
name: "works", name: "works",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/Works.vue"), component: () => import("@/views/HomeView/Works.vue")
}, },
{ {
path: "events", path: "events",
name: "events", name: "events",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/Events.vue"), component: () => import("@/views/HomeView/Events.vue")
}, },
{ {
path: "cloud", path: "cloud",
name: "cloud", name: "cloud",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeView/cloudGeneration.vue"), component: () => import("@/views/HomeView/cloudGeneration.vue")
}, },
{ {
path: "eventsDetail", path: "eventsDetail",
name: "eventsDetail", name: "eventsDetail",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Events/eventsDetail.vue"), component: () => import("@/component/Events/eventsDetail.vue")
}, },
{ {
path: "account", path: "account",
@@ -136,105 +136,114 @@ const routes: Array<RouteRecordRaw> = [
path: "", path: "",
name: "accountChil", name: "accountChil",
meta: { enter: "all" }, meta: { enter: "all" },
redirect: "/home/account/frontPage", redirect: "/home/account/frontPage"
}, },
{ {
path: "frontPage", path: "frontPage",
name: "frontPage", name: "frontPage",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Account/frontPage.vue"), component: () => import("@/component/Account/frontPage.vue")
}, },
{ {
path: "accountMessage", path: "accountMessage",
name: "accountMessage", name: "accountMessage",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Account/accountMessage.vue"), component: () => import("@/component/Account/accountMessage.vue")
}, },
{ {
path: "accountFollowFans", path: "accountFollowFans",
name: "accountFollowFans", name: "accountFollowFans",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => component: () => import("@/component/Account/accountFollowFans.vue")
import("@/component/Account/accountFollowFans.vue"), }
}, ]
],
}, },
{ {
path: "otherUsers", path: "otherUsers",
name: "otherUsers", name: "otherUsers",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/component/Account/otherUsers.vue"), component: () => import("@/component/Account/otherUsers.vue")
}, },
{ {
path: "becomeSeller", path: "becomeSeller",
name: "becomeSeller", name: "becomeSeller",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/BecomeSeller/index.vue"), component: () => import("@/views/SellerDashboard/BecomeSeller/index.vue")
}, },
{ {
path: "seller", path: "seller",
name: "seller", name: "seller",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/index.vue"), component: () => import("@/views/SellerDashboard/index.vue"),
children:[ children: [
{ {
path: "brandProfile", path: "brandProfile",
name: "brandProfile", name: "brandProfile",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), component: () => import("@/views/SellerDashboard/BrandProfile/index.vue")
}, },
{ {
path: "myListings", path: "myListings",
name: "myListings", name: "myListings",
meta: { enter: "all" }, meta: { enter: "all" },
children:[ children: [
{ {
path: "", path: "",
name: "myListingsChild", name: "myListingsChild",
meta: { enter: "all" }, meta: { enter: "all" },
redirect: "/home/seller/myListings/index", redirect: "/home/seller/myListings/index"
}, },
{ {
path: "index", path: "index",
name: "myListingsIndex", name: "myListingsIndex",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/MyListings/main/index.vue"), component: () =>
import("@/views/SellerDashboard/MyListings/main/index.vue")
}, },
{ {
path: "select", path: "select",
name: "myListingsSelect", name: "myListingsSelect",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/MyListings/createSelect/index.vue"), component: () =>
import("@/views/SellerDashboard/MyListings/createSelect/index.vue")
}, },
{ {
path: "select/:id", path: "select/:id",
name: "myListingsSelectItem", name: "myListingsSelectItem",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/MyListings/createSelectItem/index.vue"), component: () =>
import("@/views/SellerDashboard/MyListings/createSelectItem/index.vue")
}, },
{
path: "edit",
name: "EditDetail",
meta: { enter: "all" },
component: () =>
import("@/views/SellerDashboard/MyListings/EditDetail/index.vue")
}
] ]
}, },
{ {
path: "myOrders", path: "myOrders",
name: "myOrders", name: "myOrders",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), component: () => import("@/views/SellerDashboard/BrandProfile/index.vue")
}, },
{ {
path: "settings", path: "settings",
name: "settings", name: "settings",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/SellerDashboard/BrandProfile/index.vue"), component: () => import("@/views/SellerDashboard/BrandProfile/index.vue")
}, }
], ]
}, }
], ]
}, },
{ {
path: "/Square", path: "/Square",
name: "HomeRecommend", name: "HomeRecommend",
meta: { enter: "all" }, meta: { enter: "all" },
component: () => import("@/views/HomeRecommend.vue"), component: () => import("@/views/HomeRecommend.vue")
}, },
{ {
path: "/administrator", path: "/administrator",
@@ -246,165 +255,157 @@ const routes: Array<RouteRecordRaw> = [
path: "allUser", path: "allUser",
name: "allUser", name: "allUser",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/allUser.vue"), component: () => import("@/component/Administrator/allUser.vue")
}, },
{ {
path: "coupons", path: "coupons",
name: "coupons", name: "coupons",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/coupons/index.vue"), component: () => import("@/component/Administrator/coupons/index.vue")
}, },
{ {
path: "testClickData", path: "testClickData",
name: "testClickData", name: "testClickData",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/TestClickData.vue"), component: () => import("@/component/Administrator/TestClickData.vue")
}, },
{ {
path: "trialApproval", path: "trialApproval",
name: "trialApproval", name: "trialApproval",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/trialApproval.vue"), component: () => import("@/component/Administrator/trialApproval.vue")
}, },
{ {
path: "questionnaire", path: "questionnaire",
name: "questionnaire", name: "questionnaire",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/questionnaire.vue"), component: () => import("@/component/Administrator/questionnaire.vue")
}, },
{ {
path: "recentActiveChart", path: "recentActiveChart",
name: "recentActiveChart", name: "recentActiveChart",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/recentActiveChart.vue")
import("@/component/Administrator/recentActiveChart.vue"),
}, },
{ {
path: "recentActiveUser", path: "recentActiveUser",
name: "recentActiveUser", name: "recentActiveUser",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/recentActiveUser.vue")
import("@/component/Administrator/recentActiveUser.vue"),
}, },
{ {
path: "recentActiveUserChart", path: "recentActiveUserChart",
name: "recentActiveUserChart", name: "recentActiveUserChart",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/recentActiveUserChart.vue")
import("@/component/Administrator/recentActiveUserChart.vue"),
}, },
{ {
path: "recentNewUser", path: "recentNewUser",
name: "recentNewUser", name: "recentNewUser",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/recentNewUser.vue"), component: () => import("@/component/Administrator/recentNewUser.vue")
}, },
{ {
path: "recentNewUserChart", path: "recentNewUserChart",
name: "recentNewUserChart", name: "recentNewUserChart",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/recentNewUserChart.vue")
import("@/component/Administrator/recentNewUserChart.vue"),
}, },
{ {
path: "trialUserCountry", path: "trialUserCountry",
name: "trialUserCountry", name: "trialUserCountry",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/trialUserCountry.vue")
import("@/component/Administrator/trialUserCountry.vue"),
}, },
{ {
path: "trialUserConversionRateChart", path: "trialUserConversionRateChart",
name: "trialUserConversionRateChart", name: "trialUserConversionRateChart",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () =>
import("@/component/Administrator/trialUserConversionRateChart.vue"), import("@/component/Administrator/trialUserConversionRateChart.vue")
}, },
{ {
path: "trialAllUser", path: "trialAllUser",
name: "trialAllUser", name: "trialAllUser",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => import("@/component/Administrator/trialAllUser.vue"), component: () => import("@/component/Administrator/trialAllUser.vue")
}, },
{ {
path: "affiliateAudit", path: "affiliateAudit",
name: "affiliateAudit", name: "affiliateAudit",
meta: { enter: 3 }, meta: { enter: 3 },
component: () =>import("@/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue"), component: () =>
import("@/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue")
}, },
{ {
path: "affiliateReferral", path: "affiliateReferral",
name: "affiliateReferral", name: "affiliateReferral",
meta: { meta: {
enter: 3, enter: 3
}, },
component: () =>import("@/component/Administrator/affiliate/affiliateReferral/index.vue"), component: () =>
import("@/component/Administrator/affiliate/affiliateReferral/index.vue")
}, },
{ {
path: "TransactionTable", path: "TransactionTable",
name: "TransactionTable", name: "TransactionTable",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () =>
import("@/component/Administrator/Transaction/TransactionTable.vue"), import("@/component/Administrator/Transaction/TransactionTable.vue")
}, },
{ {
path: "organization", path: "organization",
name: "organization", name: "organization",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/organization/organization.vue")
import("@/component/Administrator/organization/organization.vue"),
}, },
{ {
path: "subscriptionPlan", path: "subscriptionPlan",
name: "subscriptionPlan", name: "subscriptionPlan",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/subscriptionPlan.vue")
import("@/component/Administrator/subscriptionPlan.vue"),
}, },
//企业版教育管理员页面 //企业版教育管理员页面
{ {
path: "allUserSE", path: "allUserSE",
name: "allUserSE", name: "allUserSE",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/SE/allUser/index.vue")
import("@/component/Administrator/SE/allUser/index.vue"),
}, },
{ {
path: "testClickDataSE", path: "testClickDataSE",
name: "testClickDataSE", name: "testClickDataSE",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/SE/designDetailList/index.vue")
import("@/component/Administrator/SE/designDetailList/index.vue"),
}, },
{ {
path: "recentActiveChartSE", path: "recentActiveChartSE",
name: "recentActiveChartSE", name: "recentActiveChartSE",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () => import("@/component/Administrator/SE/recentActiveChart.vue")
import("@/component/Administrator/SE/recentActiveChart.vue"),
}, },
{ {
path: "generateFrequencySE", path: "generateFrequencySE",
name: "generateFrequencySE", name: "generateFrequencySE",
meta: { enter: 3 }, meta: { enter: 3 },
component: () => component: () =>
import("@/component/Administrator/SE/getGenerateFrequency/index.vue"), import("@/component/Administrator/SE/getGenerateFrequency/index.vue")
}, }
], ]
}, },
{ {
path: "/paySucceed", path: "/paySucceed",
name: "paySucceed", name: "paySucceed",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/paySucceed.vue"), component: () => import("@/views/paySucceed.vue")
}, },
{ {
path: "/affiliate", path: "/affiliate",
name: "affiliate", name: "affiliate",
meta: { meta: {
enter: 2, enter: 2
}, },
component: () => import("@/views/affiliate/affiliatePage.vue"), component: () => import("@/views/affiliate/affiliatePage.vue"),
children: [ children: [
@@ -412,106 +413,82 @@ const routes: Array<RouteRecordRaw> = [
path: "", path: "",
name: "defaultAffiliateHome", name: "defaultAffiliateHome",
meta: { meta: {
enter: 2, enter: 2
}, },
component: () => import("@/component/affiliate/home.vue"), component: () => import("@/component/affiliate/home.vue")
}, },
{ {
path: "/affiliateHome", path: "/affiliateHome",
name: "affiliateHome", name: "affiliateHome",
meta: { meta: {
enter: 2, enter: 2
}, },
component: () => import("@/component/affiliate/home.vue"), component: () => import("@/component/affiliate/home.vue")
}, }
], ]
}, },
{ {
path: "/affiliateRegister", path: "/affiliateRegister",
name: "affiliateRegister", name: "affiliateRegister",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/affiliate/affiliateRegister.vue"), component: () => import("@/views/affiliate/affiliateRegister.vue")
}, },
{ {
path: "/feedbackSurvey", path: "/feedbackSurvey",
name: "feedbackSurvey", name: "feedbackSurvey",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/feedbackSurvey.vue"), component: () => import("@/views/feedbackSurvey.vue")
}, },
{ {
path: "/feedbackSurveyCN", path: "/feedbackSurveyCN",
name: "feedbackSurveyCN", name: "feedbackSurveyCN",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/feedbackSurveyCN.vue"), component: () => import("@/views/feedbackSurveyCN.vue")
}, },
{ {
path: "/email3-1EN", path: "/email3-1EN",
name: "email3-1EN", name: "email3-1EN",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/emailPage/email3-1EN.vue"), component: () => import("@/views/emailPage/email3-1EN.vue")
}, },
{ {
path: "/email3-1CN", path: "/email3-1CN",
name: "email3-1CN", name: "email3-1CN",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/emailPage/email3-1CN.vue"), component: () => import("@/views/emailPage/email3-1CN.vue")
}, },
{ {
path: "/404", path: "/404",
name: "404", name: "404",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/404.vue"), component: () => import("@/views/404.vue")
}, },
{ {
path: "/userManual", path: "/userManual",
name: "userManual", name: "userManual",
meta: { meta: {
enter: "all", enter: "all"
}, },
component: () => import("@/views/userManual.vue"), component: () => import("@/views/userManual.vue")
},
{
path: "/award",
name: "award",
meta: {
enter: "all",
},
component: () => import("@/views/AwardPage/container.vue"),
children:[
{
path:'',
name:'AwardIndex',
component:()=>import('@/views/AwardPage/index.vue')
},
{
path:'index',
name:'AwardIndexAlt',
component:()=>import('@/views/AwardPage/index.vue')
},
{
path:'contestants',
name:'Contestants',
component:()=>import('@/views/AwardPage/apply.vue')
}
]
}, },
{ {
path: "/:catchAll(.*)", path: "/:catchAll(.*)",
redirect: "/404", redirect: "/404"
}, }
]; ]
const router = createRouter({ const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL), history: createWebHistory(import.meta.env.BASE_URL),