diff --git a/src/api/index.ts b/src/api/index.ts index 766ccd0..2fc361f 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -50,4 +50,11 @@ export const checkapi = (params:any)=> { method: 'get', params }) +} +//获取实验目标 +export const getExperiment = ()=>{ + return request({ + url:'/experimental/xnExperimental/selectExperimental', + method:'get', + }) } \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 75b9269..b316d13 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -32,6 +32,11 @@ const routerList: any = [ name: 'SubjectTest', component: () => import('@/views/subjectTest/index.vue'), }, + { + path: '/target', // 实验目标(简介) + name: 'Target', + component: () => import('@/views/target/index.vue'), + }, { path: '/login', name: 'Login', diff --git a/src/views/target/index.vue b/src/views/target/index.vue new file mode 100644 index 0000000..2ee015d --- /dev/null +++ b/src/views/target/index.vue @@ -0,0 +1,167 @@ + + + + +