洋浦学校八大中心后台管理

init
gongdi 3 years ago
parent b53cfa35f5
commit 4fead524fa

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

@ -33,6 +33,11 @@
import {Tabs, Table, Pagination, Button, Modal, Input, Divider} from 'ant-design-vue'; import {Tabs, Table, Pagination, Button, Modal, Input, Divider} from 'ant-design-vue';
import InterConfig from '../interConfig'; import InterConfig from '../interConfig';
export default{ export default{
props: {
menuId: {
type: String
}
},
data(){ data(){
return { return {
loading: false, loading: false,
@ -82,6 +87,27 @@
} }
}, },
created(){ created(){
let menuId = this.$props.menuId;
if (menuId === "honorCategory") {
this.categoryType = 5;
this.tabsData = [
{
key: 5,
tab: "教师荣誉"
}, {
key: 6,
tab: "学生荣誉"
}
]
} else if (menuId === "activityCategory") {
this.categoryType = 7;
this.tabsData = [
{
key: 7,
tab: "科研活动"
}
]
}
this.getCategoryList(); this.getCategoryList();
}, },
methods: { methods: {

@ -18,8 +18,6 @@
/> />
</div> </div>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="toView(record)"></a>
<a-divider type="vertical"/>
<a @click="toDelete(record)"></a> <a @click="toDelete(record)"></a>
</span> </span>
</a-table> </a-table>
@ -228,9 +226,6 @@
this.honorId = record.honor_id; this.honorId = record.honor_id;
this.visible = true; this.visible = true;
}, },
toView: function (record) {
this.honorId = record.honor_id;
},
cancel: function () { cancel: function () {
this.pageType = 0; this.pageType = 0;
this.getHonorList(); this.getHonorList();

@ -0,0 +1,16 @@
<template>
<div>
活动分类
</div>
</template>
<script>
export default{
data(){
return {}
}
}
</script>
<style></style>

@ -0,0 +1,17 @@
<template>
<div>
课程安排
</div>
</template>
<script>
export default{
data(){
return {}
}
}
</script>
<style></style>

@ -0,0 +1,17 @@
<template>
<div>
科研活动
</div>
</template>
<script>
export default{
data(){
return {}
}
}
</script>
<style></style>

@ -194,5 +194,35 @@ export const systemCenterConfig = [
] ]
}, },
] ]
},
{
id:"teaching",
title:'教学管理',
menus:[
{
id:"teaching-1",
title:"课程安排",
path:'/workBench/servicePlatform/coursePlan/:id/:name/:menuId',
name:'coursePlan',
component:() => import("./servicePlatform/teachingAdmin/coursePlan.vue"),
props:true,
},
{
id:"teaching-2",
title:"科研活动",
path:'/workBench/servicePlatform/scienceActivity/:id/:name/:menuId',
name:'scienceActivity',
component:() => import("./servicePlatform/teachingAdmin/scienceActivity.vue"),
props:true,
},
{
id:"teaching-3",
title:"活动分类",
path:'/workBench/servicePlatform/activityCategory/:id/:name/:menuId',
name:'activityCategory',
component:() => import("./servicePlatform/honor/honorCategory.vue"),
props:true,
},
]
} }
] ]

Loading…
Cancel
Save