diff --git a/public/addstation.html b/public/addstation.html new file mode 100644 index 0000000000000000000000000000000000000000..566549bdf8fae810809c1a81066000687cb338f6 --- /dev/null +++ b/public/addstation.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file diff --git a/src/components/ForUser/enterpriseList.vue b/src/components/ForUser/enterpriseList.vue new file mode 100644 index 0000000000000000000000000000000000000000..6bf92cbed65415f47e85239889763b6e4d9d11e2 --- /dev/null +++ b/src/components/ForUser/enterpriseList.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/components/ForUser/stationList.vue b/src/components/ForUser/stationList.vue new file mode 100644 index 0000000000000000000000000000000000000000..e2cdd31ee503c842f4a713e0e51f097f9e8a9ecc --- /dev/null +++ b/src/components/ForUser/stationList.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/src/components/ForUser/wikiList.vue b/src/components/ForUser/wikiList.vue new file mode 100644 index 0000000000000000000000000000000000000000..a91e589ce4f4cb7ad98f6db268a1d3c254a424fe --- /dev/null +++ b/src/components/ForUser/wikiList.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index b2c8940893973b64fe3e2d13f822dca8cfd9c720..0000000000000000000000000000000000000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - diff --git a/src/components/Manager/userManager.vue b/src/components/Manager/userManager.vue index c60536888e0c8072aed6d4000f74200046e4b565..e63bc10154e648abc81ee68fad2967cd40a2c7d5 100644 --- a/src/components/Manager/userManager.vue +++ b/src/components/Manager/userManager.vue @@ -1,7 +1,6 @@ diff --git a/src/components/backstageMain.vue b/src/components/backstageMain.vue index 94189a6706b39a6eca5278aa7a432a49189e71db..55768a5e83bfe7377a5ec83f1f31cded6d4ea6b7 100644 --- a/src/components/backstageMain.vue +++ b/src/components/backstageMain.vue @@ -1,6 +1,6 @@ diff --git a/src/components/userstageMain.vue b/src/components/userstageMain.vue new file mode 100644 index 0000000000000000000000000000000000000000..409f5999acc444fc0b72dfae95c9e904da7f9f9a --- /dev/null +++ b/src/components/userstageMain.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index 3be40ed595ee9aba57640c665a3876faa106bbcf..9746214343522f9e69afa2df22910c617865397c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -12,6 +12,11 @@ import userManager from "@/components/Manager/userManager"; import enterpriseManager from "@/components/Manager/enterpriseManager"; import login from "@/components/login"; import register from "@/components/register"; +import userstage from "@/views/userstage"; +import userstageMain from "@/components/userstageMain"; +import stationList from "@/components/ForUser/stationList"; +import enterpriseList from "@/components/ForUser/enterpriseList"; +import wikiList from "@/components/ForUser/wikiList"; Vue.use(VueRouter) @@ -19,7 +24,7 @@ const routes = [ { name: "主页重定向", path: "/", - redirect: "/index" + redirect: "/user" }, { name: "登录", @@ -33,7 +38,7 @@ const routes = [ }, { name: "主页", - path: "/index", + path: "/demo", component: index, children: [ { @@ -55,10 +60,39 @@ const routes = [ } ] }, + { + name: "userstage", + path: "/user", + component: userstage, + redirect: "/userstageMain", + children: [ + { + name: "用户首页", + path: "/userstageMain", + component: userstageMain + }, + { + name: "岗位列表(学员)", + path: "/stationList", + component: stationList + }, + { + name: "企业列表(学员)", + path: "/enterpriseList", + component: enterpriseList + }, + { + name: "百科列表(学员)", + path: "/wikiList", + component: wikiList + } + ] + }, { name: "backstage", path: "/admin", component: backstage, + redirect: "/backstageMain", children: [ { name: "后台首页", @@ -75,8 +109,6 @@ const routes = [ path: "/enterpriseManager", component: enterpriseManager } - - ] } ] diff --git a/src/views/About.vue b/src/views/About.vue deleted file mode 100644 index 3fa28070de24f2055171ca2e20543881cb7fdf1c..0000000000000000000000000000000000000000 --- a/src/views/About.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/Home.vue b/src/views/Home.vue deleted file mode 100644 index 8bd6c57f306571c13dab5ce8ee5dab0d3e03eeeb..0000000000000000000000000000000000000000 --- a/src/views/Home.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/views/backstage.vue b/src/views/backstage.vue index ab0f6221d9fc2cf8f8f166e911f020a4c03609f9..d9e161fa0affb2419751264b1e7b7087407109b8 100644 --- a/src/views/backstage.vue +++ b/src/views/backstage.vue @@ -4,7 +4,7 @@ -