From f12767b69d52460b9d2ceb6ed3d66eef380102ee Mon Sep 17 00:00:00 2001 From: "liangliang.Li" <1561596308@qq.com> Date: Fri, 4 Jun 2021 16:30:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=9F=E8=B4=A7=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/Studentcommon/FictitiousList.vue | 10 - .../common/Studentcommon/TeachingList.vue | 7 - .../common/Studentcommon/competitionList.vue | 7 - src/components/page/Assessment.vue | 32 - src/components/page/ClientLogin.vue | 3 +- src/components/page/Dashboard.vue | 26 - src/components/page/Index.vue | 104 ---- src/components/page/Login.vue | 573 ------------------ src/components/page/PersonalCenter.vue | 4 - src/components/page/Project.vue | 26 - src/components/page/TeachingVideo.vue | 13 - src/config/index.js | 6 - src/main.js | 20 - src/router/index.js | 9 - src/store/index.js | 10 - src/utils/api.js | 9 - src/utils/core.js | 10 - src/utils/http.js | 39 +- 18 files changed, 2 insertions(+), 906 deletions(-) diff --git a/src/components/common/Studentcommon/FictitiousList.vue b/src/components/common/Studentcommon/FictitiousList.vue index 2de0bc7..f72e348 100644 --- a/src/components/common/Studentcommon/FictitiousList.vue +++ b/src/components/common/Studentcommon/FictitiousList.vue @@ -33,10 +33,7 @@ export default { data() { return { -<<<<<<< HEAD pattern: Number(sessionStorage.getItem('pattern')), -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 totals: 0, tableData: [], userId: this.$store.state.userId, @@ -45,10 +42,7 @@ export default { }; }, created() { -<<<<<<< HEAD console.log(11,this.$route) -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 this.getData(); }, methods: { @@ -69,12 +63,8 @@ export default { page: this.pageNo, size: this.pageSize, source: 0, -<<<<<<< HEAD systemId: 3, pattern: this.pattern -======= - systemId: 3 ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 }) .then(res => { let data = res.data diff --git a/src/components/common/Studentcommon/TeachingList.vue b/src/components/common/Studentcommon/TeachingList.vue index 0fcbef9..d29b283 100644 --- a/src/components/common/Studentcommon/TeachingList.vue +++ b/src/components/common/Studentcommon/TeachingList.vue @@ -45,10 +45,7 @@ export default { data() { return { -<<<<<<< HEAD pattern: Number(sessionStorage.getItem('pattern')), -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 totals: 0, tableData: [], userId: this.$store.state.userId, @@ -95,12 +92,8 @@ export default { size: this.pageSize, searchContent: this.core.encodeString(this.searchContent), source: 2, -<<<<<<< HEAD systemId: 3, pattern: this.pattern -======= - systemId: 3 ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 }) .then(res => { let data = res.data diff --git a/src/components/common/Studentcommon/competitionList.vue b/src/components/common/Studentcommon/competitionList.vue index b0b85aa..262cf4b 100644 --- a/src/components/common/Studentcommon/competitionList.vue +++ b/src/components/common/Studentcommon/competitionList.vue @@ -35,10 +35,7 @@ export default { data() { return { -<<<<<<< HEAD pattern: Number(sessionStorage.getItem('pattern')), -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 totals: 0, tableData: [], userId: this.$store.state.userId, @@ -67,12 +64,8 @@ export default { page: this.pageNo, size: this.pageSize, source: 1, -<<<<<<< HEAD systemId: 3, pattern: this.pattern -======= - systemId: 3 ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 }) .then(res => { let data = res.data diff --git a/src/components/page/Assessment.vue b/src/components/page/Assessment.vue index 3614e6f..5f0f202 100644 --- a/src/components/page/Assessment.vue +++ b/src/components/page/Assessment.vue @@ -11,22 +11,14 @@
-<<<<<<< HEAD -======= - ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 不限 {{item.className}}
-<<<<<<< HEAD -======= - ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 @@ -106,10 +98,7 @@ export default { name: 'project', data() { return { -<<<<<<< HEAD pattern: Number(sessionStorage.getItem('pattern')), -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 userId: this.$store.state.userId, roleId: this.$store.state.accountRole, name: sessionStorage.getItem('ms_username'), @@ -152,19 +141,12 @@ export default { keyword: function(val) { clearTimeout(this.searchTimer) this.searchTimer = setTimeout(() => { -<<<<<<< HEAD this.getData() -======= - this.initData() ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 },500) } }, mounted() { -<<<<<<< HEAD console.log(22,this.pattern) -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 this.getClass() this.getData() this.timer = setInterval(this.getData,1000) @@ -185,10 +167,7 @@ export default { status: this.form.status, pageNum: 1, pageSize: 10000, -<<<<<<< HEAD pattern: this.pattern -======= ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 } this.$post(this.api.stuAssessmentByScreen,data).then(res => { let list = res.list.list @@ -238,13 +217,6 @@ export default { this.handlePage() }).catch(err => {}) }, -<<<<<<< HEAD -======= - initData(){ - this.pageNo = 1 - this.getData() - }, ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 handlePage(){ let list = this.listDataAll this.listData = list.slice((this.pageNo - 1) * this.pageSize,this.pageNo * this.pageSize) @@ -267,11 +239,7 @@ export default { }else if(row.status == 3){ return this.$message.warning('该实验已经结束') }else{ -<<<<<<< HEAD this.core.toSubSystem(row.className,row.id,row.classId,this.pattern) -======= - this.core.toSubSystem(row.className,row.id,row.classId) ->>>>>>> 6028c3bb7c7bd21a7d0eeb951358865241b4ecb9 } }, show(row) { diff --git a/src/components/page/ClientLogin.vue b/src/components/page/ClientLogin.vue index b657a5d..fa1b43a 100644 --- a/src/components/page/ClientLogin.vue +++ b/src/components/page/ClientLogin.vue @@ -207,7 +207,6 @@ export default { this.studentId = this.schoolList[0].studentId // this.getRole() this.roleId = 4 - this.$store.commit("tokenData", {loginToken: res.message.loginToken}) this.submitForm(form) }else{ this.$message.error('账号不存在') @@ -284,7 +283,7 @@ export default { this.$post(this.api.updateLogInNumber,{userId: this.userId}).then(res => {}).catch(res => {}); this.$message.success('登录成功'); sessionStorage.setItem('kd_client_username', this.activeName == '0' ? this.loginForm.username : this.phoneParam.userphone); - this.$store.commit("userLoginData", { userId : this.userId,accountRole: this.roleId,studentId : this.studentId,schoolId: this.schoolId,token: res.message.user.token}) + this.$store.commit("userLoginData", { userId : this.userId,accountRole: this.roleId,studentId : this.studentId,schoolId: this.schoolId,token: res.message.user.token}); res.message.user.userAvatars && this.$store.commit("userPhoto", { avatar : res.message.user.userAvatars}); this.$store.commit("userName", { userName : res.message.user.userName}); this.$store.commit("dataTime", { dataTime : res.message.user.dataTime}); diff --git a/src/components/page/Dashboard.vue b/src/components/page/Dashboard.vue index 052dd7b..8f00d1a 100644 --- a/src/components/page/Dashboard.vue +++ b/src/components/page/Dashboard.vue @@ -1,13 +1,8 @@