|
@@ -134,6 +134,7 @@
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ isQingYangArea:false,
|
|
version: "",
|
|
version: "",
|
|
edition: "",
|
|
edition: "",
|
|
updateModal: false,
|
|
updateModal: false,
|
|
@@ -387,7 +388,7 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
menuClick(menu) {
|
|
menuClick(menu) {
|
|
- console.error(menu)
|
|
|
|
|
|
+ console.error(menu);
|
|
if (menu.router == "#") {
|
|
if (menu.router == "#") {
|
|
if (menu.to === "privSokrate") {
|
|
if (menu.to === "privSokrate") {
|
|
this.toPrivSokrate();
|
|
this.toPrivSokrate();
|
|
@@ -424,7 +425,7 @@
|
|
return ["collapse-icon", this.isCollapsed ? "rotate-icon" : ""];
|
|
return ["collapse-icon", this.isCollapsed ? "rotate-icon" : ""];
|
|
},
|
|
},
|
|
// isDev(){
|
|
// isDev(){
|
|
- // return
|
|
|
|
|
|
+ // return
|
|
// },
|
|
// },
|
|
schoolStatusInfo() {
|
|
schoolStatusInfo() {
|
|
if (this.isCollapsed) {
|
|
if (this.isCollapsed) {
|
|
@@ -455,8 +456,8 @@
|
|
isGlobalSite() {
|
|
isGlobalSite() {
|
|
return this.$store.state.config.srvAdr !== "China";
|
|
return this.$store.state.config.srvAdr !== "China";
|
|
},
|
|
},
|
|
- isQingYangArea() {
|
|
|
|
- return sessionStorage.getItem("areaId") && sessionStorage.getItem("areaId") === "7a51072f-b329-4e74-99e0-ba0407ba8926";
|
|
|
|
|
|
+ curPeriod(){
|
|
|
|
+ return this.$store.state.user.curPeriod
|
|
},
|
|
},
|
|
/* 是否开启课堂记录管理开关 */
|
|
/* 是否开启课堂记录管理开关 */
|
|
isOpenLessonRecord() {
|
|
isOpenLessonRecord() {
|
|
@@ -719,42 +720,17 @@
|
|
? isZhiYinVersion
|
|
? isZhiYinVersion
|
|
? this.zySchoolMenu
|
|
? this.zySchoolMenu
|
|
: [
|
|
: [
|
|
- //iot (10.20 应台湾要求 调整 顺序 1.iot 2.教学看板)
|
|
|
|
- // {
|
|
|
|
- // icon: "iconfont icon-wulianwang",
|
|
|
|
- // name: this.$t("system.menu.iotBoard"),
|
|
|
|
- // router: "/schooliot",
|
|
|
|
- // tag: "",
|
|
|
|
- // role: "admin",
|
|
|
|
- // permission: "dashboard-read",
|
|
|
|
- // menuName: "TeacherDashboard",
|
|
|
|
- // child: [],
|
|
|
|
- // //isShow: this.isGlobalSite
|
|
|
|
- // isShow:true,
|
|
|
|
- // },
|
|
|
|
- // 教学看板(国际站单独)
|
|
|
|
- // {
|
|
|
|
- // icon: "iconfont icon-data-count",
|
|
|
|
- // name: this.$t("system.menu.techDash"),
|
|
|
|
- // router: "/researchDashboard",
|
|
|
|
- // tag: "",
|
|
|
|
- // role: "admin",
|
|
|
|
- // permission: "dashboard-read",
|
|
|
|
- // menuName: "TeacherDashboard",
|
|
|
|
- // child: [],
|
|
|
|
- // isShow: this.isGlobalSite,
|
|
|
|
- // },
|
|
|
|
// 数据中心
|
|
// 数据中心
|
|
{
|
|
{
|
|
icon: "iconfont icon-data-count",
|
|
icon: "iconfont icon-data-count",
|
|
- name: this.$t('researchCenter.dashboard.dashCenter'),
|
|
|
|
|
|
+ name: this.$t("researchCenter.dashboard.dashCenter"),
|
|
router: "/dashCenter",
|
|
router: "/dashCenter",
|
|
tag: "",
|
|
tag: "",
|
|
role: "admin",
|
|
role: "admin",
|
|
permission: "dashboard-read",
|
|
permission: "dashboard-read",
|
|
menuName: "dashCenter",
|
|
menuName: "dashCenter",
|
|
child: [],
|
|
child: [],
|
|
- isShow: this.IES5Menu,
|
|
|
|
|
|
+ isShow: this.IES5Menu
|
|
},
|
|
},
|
|
// 学校管理
|
|
// 学校管理
|
|
{
|
|
{
|
|
@@ -1164,7 +1140,7 @@
|
|
isShow: false,
|
|
isShow: false,
|
|
child: [
|
|
child: [
|
|
// 校园风采
|
|
// 校园风采
|
|
-
|
|
|
|
|
|
+
|
|
{
|
|
{
|
|
icon: "iconfont icon-basic-setting",
|
|
icon: "iconfont icon-basic-setting",
|
|
name: this.$t("system.menu.judgeSettings"),
|
|
name: this.$t("system.menu.judgeSettings"),
|
|
@@ -1179,7 +1155,7 @@
|
|
},
|
|
},
|
|
{
|
|
{
|
|
icon: "iconfont icon-basic-setting",
|
|
icon: "iconfont icon-basic-setting",
|
|
- name: '评价管理',
|
|
|
|
|
|
+ name: "评价管理",
|
|
router: "/appraiseMgt",
|
|
router: "/appraiseMgt",
|
|
tag: "",
|
|
tag: "",
|
|
role: "admin",
|
|
role: "admin",
|
|
@@ -1187,7 +1163,7 @@
|
|
permission: "",
|
|
permission: "",
|
|
menuName: "appraiseMgt",
|
|
menuName: "appraiseMgt",
|
|
child: [],
|
|
child: [],
|
|
- isShow: window.location.host.includes("test.teammodel.cn") || this.$store.state.config.srvAdrType != 'product'
|
|
|
|
|
|
+ isShow: window.location.host.includes("test.teammodel.cn") || this.$store.state.config.srvAdrType != "product"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -1247,7 +1223,7 @@
|
|
router: "#",
|
|
router: "#",
|
|
to: "schoolSokrate",
|
|
to: "schoolSokrate",
|
|
tag: "",
|
|
tag: "",
|
|
- child:[],
|
|
|
|
|
|
+ child: [],
|
|
role: "admin",
|
|
role: "admin",
|
|
permission: "research-read|research-upd",
|
|
permission: "research-read|research-upd",
|
|
menuName: "schoolSokrate",
|
|
menuName: "schoolSokrate",
|
|
@@ -1280,7 +1256,7 @@
|
|
// 活动报名
|
|
// 活动报名
|
|
{
|
|
{
|
|
icon: "iconfont icon-yishu",
|
|
icon: "iconfont icon-yishu",
|
|
- name: '活动平台',
|
|
|
|
|
|
+ name: "活动平台",
|
|
router: "/home/activityManage",
|
|
router: "/home/activityManage",
|
|
tag: "",
|
|
tag: "",
|
|
role: "admin",
|
|
role: "admin",
|
|
@@ -1288,9 +1264,9 @@
|
|
child: [],
|
|
child: [],
|
|
menuName: "activityManage",
|
|
menuName: "activityManage",
|
|
// menuName: 'myCourse',
|
|
// menuName: 'myCourse',
|
|
- isShow: false,
|
|
|
|
- },
|
|
|
|
- ]
|
|
|
|
|
|
+ isShow: false
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
: [];
|
|
: [];
|
|
return data;
|
|
return data;
|
|
},
|
|
},
|
|
@@ -1468,7 +1444,7 @@
|
|
// }
|
|
// }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
// 个人研修
|
|
// 个人研修
|
|
{
|
|
{
|
|
icon: "iconfont icon-train",
|
|
icon: "iconfont icon-train",
|
|
@@ -1565,8 +1541,7 @@
|
|
isShow: true
|
|
isShow: true
|
|
}, */
|
|
}, */
|
|
]
|
|
]
|
|
- },
|
|
|
|
-
|
|
|
|
|
|
+ }
|
|
];
|
|
];
|
|
return data;
|
|
return data;
|
|
}
|
|
}
|
|
@@ -1621,7 +1596,13 @@
|
|
handler(n, o) {
|
|
handler(n, o) {
|
|
this.getSystemLevel();
|
|
this.getSystemLevel();
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ curPeriod:{
|
|
|
|
+ immediate: true,
|
|
|
|
+ handler(n,o){
|
|
|
|
+ this.isQingYangArea = sessionStorage.getItem("areaId") && sessionStorage.getItem("areaId") === "7a51072f-b329-4e74-99e0-ba0407ba8926";
|
|
|
|
+ }
|
|
|
|
+ },
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|