|
|
|
@ -3,46 +3,45 @@ import Router from 'vue-router' |
|
|
|
|
import store from "@/store"; |
|
|
|
|
// import { Message,MessageBox } from 'element-ui'
|
|
|
|
|
//自定义组件
|
|
|
|
|
import login from "../page/logpage/log/login.vue" |
|
|
|
|
import index from "../page/homepage/index.vue" |
|
|
|
|
import home from "../page/homepage/home/home.vue" |
|
|
|
|
import toolmarker from "../page/homepage/tool/toolmarker.vue" |
|
|
|
|
import tooldetails from "../page/homepage/tool/tooldetails.vue" |
|
|
|
|
import crowd from "../page/homepage/crowdsourcing/crowd.vue" |
|
|
|
|
import crowddetails from "../page/homepage/crowdsourcing/crowddetails.vue" |
|
|
|
|
import userhome from "../page/homepage/crowdsourcing/userhome.vue" |
|
|
|
|
import publishtasks from "../page/homepage/crowdsourcing/publishtasks.vue" |
|
|
|
|
import train from "../page/homepage/traininstitute/train.vue" |
|
|
|
|
import teacherSign from "../page/homepage/traininstitute/teacherSign.vue" |
|
|
|
|
import teacherDetail from "../page/homepage/traininstitute/teacherDetail.vue" |
|
|
|
|
import ability from "../page/homepage/personability/ability.vue" |
|
|
|
|
import abilityUser from "../page/homepage/personability/abilityUser.vue" |
|
|
|
|
import abilityUserD from "../page/homepage/personability/abilityUserDetail.vue" |
|
|
|
|
import abilityMore from "../page/homepage/personability/abilityMore.vue" |
|
|
|
|
import abilityMoreDetail from "../page/homepage/personability/abilityMoreDetail.vue" |
|
|
|
|
import abilityApply from "../page/homepage/personability/abilityApply.vue" |
|
|
|
|
import aboutwo from "../page/homepage/aboutus/aboutwo.vue" |
|
|
|
|
import personal from "../page/personalpage/index.vue" |
|
|
|
|
import personalcenter from "../page/personalpage/home/personalcenter.vue" |
|
|
|
|
import resume from "../page/personalpage/home/resume.vue" |
|
|
|
|
import stationmessage from "../page/personalpage/home/stationmessage.vue" |
|
|
|
|
import myorder from "../page/personalpage/testtool/myorder.vue" |
|
|
|
|
import mytask from "../page/personalpage/testmanagement/mytask.vue" |
|
|
|
|
import mytool from "../page/personalpage/testmanagement/mytool.vue" |
|
|
|
|
import myparticipate from "../page/personalpage/testcrowd/myparticipate.vue" |
|
|
|
|
import myrelease from "../page/personalpage/testcrowd/myrelease.vue" |
|
|
|
|
import edittasks from "../page/personalpage/testcrowd/edittasks.vue" |
|
|
|
|
import testKit from "../page/personalpage/testtreasure/testKit.vue" |
|
|
|
|
import demand from "../page/personalpage/demand/index.vue" |
|
|
|
|
import myreview from '../page/personalpage/myreview/index.vue' |
|
|
|
|
import myBm from '../page/personalpage/myBm/index.vue' |
|
|
|
|
import currentcrowd from "../page/personalpage/testcrowd/currentcrowd.vue" |
|
|
|
|
|
|
|
|
|
import jobM from '../page/personalpage/jobm/job.vue' |
|
|
|
|
import addJob from '../page/personalpage/jobm/addjob.vue' |
|
|
|
|
import jobUser from '../page/personalpage/jobm/jobuser.vue' |
|
|
|
|
import jobuserDetail from '../page/personalpage/jobm/userdetail.vue' |
|
|
|
|
|
|
|
|
|
import login from "@/page/logpage/log/login.vue" |
|
|
|
|
// import index from "@/page/homepage/index.vue"
|
|
|
|
|
const index = () => import("@/page/homepage/index.vue") |
|
|
|
|
const home = () => import("@/page/homepage/home/home.vue") |
|
|
|
|
const toolmarker = () => import("@/page/homepage/tool/toolmarker.vue") |
|
|
|
|
const tooldetails = () => import("@/page/homepage/tool/tooldetails.vue") |
|
|
|
|
const crowd = () => import("@/page/homepage/crowdsourcing/crowd.vue") |
|
|
|
|
const crowddetails = () => import("@/page/homepage/crowdsourcing/crowddetails.vue") |
|
|
|
|
const userhome = () => import("@/page/homepage/crowdsourcing/userhome.vue") |
|
|
|
|
const publishtasks = () => import("@/page/homepage/crowdsourcing/publishtasks.vue") |
|
|
|
|
const train = () => import("@/page/homepage/traininstitute/train.vue") |
|
|
|
|
const teacherSign = () => import("@/page/homepage/traininstitute/teacherSign.vue") |
|
|
|
|
const teacherDetail = () => import("@/page/homepage/traininstitute/teacherDetail.vue") |
|
|
|
|
const ability = () => import("@/page/homepage/personability/ability.vue") |
|
|
|
|
const abilityUser = () => import("@/page/homepage/personability/abilityUser.vue") |
|
|
|
|
const abilityUserD = () => import("@/page/homepage/personability/abilityUserDetail.vue") |
|
|
|
|
const abilityMore = () => import("@/page/homepage/personability/abilityMore.vue") |
|
|
|
|
const abilityMoreDetail = () => import("@/page/homepage/personability/abilityMoreDetail.vue") |
|
|
|
|
const abilityApply = () => import("@/page/homepage/personability/abilityApply.vue") |
|
|
|
|
const aboutwo = () => import("@/page/homepage/aboutus/aboutwo.vue") |
|
|
|
|
const personal = () => import("@/page/personalpage/index.vue") |
|
|
|
|
const personalcenter = () => import("@/page/personalpage/home/personalcenter.vue") |
|
|
|
|
const resume = () => import("@/page/personalpage/home/resume.vue") |
|
|
|
|
const stationmessage = () => import("@/page/personalpage/home/stationmessage.vue") |
|
|
|
|
const myorder = () => import("@/page/personalpage/testtool/myorder.vue") |
|
|
|
|
const mytask = () => import("@/page/personalpage/testmanagement/mytask.vue") |
|
|
|
|
const mytool = () => import("@/page/personalpage/testmanagement/mytool.vue") |
|
|
|
|
const myparticipate = () => import("@/page/personalpage/testcrowd/myparticipate.vue") |
|
|
|
|
const myrelease = () => import("@/page/personalpage/testcrowd/myrelease.vue") |
|
|
|
|
const edittasks = () => import("@/page/personalpage/testcrowd/edittasks.vue") |
|
|
|
|
const testKit = () => import("@/page/personalpage/testtreasure/testKit.vue") |
|
|
|
|
const demand = () => import("@/page/personalpage/demand/index.vue") |
|
|
|
|
const myreview = () => import('@/page/personalpage/myreview/index.vue') |
|
|
|
|
const myBm = () => import('@/page/personalpage/myBm/index.vue') |
|
|
|
|
const currentcrowd = () => import("@/page/personalpage/testcrowd/currentcrowd.vue") |
|
|
|
|
const jobM = () => import('@/page/personalpage/jobm/job.vue') |
|
|
|
|
const addJob = () => import('@/page/personalpage/jobm/addjob.vue') |
|
|
|
|
const jobUser = () => import('@/page/personalpage/jobm/jobuser.vue') |
|
|
|
|
const jobuserDetail = () => import('@/page/personalpage/jobm/userdetail.vue') |
|
|
|
|
|
|
|
|
|
Vue.use(Router) |
|
|
|
|
//为组件配置路径
|
|
|
|
|