diff --git a/public/static/ueditor/ueditor.all.js b/public/static/ueditor/ueditor.all.js
index 76e1058..c41be19 100644
--- a/public/static/ueditor/ueditor.all.js
+++ b/public/static/ueditor/ueditor.all.js
@@ -1 +1 @@
-!function(){UEDITOR_CONFIG=window.UEDITOR_CONFIG||{};var baidu=window.baidu||{};window.baidu=baidu,window.UE=baidu.editor=window.UE||{},UE.plugins={},UE.commands={},UE.instants={},UE.I18N={},UE._customizeUI={},UE.version="1.4.3",UE.promptAlert=function(){},UE.showFormulaDialogue=function(){};var dom=UE.dom={},dom_key="Q29weXJpZ2h0IOatpuaxieaAnee7tOi3s+i3g+enkeaKgOaciemZkOWFrOWPuCDniYjmnYPmiYDmnIk=",browser=UE.browser=function(){var e=navigator.userAgent.toLowerCase(),t=window.opera,i={ie:/(msie\s|trident.*rv:)([\w.]+)/.test(e),opera:!!t&&t.version,webkit:-1'](?:(amp|lt|quot|gt|#39|nbsp|#\d+);)?/g,function(e,t){return t?e:{"<":"<","&":"&",'"':""",">":">","'":"'"}[e]}):""},unhtmlForUrl:function(e,t){return e?e.replace(t||/[<">']/g,function(e){return{"<":"<","&":"&",'"':""",">":">","'":"'"}[e]}):""},html:function(e){return e?e.replace(/&((g|l|quo)t|amp|#39|nbsp);/g,function(e){return{"<":"<","&":"&",""":'"',">":">","'":"'"," ":" "}[e]}):""},cssStyleToDomStyle:(ia=document.createElement("div").style,ja={float:null!=ia.cssFloat?"cssFloat":null!=ia.styleFloat?"styleFloat":"float"},function(e){return ja[e]||(ja[e]=e.toLowerCase().replace(/-./g,function(e){return e.charAt(1).toUpperCase()}))}),loadFile:(ma=[],function(t,i,e){var n=na(t,i);if(n)n.ready?e&&e():n.funs.push(e);else if(ma.push({doc:t,url:i.src||i.href,funs:[e]}),t.body){if(!i.id||!t.getElementById(i.id)){var o=t.createElement(i.tag);for(var r in delete i.tag,i)o.setAttribute(r,i[r]);o.onload=o.onreadystatechange=function(){if(!this.readyState||/loaded|complete/.test(this.readyState)){if(0<(n=na(t,i)).funs.length){n.ready=1;for(var e;e=n.funs.pop();)e()}o.onload=o.onreadystatechange=null}},o.onerror=function(){throw Error("The load "+(i.href||i.src)+" fails,check the url settings of file ueditor.config.js ")},t.getElementsByTagName("head")[0].appendChild(o)}}else{var a=[];for(var r in i)"tag"!=r&&a.push(r+'="'+i[r]+'"');t.write("<"+i.tag+" "+a.join(" ")+" >"+i.tag+">")}}),isEmptyObject:function(e){if(null==e)return!0;if(this.isArray(e)||this.isString(e))return 0===e.length;for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},fixColor:function(e,t){if(/color/i.test(e)&&/rgba?/.test(t)){var i=t.split(",");if(3/.test(e.outerHTML):0==e.attributes.length},isCustomeNode:function(e){return 1==e.nodeType&&e.getAttribute("_ue_custom_node_")},isTagNode:function(e,t){return 1==e.nodeType&&new RegExp("\\b"+e.tagName+"\\b","i").test(t)},filterNodeList:function(e,t,i){var n=[];if(!utils.isFunction(t)){var o=t;t=function(e){return-1!=utils.indexOf(utils.isArray(o)?o:o.split(" "),e.tagName.toLowerCase())}}return utils.each(e,function(e){t(e)&&n.push(e)}),0==n.length?null:1!=n.length&&i?n:n[0]},isInNodeEndBoundary:function(e,t){var i=e.startContainer;if(3==i.nodeType&&e.startOffset!=i.nodeValue.length)return 0;if(1==i.nodeType&&e.startOffset!=i.childNodes.length)return 0;for(;i!==t;){if(i.nextSibling)return 0;i=i.parentNode}return 1},isBoundaryNode:function(e,t){for(;!domUtils.isBody(e);)if(e!==(e=e.parentNode)[t])return!1;return!0},fillHtml:browser.ie11below?" ":"
"},fillCharReg=new RegExp(domUtils.fillChar,"g"),si,qi,ri,xi;function ui(e){return!e.collapsed&&1==e.startContainer.nodeType&&e.startContainer===e.endContainer&&e.endOffset-e.startOffset==1}function vi(e,t,i,n){var o;return 1==t.nodeType&&(dtd.$empty[t.tagName]||dtd.$nonChild[t.tagName])&&(i=domUtils.getNodeIndex(t)+(e?0:1),t=t.parentNode),e?(n.startContainer=t,n.startOffset=i,n.endContainer||n.collapse(!0)):(n.endContainer=t,n.endOffset=i,n.startContainer||n.collapse(!1)),(o=n).collapsed=o.startContainer&&o.endContainer&&o.startContainer===o.endContainer&&o.startOffset==o.endOffset,n}function wi(e,t){var i,n,o=e.startContainer,r=e.endContainer,a=e.startOffset,s=e.endOffset,l=e.document,d=l.createDocumentFragment();if(1==o.nodeType&&(o=o.childNodes[a]||(i=o.appendChild(l.createTextNode("")))),1==r.nodeType&&(r=r.childNodes[s]||(n=r.appendChild(l.createTextNode("")))),o===r&&3==o.nodeType)return d.appendChild(l.createTextNode(o.substringData(a,s-a))),t&&(o.deleteData(a,s-a),e.collapse(!0)),d;for(var c,u,m=d,f=domUtils.findParents(o,!0),h=domUtils.findParents(r,!0),p=0;f[p]==h[p];)p++;for(var g,b=p;g=f[b];b++){for(c=g.nextSibling,g==o?i||(3==e.startContainer.nodeType?(m.appendChild(l.createTextNode(o.nodeValue.slice(a))),t&&o.deleteData(a,o.nodeValue.length-a)):m.appendChild(t?o:o.cloneNode(!0))):(u=g.cloneNode(!1),m.appendChild(u));c&&c!==r&&c!==h[b];)g=c.nextSibling,m.appendChild(t?c:c.cloneNode(!0)),c=g;m=u}m=d,f[p]||(m.appendChild(f[p-1].cloneNode(!1)),m=m.firstChild);var v;for(b=p;v=h[b];b++){if(c=v.previousSibling,v==r?n||3!=e.endContainer.nodeType||(m.appendChild(l.createTextNode(r.substringData(0,s))),t&&r.deleteData(0,s)):(u=v.cloneNode(!1),m.appendChild(u)),b!=p||!f[p])for(;c&&c!==o;)v=c.previousSibling,m.insertBefore(t?c:c.cloneNode(!0),m.firstChild),c=v;m=u}return t&&e.setStartBefore(h[p]?f[p]?h[p]:f[p-1]:h[p-1]).collapse(!0),i&&domUtils.remove(i),n&&domUtils.remove(n),d}function yi(e,t){try{if(si&&domUtils.inDoc(si,e))if(si.nodeValue.replace(fillCharReg,"").length)si.nodeValue=si.nodeValue.replace(fillCharReg,"");else{var i=si.parentNode;for(domUtils.remove(si);i&&domUtils.isEmptyInlineElement(i)&&(browser.safari?!(domUtils.getPosition(i,t)&domUtils.POSITION_CONTAINS):!i.contains(t));)si=i.parentNode,domUtils.remove(i),i=si}}catch(e){}}function zi(e,t){var i;for(e=e[t];e&&domUtils.isFillChar(e);)i=e[t],domUtils.remove(e),e=i}function im(e,t){var i=domUtils.getNodeIndex;(e=e.duplicate()).collapse(t);var n=e.parentElement();if(!n.hasChildNodes())return{container:n,offset:0};for(var o,r,a=n.children,s=e.duplicate(),l=0,d=a.length-1,c=-1;l<=d;){o=a[c=Math.floor((l+d)/2)],s.moveToElementText(o);var u=s.compareEndPoints("StartToStart",e);if(0=t.nodeValue.length)this.setStartAfter(t);else{var r=domUtils.split(t,i);t===o?this.setEnd(r,this.endOffset-i):t.parentNode===o&&(this.endOffset+=1),this.setStartBefore(r)}if(n)return this.collapse(!0)}return e||(i=this.endOffset,3==(o=this.endContainer).nodeType&&(0==i?this.setEndBefore(o):(i=i.nodeValue.length&&e["set"+t.replace(/(\w)/,function(e){return e.toUpperCase()})+"After"](i):e["set"+t.replace(/(\w)/,function(e){return e.toUpperCase()})+"Before"](i))}return!e&&this.collapsed||(t(this,"start"),t(this,"end")),this},insertNode:function(e){var t=e,i=1;11==e.nodeType&&(t=e.firstChild,i=e.childNodes.length),this.trimBoundary(!0);var n=this.startContainer,o=this.startOffset,r=n.childNodes[o];return r?n.insertBefore(e,r):n.appendChild(e),t.parentNode===this.endContainer&&(this.endOffset=this.endOffset+i),this.setStartBefore(t)},setCursor:function(e,t){return this.collapse(!e).select(t)},createBookmark:function(e,t){var i,n=this.document.createElement("span");return n.style.cssText="display:none;line-height:0px;",n.appendChild(this.document.createTextNode("")),n.id="_baidu_bookmark_start_"+(t?"":qi++),this.collapsed||((i=n.cloneNode(!0)).id="_baidu_bookmark_end_"+(t?"":qi++)),this.insertNode(n),i&&this.collapse().insertNode(i).setEndBefore(i),this.setStartAfter(n),{start:e?n.id:n,end:i?e?i.id:i:null,id:e}},moveToBookmark:function(e){var t=e.id?this.document.getElementById(e.start):e.start,i=e.end&&e.id?this.document.getElementById(e.end):e.end;return this.setStartBefore(t),domUtils.remove(t),i?(this.setEndBefore(i),domUtils.remove(i)):this.collapse(!0),this},enlarge:function(e,t){var i,n,o=domUtils.isBody,r=this.document.createTextNode("");if(e){for(i=1==(n=this.startContainer).nodeType?n=n.childNodes[this.startOffset]?n.childNodes[this.startOffset]:(n.appendChild(r),r):n;;){if(domUtils.isBlockElm(n)){for(n=i;(i=n.previousSibling)&&!domUtils.isBlockElm(i);)n=i;this.setStartBefore(n);break}n=(i=n).parentNode}for(i=1==(n=this.endContainer).nodeType?((i=n.childNodes[this.endOffset])?n.insertBefore(r,i):n.appendChild(r),n=r):n;;){if(domUtils.isBlockElm(n)){for(n=i;(i=n.nextSibling)&&!domUtils.isBlockElm(i);)n=i;this.setEndAfter(n);break}n=(i=n).parentNode}r.parentNode===this.endContainer&&this.endOffset--,domUtils.remove(r)}if(!this.collapsed){for(;!(0!=this.startOffset||t&&t(this.startContainer)||o(this.startContainer));)this.setStartBefore(this.startContainer);for(;!(this.endOffset!=(1==this.endContainer.nodeType?this.endContainer.childNodes.length:this.endContainer.nodeValue.length)||t&&t(this.endContainer)||o(this.endContainer));)this.setEndAfter(this.endContainer)}return this},enlargeToBlockElm:function(e){for(;!domUtils.isBlockElm(this.startContainer);)this.setStartBefore(this.startContainer);if(!e)for(;!domUtils.isBlockElm(this.endContainer);)this.setEndAfter(this.endContainer);return this},adjustmentBoundary:function(){if(!this.collapsed){for(;!domUtils.isBody(this.startContainer)&&this.startOffset==this.startContainer[3==this.startContainer.nodeType?"nodeValue":"childNodes"].length&&this.startContainer[3==this.startContainer.nodeType?"nodeValue":"childNodes"].length;)this.setStartAfter(this.startContainer);for(;!domUtils.isBody(this.endContainer)&&!this.endOffset&&this.endContainer[3==this.endContainer.nodeType?"nodeValue":"childNodes"].length;)this.setEndBefore(this.endContainer)}return this},applyInlineStyle:function(t,e,i){if(this.collapsed)return this;this.trimBoundary().enlarge(!1,function(e){return 1==e.nodeType&&domUtils.isBlockElm(e)}).adjustmentBoundary();function n(e){return 1==e.nodeType?"br"!=e.tagName.toLowerCase():!domUtils.isWhitespace(e)}for(var o,r,a=this.createBookmark(),s=a.end,l=domUtils.getNextDomNode(a.start,!1,n),d=this.cloneRange();l&&domUtils.getPosition(l,s)&domUtils.POSITION_PRECEDING;)if(3==l.nodeType||dtd[t][l.tagName]){for(d.setStartBefore(l),o=l;o&&(3==o.nodeType||dtd[t][o.tagName])&&o!==s;)r=o,o=domUtils.getNextDomNode(o,1==o.nodeType,null,function(e){return dtd[t][e.tagName]});var c,u,m=d.setEndAfter(r).extractContents();if(i&&0'+(ie?"":"
")+"
",e.removeListener("firstBeforeExecCommand focus",Np),setTimeout(function(){e.focus(),e._selectionChange()},0))}Editor.prototype={registerCommand:function(e,t){this.commands[e]=t},ready:function(e){e&&(this.isReady?e.apply(this):this.addListener("ready",e))},setOpt:function(e,t){var i={};utils.isString(e)?i[e]=t:i=e,utils.extend(this.options,i,!0)},getOpt:function(e){return this.options[e]},destroy:function(){var e=this;e.fireEvent("destroy");var t=e.container.parentNode,i=e.textarea;i?i.style.display="":(i=document.createElement("textarea"),t.parentNode.insertBefore(i,t)),i.style.width=e.iframe.offsetWidth+"px",i.style.height=e.iframe.offsetHeight+"px",i.value=e.getContent(),i.id=e.key,t.innerHTML="",domUtils.remove(t);var n=e.key;for(var o in e)e.hasOwnProperty(o)&&delete this[o];UE.delEditor(n)},render:function(t){function e(e){return parseInt(domUtils.getComputedStyle(t,e))}var i=this.options;if(utils.isString(t)&&(t=document.getElementById(t)),t){i.initialFrameWidth?i.minFrameWidth=i.initialFrameWidth:i.minFrameWidth=i.initialFrameWidth=t.offsetWidth,i.initialFrameHeight?i.minFrameHeight=i.initialFrameHeight:i.initialFrameHeight=i.minFrameHeight=t.offsetHeight,t.style.width=/%$/.test(i.initialFrameWidth)?"100%":i.initialFrameWidth-e("padding-left")-e("padding-right")+"px",t.style.height=/%$/.test(i.initialFrameHeight)?"100%":i.initialFrameHeight-e("padding-top")-e("padding-bottom")+"px",t.style.zIndex=i.zIndex;var n=(ie&&browser.version<9?"":"")+""+(i.iframeCssUrl?"":"")+(i.initialStyle?"":"")+"
+
+
\ No newline at end of file
diff --git a/src/pages/ques/index.vue b/src/pages/ques/index.vue
index 3c54b0f..f93a7a4 100644
--- a/src/pages/ques/index.vue
+++ b/src/pages/ques/index.vue
@@ -19,12 +19,16 @@
知识点框架
设置
-
+
+ :expand-on-click-node="false" @node-click="handleNodeClick" :props="{ label: 'name', isLeaf: 'leaf' }">
+
+
+ {{ data.name }}
+
+
@@ -264,6 +268,7 @@ export default {
typeId: this.$route.query.id,
loading: false,
createSource: 1,
+ keyword: '',
radio: '',
type: 1,
types: [],
@@ -339,25 +344,30 @@ export default {
};
},
watch: {
+ keyword: function (val) {
+ clearTimeout(this.searchTimer);
+ this.searchTimer = setTimeout(this.getType, 500);
+ },
keyWord: function (val) {
clearTimeout(this.searchTimer);
this.searchTimer = setTimeout(this.initData, 500);
}
},
mounted () {
- // this.getType()
+ this.getType()
},
methods: {
// 获取知识点
async getType () {
try {
this.loading = true
- const { data } = await this.$post(this.api.getAllKnowledgePointsCategories, {
+ const { data } = await this.$post(this.api.TreeStructure, {
createSource: 1,
- questionCategoryId: this.typeId,
+ questionBankId: this.typeId,
+ keyword: this.keyword,
})
this.types = data
- this.getList()
+ // this.getList()
} finally {
this.loading = false
}
diff --git a/src/pages/quesBank/index.vue b/src/pages/quesBank/index.vue
index 6811208..3d37200 100644
--- a/src/pages/quesBank/index.vue
+++ b/src/pages/quesBank/index.vue
@@ -30,7 +30,7 @@
-
-
+
@@ -172,7 +172,7 @@ export default {
})
this.handleList(data)
this.types = data
- this.getList()
+ this.initData()
} finally {
this.loading = false
}
diff --git a/src/pages/testPaper/detail/index.vue b/src/pages/testPaper/detail/index.vue
new file mode 100644
index 0000000..835acbd
--- /dev/null
+++ b/src/pages/testPaper/detail/index.vue
@@ -0,0 +1,332 @@
+
+
+
+
试卷
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 分钟
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
默认模板
+
目标总题数:30;目标总分:100
+
选择大纲模板
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存草稿
+ 发布
+ 预览
+ 取消
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/testPaper/detail/template.vue b/src/pages/testPaper/detail/template.vue
new file mode 100644
index 0000000..c47766c
--- /dev/null
+++ b/src/pages/testPaper/detail/template.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 使用模板
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 使用模板
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/testPaper/list/index.vue b/src/pages/testPaper/list/index.vue
new file mode 100644
index 0000000..da845f9
--- /dev/null
+++ b/src/pages/testPaper/list/index.vue
@@ -0,0 +1,498 @@
+
+
+
+
+
+
+
+
+ 所有试卷
+
+
+ 未加入分类的试卷
+
+
+
+
+
+
+
试卷分类
+ 添加
+
+
+
+
+
+ {{ data.classificationName }}
+
+ addType(data)">
+
+ editType(data)">
+
+ delType(node, data)">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
筛选
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 复制
+ 预览
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
确认要删除【{{ curName }}】吗?
+
删除后,其子级分类也将被删除。
+
同时删除此分类及其子分类的试卷,删除后数据无法恢复,请谨慎操作!
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/testPaperLibrary/index.vue b/src/pages/testPaperLibrary/index.vue
new file mode 100644
index 0000000..bb46f44
--- /dev/null
+++ b/src/pages/testPaperLibrary/index.vue
@@ -0,0 +1,363 @@
+
+
+
+
+
试卷库分类
+
+
+ 所有试卷库
+
+
+ 未加入分类的试卷库
+
+
+
+
+
+
+
+
+
筛选
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 试题管理
+ 编辑
+ 复制
+ 删除
+
+
+
+
+
+
+
+ 您将复制当前试卷库中的所有题目到新试卷库,请输入新试卷库名称
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/testPaperLibraryType/index.vue b/src/pages/testPaperLibraryType/index.vue
new file mode 100644
index 0000000..5ebe6d0
--- /dev/null
+++ b/src/pages/testPaperLibraryType/index.vue
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增下级
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
确认要删除【{{ curName }}】吗?
+
删除后,此试卷库分类及其子分类将被删除,已关联的试卷库将无分类
+
同时删除此试卷库分类及其子分类的试卷库,删除后数据无法恢复,请谨慎操作!
+
+
+
+
+
+
+
+
+
+
diff --git a/src/plugins/requests/index.js b/src/plugins/requests/index.js
index 4882b52..521c0f1 100644
--- a/src/plugins/requests/index.js
+++ b/src/plugins/requests/index.js
@@ -36,14 +36,14 @@ service.interceptors.response.use(
} else if (res.code === 401) {
// 账号互踢
if (!logouted) {
- // Util.local.remove(Setting.storeKey)
- // Util.local.remove(Setting.tokenKey)
- // Util.errorMsg(res.msg.includes('顶') ? '您的账号已在其他设备登录,您已被迫下线!' : '登录过期,请重新登录!')
- // setTimeout(() => {
- // store.dispatch('user/logout')
- logouted = 0
- // }, 5000)
- // logouted = 1
+ Util.local.remove(Setting.storeKey)
+ Util.local.remove(Setting.tokenKey)
+ Util.errorMsg(res.msg.includes('顶') ? '您的账号已在其他设备登录,您已被迫下线!' : '登录过期,请重新登录!')
+ setTimeout(() => {
+ // store.dispatch('user/logout')
+ logouted = 0
+ }, 5000)
+ logouted = 1
}
} else if (!res.status) {
return Promise.resolve(res).catch(e => { });
diff --git a/src/router/modules/knowledge.js b/src/router/modules/knowledge.js
new file mode 100644
index 0000000..c4a0847
--- /dev/null
+++ b/src/router/modules/knowledge.js
@@ -0,0 +1,16 @@
+import BasicLayout from '@/layouts/home'
+
+const meta = {}
+
+export default {
+ path: '/knowledge',
+ meta,
+ component: BasicLayout,
+ children: [
+ {
+ path: '/knowledge',
+ component: () => import('@/pages/knowledge/index.vue'),
+ meta: { title: '知识点' }
+ },
+ ]
+};
diff --git a/src/router/modules/ques.js b/src/router/modules/ques.js
index d9e6773..beeecf3 100644
--- a/src/router/modules/ques.js
+++ b/src/router/modules/ques.js
@@ -9,7 +9,7 @@ export default {
children: [
{
path: '/ques',
- component: () => import('@/pages/ques/index.vue'),
+ component: () => import('@/pages/ques'),
meta: { title: '试题管理' }
},
]
diff --git a/src/router/modules/quesBank.js b/src/router/modules/quesBank.js
index a388b21..37be830 100644
--- a/src/router/modules/quesBank.js
+++ b/src/router/modules/quesBank.js
@@ -9,7 +9,7 @@ export default {
children: [
{
path: '/quesBank',
- component: () => import('@/pages/quesBank/index.vue'),
+ component: () => import('@/pages/quesBank'),
meta: { title: '题库管理' }
},
]
diff --git a/src/router/modules/quesBankType.js b/src/router/modules/quesBankType.js
index fc1f8a0..42fbf9b 100644
--- a/src/router/modules/quesBankType.js
+++ b/src/router/modules/quesBankType.js
@@ -9,7 +9,7 @@ export default {
children: [
{
path: '/quesBankType',
- component: () => import('@/pages/quesBankType/index.vue'),
+ component: () => import('@/pages/quesBankType'),
meta: { title: '题库分类' }
},
]
diff --git a/src/router/modules/testPaper.js b/src/router/modules/testPaper.js
new file mode 100644
index 0000000..bb0f021
--- /dev/null
+++ b/src/router/modules/testPaper.js
@@ -0,0 +1,24 @@
+import BasicLayout from '@/layouts/home'
+
+const meta = {}
+
+export default {
+ path: '/testPaper',
+ redirect: {
+ path: `/testPaper/list`
+ },
+ meta,
+ component: BasicLayout,
+ children: [
+ {
+ path: 'list',
+ component: () => import('@/pages/testPaper/list'),
+ meta: { title: '试卷管理' }
+ },
+ {
+ path: 'detail',
+ component: () => import('@/pages/testPaper/detail'),
+ meta: { title: '试卷管理' }
+ },
+ ]
+};
diff --git a/src/router/modules/testPaperLibrary.js b/src/router/modules/testPaperLibrary.js
new file mode 100644
index 0000000..4b871c3
--- /dev/null
+++ b/src/router/modules/testPaperLibrary.js
@@ -0,0 +1,16 @@
+import BasicLayout from '@/layouts/home'
+
+const meta = {}
+
+export default {
+ path: '/testPaperLibrary',
+ meta,
+ component: BasicLayout,
+ children: [
+ {
+ path: '/testPaperLibrary',
+ component: () => import('@/pages/testPaperLibrary'),
+ meta: { title: '试卷库分类' }
+ },
+ ]
+};
diff --git a/src/router/modules/testPaperLibraryType.js b/src/router/modules/testPaperLibraryType.js
new file mode 100644
index 0000000..41cbf1b
--- /dev/null
+++ b/src/router/modules/testPaperLibraryType.js
@@ -0,0 +1,16 @@
+import BasicLayout from '@/layouts/home'
+
+const meta = {}
+
+export default {
+ path: '/testPaperLibraryType',
+ meta,
+ component: BasicLayout,
+ children: [
+ {
+ path: '/testPaperLibraryType',
+ component: () => import('@/pages/testPaperLibraryType'),
+ meta: { title: '试卷库分类' }
+ },
+ ]
+};