1
0

2 Incheckningar ed2a87c1c7 ... d0074f4af2

Upphovsman SHA1 Meddelande Datum
  lijie d0074f4af2 Merge branch 'master' of 121.40.237.253:lijie/zhxy-desk 1 år sedan
  lijie c341bb6892 学生标签 1 år sedan
2 ändrade filer med 60 tillägg och 2 borttagningar
  1. 59 1
      pages/home/home.vue
  2. 1 1
      pages/studentRanked/studentRanked.vue

+ 59 - 1
pages/home/home.vue

@@ -66,7 +66,65 @@
 			}
 		},
 		mounted() {
-			this.getUserList()
+			if(process.env.NODE_ENV === 'development'){
+				let data={
+					"id": 16,
+					"admin_id": 0,
+					"school_id": 1,
+					"person_id": 16,
+					"teacher_number": "",
+					"teacher_name": "李墨",
+					"sex": 0,
+					"teacher_photo": "",
+					"type": 0,
+					"education": "大学本科",
+					"degree": "文学学士学位",
+					"course_id": 1,
+					"teacher_phone": "15158468759",
+					"teacher_email": "",
+					"address": "",
+					"batch_id": 7,
+					"level": 1,
+					"status": 0,
+					"is_del": 0,
+					"upload_total": 0,
+					"download_total": 0,
+					"created_at": "2023-09-26 17:22:56",
+					"updated_at": null,
+					"access_token": "a58d238956a13b9a818c0f6d9a35d487",
+					"token": "f26618b059869f0bec57e8f16a3e15e0",
+					"selfclass": {
+						"id": 3,
+						"school_id": 1,
+						"grade_level": 2,
+						"class_level": 3,
+						"grade_id": 2,
+						"dept_id": 673412163,
+						"teacher_id": 16,
+						"class_number": "",
+						"class_no": "2023_2_3",
+						"class_num": 3,
+						"class_name": "二年级3班",
+						"class_photo": "https://zhxy.obs.cn-hz1.ctyun.cn/zhxy/classroom/112053504953.jpg",
+						"class_type": 1,
+						"enrol_year": 2023,
+						"sessions_year": 2022,
+						"deduct": 9,
+						"status": 0,
+						"is_del": 0,
+						"batch_id": 1,
+						"created_at": "2023-09-26 14:48:58",
+						"updated_at": null
+					}
+				}
+				this.$store.commit("setTeacherInfo",data)
+				uni.setStorageSync('token', "a1df03154b53637cab5c003e0a9f94c2")
+				console.log(11111);
+				uni.navigateTo({
+					url:'/pages/studentRanked/studentRanked'
+				})
+			}
+			
 		}
 
 	}

+ 1 - 1
pages/studentRanked/studentRanked.vue

@@ -110,7 +110,7 @@
                 <view class="ui-flex-column text-center ui-p bottom-btn-item" @click="show_classes=true">
                     <image src="../../static/uni.png" style="width: 30px;height: 30px;" mode=""></image>
                     <view style="line-height: 1;">
-                        <text class="txt-white f24">{{chooseClassName || '加载中...'}}</text>
+                        <text class="txt-white f24">评分记录</text>
                     </view>
                 </view>
                 <view class="ui-flex-column text-center ui-p bottom-btn-item" @click="$refs.markScoreList.open()">