OnePsycho vor 1 Jahr
Ursprung
Commit
b9a3ad87e3

+ 24 - 43
TEAMModelOS/ClientApp/src/common/BaseLayout.vue

@@ -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>

Datei-Diff unterdrückt, da er zu groß ist
+ 840 - 779
TEAMModelOS/ClientApp/src/view/areaMgmt/AreaLayout.vue


+ 14 - 16
TEAMModelOS/ClientApp/src/view/art/AreaArt.vue

@@ -104,7 +104,7 @@
 						</div>
 						</div>
 					</div>
 					</div>
 				</div>
 				</div>
-        <div class="online-train-wrap">
+				<div class="online-train-wrap">
 					<h4 class="block-title">学校艺术特色素材数量统计</h4>
 					<h4 class="block-title">学校艺术特色素材数量统计</h4>
 					<div class="chart-data-wrap">
 					<div class="chart-data-wrap">
 						<ArtBar echartsId="artBar" :echartData="artBarData"></ArtBar>
 						<ArtBar echartsId="artBar" :echartData="artBarData"></ArtBar>
@@ -169,12 +169,12 @@
 			SchoolComp,
 			SchoolComp,
 			OccupyCourse,
 			OccupyCourse,
 			Award,
 			Award,
-      ArtBar,
+			ArtBar,
 			BackToTop
 			BackToTop
 		},
 		},
 		data() {
 		data() {
 			return {
 			return {
-        artBarData:[],
+				artBarData: [],
 				dashSchoolCode: "",
 				dashSchoolCode: "",
 				modalTitle: "",
 				modalTitle: "",
 				dashModal: false,
 				dashModal: false,
@@ -331,7 +331,7 @@
 						code: item.code,
 						code: item.code,
 						musicPass: musicPass,
 						musicPass: musicPass,
 						drawPass: drawPass,
 						drawPass: drawPass,
-            picture:item.picture
+						picture: item.picture
 					};
 					};
 				});
 				});
 				return data;
 				return data;
