项目选择课程调整
This commit is contained in:
parent
a59e89aa0f
commit
c7db9784a2
|
@ -71,7 +71,7 @@ export default {
|
|||
menuKey: ['sys'], //默认系统课程
|
||||
|
||||
// 查询参数
|
||||
queryParam: { name: '', classType: 0 ,type: 0},
|
||||
queryParam: { name: '', classType: 1 ,type: 1},
|
||||
replaceFields: { children: 'children', title: 'name', key: 'value', value: 'id' },
|
||||
expandedKeys: [],
|
||||
autoExpandParent: true,
|
||||
|
@ -107,9 +107,9 @@ export default {
|
|||
//菜单改变,
|
||||
menuChack(){
|
||||
console.log('menuKey',this.menuKey)
|
||||
let type = 1;
|
||||
let type = 2;
|
||||
console.log('菜单改变',this.menuKey[0])
|
||||
if(this.menuKey[0] === 'self') type = 2;
|
||||
if(this.menuKey[0] === 'self') type = 1;
|
||||
this.queryParam.type = type
|
||||
this.getCourseTreeData(type);
|
||||
this.$refs.table.refresh(true);
|
||||
|
|
Loading…
Reference in New Issue