zhengkaixin 4 rokov pred
rodič
commit
2a64fb12f8

+ 66 - 7
src/router/index.js

@@ -25,12 +25,26 @@ const routesIndex = [
 			},
 		]
 	},
+	
 	//咨询
 	{
 		path: '/quiz',
 		component: () => import('../views/Layout.vue'),
 		children: [
-			//咨询表单
+			
+			//举报
+			{
+				path: 'report',
+				name: 'QuizSubmitReport',
+				component: () => import('../views/quiz/SubmitReport.vue'),
+				meta: {
+					requireAuth: false,
+					role: [],
+					title: '举报',
+					mode: false
+				}
+			},
+			//我要咨询
 			{
 				path: '',
 				name: 'QuizSubmit',
@@ -38,11 +52,11 @@ const routesIndex = [
 				meta: {
 					requireAuth: false,
 					role: [],
-					title: '咨询表单',
+					title: '我要咨询',
 					mode: false
 				}
 			},
-			//我的提问(列表)
+			//我的咨询记录(列表)
 			{
 				path: 'my',
 				name: 'QuizMy',
@@ -50,11 +64,11 @@ const routesIndex = [
 				meta: {
 					requireAuth: false,
 					role: [],
-					title: '我的提问',
+					title: '我的咨询记录',
 					form: false
 				}
 			},
-			//我的提问详情
+			//我的咨询记录 -  详情
 			{
 				path: 'info',
 				name: 'QuizInfo',
@@ -68,7 +82,52 @@ const routesIndex = [
 			},
 		],
 	},
-	//搜索
+	//回复
+	{
+		path: '/reply',
+		component: () => import('../views/Layout.vue'),
+		children: [
+			 
+			 
+			//诉求记录(列表)
+			{
+				path: '',
+				name: 'ReplyList',
+				component: () => import('@/views/reply/List.vue'),
+				meta: {
+					requireAuth: false,
+					role: [],
+					title: '我的咨询记录',
+					form: false
+				}
+			},
+			//填写回复内容
+			{
+				path: 'submit',
+				name: 'ReplySubmit',
+				component: () => import('@/views/reply/Submit.vue'),
+				meta: {
+					requireAuth: false,
+					role: [],
+					title: '填写回复内容',
+					form: false
+				}
+			},
+			//已回复详情
+			{
+				path: 'info',
+				name: 'ReplyInfo',
+				component: () => import('@/views/reply/Info.vue'),
+				meta: {
+					requireAuth: false,
+					role: [],
+					title: '我的提问详情',
+					form: false
+				}
+			},
+		],
+	},
+	//案例详情
 	{
 		path: '/case',
 		component: () => import('../views/Layout.vue'),
@@ -76,7 +135,7 @@ const routesIndex = [
 			//案例详情
 			{
 				path: '',
-				name: 'info',
+				name: 'CaseInfo',
 				component: () => import('@/views/case/Info.vue'),
 				meta: {
 					requireAuth: false,

+ 8 - 0
src/views/quiz/SubmitReport.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/reply/Info.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/reply/List.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 8 - 0
src/views/reply/Submit.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>