@@ -610,19 +610,19 @@
 			},
 			},
 			onAcChange() {
 			onAcChange() {
 				this.getAreaArtAnalysis();
 				this.getAreaArtAnalysis();
-        this.$api.elegant
+				this.$api.elegant
 					.findElegantStatistics({
 					.findElegantStatistics({
 						scope: "area",
 						scope: "area",
 						code: sessionStorage.getItem("areaId")
 						code: sessionStorage.getItem("areaId")
 					})
 					})
 					.then((res) => {
 					.then((res) => {
 						console.log(res);
 						console.log(res);
-            this.artBarData = res.schoolDatas.map(school => {
-              return {
-                name:school.name,
-                count:school.items[1].count
-              }
-            })
+						this.artBarData = res.schoolDatas.map((school) => {
+							return {
+								name: school.name,
+								count: school.items.find(i => i.id === '艺术特色').count
+							};
+						});
 					});
 					});
 			},
 			},
 			getAreaSchoolList() {
 			getAreaSchoolList() {
@@ -748,8 +748,6 @@
 				this.modalTitle = school.name + " - 学生风采统计数据";
 				this.modalTitle = school.name + " - 学生风采统计数据";
 				this.dashSchoolCode = school.code;
 				this.dashSchoolCode = school.code;
 				this.dashModal = true;
 				this.dashModal = true;
-
-				
 			},
 			},
 			backToTop() {
 			backToTop() {
 				this.$refs["art-dasboard"].scrollTo(
 				this.$refs["art-dasboard"].scrollTo(
@@ -832,7 +830,7 @@
 			align-items: center;
 			align-items: center;
 			margin-right: 20px;
 			margin-right: 20px;
 			color: #2d8cf0;
 			color: #2d8cf0;
-			border:1px solid #2d8cf0;
+			border: 1px solid #2d8cf0;
 			padding: 5px 10px;
 			padding: 5px 10px;
 			border-radius: 5px;
 			border-radius: 5px;
 
 
@@ -880,7 +878,7 @@
 		background: #ffffff;
 		background: #ffffff;
 		margin-top: 10px;
 		margin-top: 10px;
 		padding: 40px 20px;
 		padding: 40px 20px;
-    border-radius: 10px;
+		border-radius: 10px;
 	}
 	}
 
 
 	.block-title {
 	.block-title {
@@ -962,7 +960,7 @@
 		width: 100%;
 		width: 100%;
 		height: 100%;
 		height: 100%;
 		background: #ededed;
 		background: #ededed;
-    // padding: 15px 20px;
+		// padding: 15px 20px;
 
 
 		.export-box {
 		.export-box {
 			position: absolute;
 			position: absolute;

+ 3 - 1
TEAMModelOS/ClientApp/src/view/elegant/BaseElegantCloud.vue

@@ -46,7 +46,9 @@
         watch: {
         watch: {
             echartData:{
             echartData:{
                 handler(n,o){
                 handler(n,o){
-                    let keyCounts = this.echartsId === 'cloud1' ? n[1].keyCounts : n[0].keyCounts
+					let cloud1Index = n.findIndex(i => i.id === '艺术特色')
+					let cloud2Index = n.findIndex(i => i.id === '德育风采')
+                    let keyCounts = this.echartsId === 'cloud1' ? n[cloud1Index].keyCounts : n[cloud2Index].keyCounts
                     this.chartOption.series[0].data = keyCounts.map(i => {
                     this.chartOption.series[0].data = keyCounts.map(i => {
                         return {
                         return {
                             name: i.word,
                             name: i.word,

+ 1 - 1
TEAMModelOS/ClientApp/src/view/evaluation/components/BaseCreateChild.vue

@@ -68,7 +68,7 @@
 		</div>
 		</div>
 
 
 		<div class="save-wrap display-flex">
 		<div class="save-wrap display-flex">
-			<Button v-if="!isPaperEnv" type="success" @click="getContent(exersicesType)" :loading="saveLoading">{{ $t('evaluation.newExercise.save') }}</Button>
+			<Button type="success" @click="getContent(exersicesType)" :loading="saveLoading">{{ $t('evaluation.newExercise.save') }}</Button>
 		</div>
 		</div>
 
 
 		<!-- 选择知识点弹窗 -->
 		<!-- 选择知识点弹窗 -->

+ 1 - 1
TEAMModelOS/ClientApp/src/view/evaluation/components/BasePoints.vue

@@ -256,7 +256,7 @@ export default {
     },
     },
 
 
     onSearchSchoolChange() {
     onSearchSchoolChange() {
-      this.schoolPointList = this.originSchoolList.filter(item => item.indexOf(this.searchSchoolPoint) > -1)
+      this.schoolPointList = this.originSchoolList.filter(item => item.toLowerCase().indexOf(this.searchSchoolPoint) > -1)
     },
     },
   },
   },
   mounted() {
   mounted() {

+ 1 - 1
TEAMModelOS/ClientApp/src/view/evaluation/components/BaseRepair.vue

@@ -418,7 +418,7 @@
 	}
 	}
 
 
 	.repair-wrap {
 	.repair-wrap {
-		min-height: 400px;
+		min-height: 200px;
 		padding-bottom: 50px;
 		padding-bottom: 50px;
 		.image-viewer {
 		.image-viewer {
 			background-color: rgba(0, 0, 0, 0.8);
 			background-color: rgba(0, 0, 0, 0.8);

+ 2 - 2
TEAMModelOS/ClientApp/src/view/knowledge-point/index/Index.vue

@@ -1007,13 +1007,13 @@ export default {
 
 
     // 搜索知识块输入框onchange事件
     // 搜索知识块输入框onchange事件
     onSearchBlockChange() {
     onSearchBlockChange() {
-      this.blockList = this.originBlockList.filter(item => item.name.indexOf(this.searchBlock) > -1)
+      this.blockList = this.originBlockList.filter(item => item.name.toLowerCase().indexOf(this.searchBlock) > -1)
       if (this.blockList.length) this.handleBlockTap(0, this.blockList[0])
       if (this.blockList.length) this.handleBlockTap(0, this.blockList[0])
     },
     },
 
 
     // 搜索知识点输入框onchange事件
     // 搜索知识点输入框onchange事件
     onSearchPointChange() {
     onSearchPointChange() {
-      this.pointList = this.originPointList.filter(item => item.indexOf(this.searchPoint) > -1)
+      this.pointList = this.originPointList.filter(item => item.toLowerCase().indexOf(this.searchPoint) > -1)
     },
     },
 
 
     // 清空科目搜索框
     // 清空科目搜索框