diff --git a/src/assets/systemImg/teaching.png b/src/assets/systemImg/teaching.png
new file mode 100644
index 0000000..47fdcb9
Binary files /dev/null and b/src/assets/systemImg/teaching.png differ
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorCategory.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorCategory.vue
index 494602c..9786a7e 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorCategory.vue
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorCategory.vue
@@ -33,12 +33,17 @@
import {Tabs, Table, Pagination, Button, Modal, Input, Divider} from 'ant-design-vue';
import InterConfig from '../interConfig';
export default{
+ props: {
+ menuId: {
+ type: String
+ }
+ },
data(){
return {
loading: false,
visible: false,
showTips: false,
- operateType:1,//1 编辑 -1 删除
+ operateType: 1,//1 编辑 -1 删除
modalTitle: "新增分类",
categoryType: 5,//5 教师 6 学生
tabsData: [
@@ -82,6 +87,27 @@
}
},
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();
},
methods: {
@@ -95,7 +121,7 @@
this.visible = true;
},
handleOk: function () {
- if(this.operateType === 1){
+ if (this.operateType === 1) {
if (this.categoryName.trim() === "") {
this.showTips = true;
return;
@@ -125,10 +151,10 @@
this.visible = false;
}
})
- }else if(this.operateType === -1){
+ } else if (this.operateType === -1) {
let param = {
- category_ids:this.categoryId,
- bureau_id:this.BaseConfig.person_info_my.bureau_id,
+ category_ids: this.categoryId,
+ bureau_id: this.BaseConfig.person_info_my.bureau_id,
}
this.InterfaceConfig.callInterface([{
url: InterConfig.deleteCategory.url,
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue
index a18abc5..91c8323 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue
@@ -18,8 +18,6 @@
/>
- 查看
-
删除
@@ -228,9 +226,6 @@
this.honorId = record.honor_id;
this.visible = true;
},
- toView: function (record) {
- this.honorId = record.honor_id;
- },
cancel: function () {
this.pageType = 0;
this.getHonorList();
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/activityCategory.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/activityCategory.vue
new file mode 100644
index 0000000..baf6d41
--- /dev/null
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/activityCategory.vue
@@ -0,0 +1,16 @@
+
+
+ 活动分类
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/coursePlan.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/coursePlan.vue
new file mode 100644
index 0000000..80e6704
--- /dev/null
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/coursePlan.vue
@@ -0,0 +1,17 @@
+
+
+
+课程安排
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/scienceActivity.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/scienceActivity.vue
new file mode 100644
index 0000000..ff8aee6
--- /dev/null
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/teachingAdmin/scienceActivity.vue
@@ -0,0 +1,17 @@
+
+
+科研活动
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/screenAdaptation/pages/adminCenter/systemConfig.js b/src/views/screenAdaptation/pages/adminCenter/systemConfig.js
index 9f01b45..a6bf9df 100644
--- a/src/views/screenAdaptation/pages/adminCenter/systemConfig.js
+++ b/src/views/screenAdaptation/pages/adminCenter/systemConfig.js
@@ -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,
+ },
+ ]
}
]