123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- import Home from "../../portal/views/home/Home.vue";
- import PaperStructure from "../views/PaperStructure.vue";
- import InsertPaperStructure from "../views/InsertPaperStructure.vue";
- import InsertPaperStructureInfo from "../views/InsertPaperStructureInfo.vue";
- import BluePaperStructure from "../views/BluePaperStructure.vue";
- import InsertBluePaperStructure from "../views/InsertBluePaperStructure.vue";
- import InsertBluePaperStructureInfo from "../views/InsertBluePaperStructureInfo.vue";
- import CourseProperty from "../views/CourseProperty.vue";
- import PropertyInfo from "../views/PropertyInfo.vue";
- import ImportPaper from "../views/ImportPaper.vue";
- import GenPaper from "../views/GenPaper.vue";
- import ImportPaperInfo from "../views/ImportPaperInfo.vue";
- import GenPaperDetail from "../views/GenPaperDetail.vue";
- import Question from "../views/Question.vue";
- import EditSelectQuestion from "../views/EditSelectQuestion.vue";
- import EditOtherQuestion from "../views/EditOtherQuestion.vue";
- import InsertPaperTitle from "../views/InsertPaperTitle.vue";
- import EditPaper from "../views/EditPaper.vue";
- import PreviewPaper from "../views/PreviewPaper.vue";
- import SelectQuestion from "../views/SelectQuestion.vue";
- import Tips from "../../portal/views/tips/Tips.vue";
- import ExportTemplate from "../views/ExportTemplate.vue";
- import School from "../views/School.vue";
- import Course from "../views/Course.vue";
- import user from "../views/user.vue";
- import data_previllege from "../views/data_previllege.vue";
- import PaperStorage from "../views/PaperStorage.vue";
- import ViewPaper from "../views/ViewPaper.vue";
- import OrgProperty from "../views/OrgProperty.vue";
- import PaperPendingTrial from "../views/PaperPendingTrial.vue";
- import EditPaperPendingTrial from "../views/EditPaperPendingTrial.vue";
- import ExamPaperPendingTrial from "../views/ExamPaperPendingTrial.vue";
- import CheckDuplicateList from "../views/CheckDuplicateList.vue";
- import CheckDuplicateInfo from "../views/CheckDuplicateInfo.vue";
- import CardRoutes from "../../card/router";
- export default [
- {
- path: "/questions", //首页
- meta: { auth: false },
- component: Home,
- children: [
- {
- path: "tips", //模块说明
- component: Tips,
- },
- {
- path: "school", //学校管理
- meta: { privilegeCodes: "index_school" },
- component: School,
- },
- {
- path: "org/property",
- name: "org_property", //学校管理
- component: OrgProperty,
- },
- {
- path: "user", //用户管理
- meta: { privilegeCodes: "index_user" },
- component: user,
- },
- {
- path: "user/data_previllege/:rootOrgId/:userId", //用户管理
- meta: { privilegeCodes: "index_user" },
- component: data_previllege,
- },
- {
- path: "course", //课程管理
- meta: { privilegeCodes: "index_course" },
- component: Course,
- },
- {
- path: "paper_structure/:isClear", //精确试卷结构列表
- component: PaperStructure,
- },
- {
- path: "insert_paper_structure/:id", //精确试卷结构(新增/修改)
- component: InsertPaperStructure,
- },
- {
- path: "insert_paper_structure_info/:id/:name/:detailId/:courseNo", //精确试卷结构添加题型结构
- component: InsertPaperStructureInfo,
- },
- {
- path: "blue_paper_structure/:isClear", //蓝图试卷结构列表
- component: BluePaperStructure,
- },
- {
- path: "insert_blue_paper_structure/:id", //蓝图试卷结构(新增/修改)
- component: InsertBluePaperStructure,
- },
- {
- path: "insert_blue_paper_structure_info/:id/:paperStructId", //蓝图试卷结构添加题型结构
- component: InsertBluePaperStructureInfo,
- },
- {
- path: "course_property/:isClear", //课程属性列表
- component: CourseProperty,
- },
- {
- path: "property_info/:id", //课程属性
- component: PropertyInfo,
- },
- {
- path: "import_paper/:isClear", //题库试卷列表
- component: ImportPaper,
- },
- {
- path: "paper_pending_trial/:isClear", //题库待审列表
- component: PaperPendingTrial,
- },
- {
- path: "exam_paper_pending_trial/:isClear", //题库待审列表
- component: ExamPaperPendingTrial,
- },
- {
- path: "gen_paper/:isClear", //卷库试卷列表
- component: GenPaper,
- },
- {
- path: "import_paper_info", //导入试卷页面
- component: ImportPaperInfo,
- },
- {
- path: "gen_paper_detail", //组卷页面
- name: "gen_paper_detail", //组卷页面
- component: GenPaperDetail,
- },
- {
- path: "export_template", //导出模板设定
- component: ExportTemplate,
- },
- {
- path: "question_list/:isClear", //试题列表
- component: Question,
- },
- {
- path: "check_duplicate_list/:isClear", //题库查重
- component: CheckDuplicateList,
- },
- {
- path: "check_duplicate_info", //题库查重审核
- name: "check_duplicate_info",
- component: CheckDuplicateInfo,
- },
- {
- path: "edit_select_question/:id", //编辑选择题(单选、多选)
- component: EditSelectQuestion,
- },
- {
- path: "edit_other_question/:id", //编辑其他题(填空、问答)
- component: EditOtherQuestion,
- },
- {
- path: "insert_paper_title", //添加试卷
- component: InsertPaperTitle,
- },
- {
- path: "edit_other_question/:paperId/:paperDetailId/:questionType/:courseNo/:courseName",
- component: EditOtherQuestion,
- },
- {
- path: "edit_select_question/:paperId/:paperDetailId/:questionType/:courseNo/:courseName",
- component: EditSelectQuestion,
- },
- {
- path: "paper_storage/:isClear",
- component: PaperStorage,
- },
- ...CardRoutes,
- ],
- },
- {
- path: "/edit_paper/:id/:parentView", //试卷编辑
- component: EditPaper,
- },
- {
- path: "/edit_paper_pending_trial/:id/:parentView", //试卷编辑
- component: EditPaperPendingTrial,
- },
- {
- path: "/select_question/:id/:courseNo/:courseName/:paperDetailId/:parentView", //试卷选题
- component: SelectQuestion,
- },
- {
- path: "/preview_paper/:paperId", //预览试卷
- component: PreviewPaper,
- },
- {
- path: "/view_paper/:id", //试卷查看
- component: ViewPaper,
- },
- ];
|