diff --git a/src/api/index.js b/src/api/index.js index 914dff5..bd6c7ae 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,5 +1,4 @@ import Setting from '@/setting' -// let host = 'http://192.168.31.152:8001' let uploadURL = Setting.apiUploadURL export default { // 登录  diff --git a/src/assets/img/icon-weigouxuan.png b/src/assets/img/icon-weigouxuan.png deleted file mode 100644 index e74d5c2..0000000 Binary files a/src/assets/img/icon-weigouxuan.png and /dev/null differ diff --git a/src/assets/img/icon-yigouxuan.png b/src/assets/img/icon-yigouxuan.png deleted file mode 100644 index d1c0d1c..0000000 Binary files a/src/assets/img/icon-yigouxuan.png and /dev/null differ diff --git a/src/assets/img/icon_.png b/src/assets/img/icon_.png deleted file mode 100644 index 8fdbb02..0000000 Binary files a/src/assets/img/icon_.png and /dev/null differ diff --git a/src/assets/img/icon_1.png b/src/assets/img/icon_1.png deleted file mode 100644 index a134364..0000000 Binary files a/src/assets/img/icon_1.png and /dev/null differ diff --git a/src/assets/img/img.jpg b/src/assets/img/img.jpg deleted file mode 100644 index cbe6c00..0000000 Binary files a/src/assets/img/img.jpg and /dev/null differ diff --git a/src/assets/img/index/achievement.png b/src/assets/img/index/achievement.png deleted file mode 100644 index 34474e8..0000000 Binary files a/src/assets/img/index/achievement.png and /dev/null differ diff --git a/src/assets/img/index/assesment.png b/src/assets/img/index/assesment.png deleted file mode 100644 index 08bc6ae..0000000 Binary files a/src/assets/img/index/assesment.png and /dev/null differ diff --git a/src/assets/img/index/book.png b/src/assets/img/index/book.png deleted file mode 100644 index 6c409c5..0000000 Binary files a/src/assets/img/index/book.png and /dev/null differ diff --git a/src/assets/img/index/chengji拷贝.png b/src/assets/img/index/chengji拷贝.png deleted file mode 100644 index 6f54172..0000000 Binary files a/src/assets/img/index/chengji拷贝.png and /dev/null differ diff --git a/src/assets/img/index/datiqia拷贝.png b/src/assets/img/index/datiqia拷贝.png deleted file mode 100644 index f4775c2..0000000 Binary files a/src/assets/img/index/datiqia拷贝.png and /dev/null differ diff --git a/src/assets/img/index/guanliyuan_guanliyuanliebiao拷贝2.png b/src/assets/img/index/guanliyuan_guanliyuanliebiao拷贝2.png deleted file mode 100644 index 1d2015f..0000000 Binary files a/src/assets/img/index/guanliyuan_guanliyuanliebiao拷贝2.png and /dev/null differ diff --git a/src/assets/img/index/pingjiakaohe拷贝.png b/src/assets/img/index/pingjiakaohe拷贝.png deleted file mode 100644 index 6eeedaa..0000000 Binary files a/src/assets/img/index/pingjiakaohe拷贝.png and /dev/null differ diff --git a/src/assets/img/index/practice.png b/src/assets/img/index/practice.png deleted file mode 100644 index 8eb169f..0000000 Binary files a/src/assets/img/index/practice.png and /dev/null differ diff --git a/src/assets/img/index/show.png b/src/assets/img/index/show.png deleted file mode 100644 index 6e97241..0000000 Binary files a/src/assets/img/index/show.png and /dev/null differ diff --git a/src/assets/img/index/system.png b/src/assets/img/index/system.png deleted file mode 100644 index ec31c04..0000000 Binary files a/src/assets/img/index/system.png and /dev/null differ diff --git a/src/assets/img/index/tiku.png b/src/assets/img/index/tiku.png deleted file mode 100644 index c9904af..0000000 Binary files a/src/assets/img/index/tiku.png and /dev/null differ diff --git a/src/assets/img/index/xiaoxi.png b/src/assets/img/index/xiaoxi.png deleted file mode 100644 index de911d1..0000000 Binary files a/src/assets/img/index/xiaoxi.png and /dev/null differ diff --git a/src/assets/img/index/zuopin.png b/src/assets/img/index/zuopin.png deleted file mode 100644 index 05f86b6..0000000 Binary files a/src/assets/img/index/zuopin.png and /dev/null differ diff --git a/src/assets/img/index/日期.png b/src/assets/img/index/日期.png deleted file mode 100644 index 8e54d02..0000000 Binary files a/src/assets/img/index/日期.png and /dev/null differ diff --git a/src/assets/img/login-input.png b/src/assets/img/login-input.png deleted file mode 100644 index d6166fb..0000000 Binary files a/src/assets/img/login-input.png and /dev/null differ diff --git a/src/assets/img/message.png b/src/assets/img/message.png deleted file mode 100644 index bb4f484..0000000 Binary files a/src/assets/img/message.png and /dev/null differ diff --git a/src/components/achiStatistics/index.vue b/src/components/achiStatistics/index.vue index 4613342..7413ca8 100644 --- a/src/components/achiStatistics/index.vue +++ b/src/components/achiStatistics/index.vue @@ -94,10 +94,7 @@ export default { } this.statData = statData this.getChart() - }) - .catch(err => { - - }); + }).catch(err => {}) }, getChart(){ let myChart = echarts.init(document.getElementById('chart')) @@ -117,7 +114,7 @@ export default { type: 'line', areaStyle: {} }] - }); + }) } }, }; diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 205cbfe..5d76080 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -92,9 +92,9 @@ export default { password: this.loginForm.password } this.login(data).then(() => { - this.$router.replace('/index') - }) - .catch(() => {}) + let redirect = decodeURIComponent(this.$route.query.redirect || '/') + this.$router.replace(redirect) + }).catch(() => {}) } }) } diff --git a/src/pages/achievement/list/examResults.vue b/src/pages/achievement/list/examResults.vue index 3fdb627..f6c3993 100644 --- a/src/pages/achievement/list/examResults.vue +++ b/src/pages/achievement/list/examResults.vue @@ -191,7 +191,7 @@ export default { assessmentId: this.assessmentId, assessmentName: this.assessmentName, classId: this.classId, - stuId: this.listData[0].stuId + stuId: this.userId }) this.$router.push('statistics') }else{ diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue index a20815b..6c4f90d 100644 --- a/src/pages/assessment/list/index.vue +++ b/src/pages/assessment/list/index.vue @@ -494,6 +494,7 @@ export default { this.time = [this.form.startTime,this.form.endTime] this.addVisible = true this.isAdd = false + this.stuCompKey++ }).catch(err => {}) }, nameChange(){ @@ -601,7 +602,6 @@ export default { this.testPaperId = '' this.cid = '' this.keywordPaper = '' - this.stuCompKey++ }, openSelect(){ this.selectVisible = true diff --git a/src/pages/assessment/list/studentTree.vue b/src/pages/assessment/list/studentTree.vue index 227a06e..65f20a7 100644 --- a/src/pages/assessment/list/studentTree.vue +++ b/src/pages/assessment/list/studentTree.vue @@ -134,21 +134,20 @@ export default { .side_view{ max-height: 300px; - overflow: auto;; - padding: 10px 20px; - i { - color: #cb221c; + height: auto; + padding: 0 20px 20px; + .side_tree{ + .item{ + padding: 5px 0; + margin-top: 10px; + } + .item2 { + margin-left: 43px + } + .item1,.item2,.item3{ + padding: 0; + margin-top: 0; + } } } - .item{ - padding: 5px 0; - margin-top: 10px; - } - .item2 { - margin-left:43px - } - .item1,.item2,.item3{ - padding: 0; - margin-top: 0; - } \ No newline at end of file diff --git a/src/pages/assessment/monitor/index.vue b/src/pages/assessment/monitor/index.vue index 8eec682..52b6712 100644 --- a/src/pages/assessment/monitor/index.vue +++ b/src/pages/assessment/monitor/index.vue @@ -105,6 +105,7 @@ export default { data() { return { keyword: '', + searchTimer: null, state: '', listData: [], page: 1, @@ -132,6 +133,14 @@ export default { 'getTypeName','getStudentStateName' ]) }, + watch: { + keyword: function(val) { + clearTimeout(this.searchTimer) + this.searchTimer = setTimeout(() => { + this.getData() + },500) + } + }, directives: { countdown: { bind: function(el,binding,vnode) { @@ -206,6 +215,7 @@ export default { this.$post(`${this.api.compulsory}?id=${this.id}`) .then(res => { this.$message.success('强制收卷成功') + this.$router.back() }) .catch(err => {}) }else{ diff --git a/src/pages/assessment/scoreQuery/index.vue b/src/pages/assessment/scoreQuery/index.vue index 5843edc..fc3da4b 100644 --- a/src/pages/assessment/scoreQuery/index.vue +++ b/src/pages/assessment/scoreQuery/index.vue @@ -186,7 +186,7 @@ export default { show(row){ this.setAssDetailInfo({ id: row.paperId, - assessmentId: row.id, + assessmentId: row.assessmentId, stuId: row.stuId }) this.$router.push('detail') diff --git a/src/pages/index/list/index.vue b/src/pages/index/list/index.vue index 12c8b4a..9c523c7 100644 --- a/src/pages/index/list/index.vue +++ b/src/pages/index/list/index.vue @@ -165,7 +165,7 @@ export default { total: 0, listData: [], pageReview: 1, - pageSizeReview: 5, + pageSizeReview: 3, totalReview: 0, reviewList: [], pageClass: 1, @@ -374,7 +374,7 @@ export default { .class{ display: flex; li{ - width: 19%; + width: 19.5%; padding: 15px 20px; margin-right: .5%; background: url(../../../assets/img/index/bg1.png) 0 0/100% 100% no-repeat; diff --git a/src/pages/practice/list/index.vue b/src/pages/practice/list/index.vue index 88e9f85..ad61d87 100644 --- a/src/pages/practice/list/index.vue +++ b/src/pages/practice/list/index.vue @@ -332,6 +332,8 @@ export default { this.testPaperName = row.name this.addVisible = true this.isAdd = false + this.stuCompKey++ + console.log(11,this.form) }, scoreQuery(row){ this.setPracListInfo({ @@ -392,7 +394,6 @@ export default { this.testPaperId = '' this.cid = '' this.keywordPaper = '' - this.stuCompKey++ }, openSelect(){ this.selectVisible = true diff --git a/src/pages/practice/list/studentTree.vue b/src/pages/practice/list/studentTree.vue index dcf89a8..1abcc5b 100644 --- a/src/pages/practice/list/studentTree.vue +++ b/src/pages/practice/list/studentTree.vue @@ -115,21 +115,20 @@ export default { .side_view{ max-height: 300px; - overflow: auto;; - padding: 10px 20px; - i { - color: #cb221c; + height: auto; + padding: 0 20px 20px; + .side_tree{ + .item{ + padding: 5px 0; + margin-top: 10px; + } + .item2 { + margin-left: 80px + } + .item1,.item2{ + padding: 0; + margin-top: 0; + } } } - .item{ - padding: 5px 0; - margin-top: 10px; - } - .item2 { - margin-left: 80px - } - .item1,.item2{ - padding: 0; - margin-top: 0; - } \ No newline at end of file diff --git a/src/pages/setting/person/index.vue b/src/pages/setting/person/index.vue index ade5467..1872271 100644 --- a/src/pages/setting/person/index.vue +++ b/src/pages/setting/person/index.vue @@ -191,7 +191,6 @@
@@ -507,7 +506,6 @@ input:focus { margin-top: 10px; width: 80px; height: 80px; - background: url('../../../assets/img/img.jpg'); border-radius: 50%; .head { diff --git a/src/pages/student/list/studentSide.vue b/src/pages/student/list/studentSide.vue index 26ad5a9..ca44aec 100644 --- a/src/pages/student/list/studentSide.vue +++ b/src/pages/student/list/studentSide.vue @@ -124,8 +124,8 @@ export default { setTimeout(() => { this.majorList = StaffProfessionalArchitectureList this.majorList[0].ifVisible = true - }, 500); - }).catch(res => {}); + }, 500) + }).catch(res => {}) }, // 选择专业 fircheckitem(item){ @@ -171,9 +171,9 @@ export default { this.$post(`${this.api.deleteStudentProfessionalArchitecture}?studentProfessionalArchitectureIds=${item.stuProfessionalArchitectureId}`).then(res => { this.$message.success('删除成功'); this.majorList.splice(index, 1) - }).catch(res => {}); + }).catch(res => {}) }) - .catch(() => {}); + .catch(() => {}) }, sure(){ if(!this.Form.classmajorName) return this.$message.warning('请输入专业名称'); @@ -193,7 +193,7 @@ export default { e.label = this.Form.classmajorName } }) - }).catch(res => {}); + }).catch(res => {}) }else{ this.$post(this.api.addStudentProfessionalArchitecture,data).then(res => { this.$message.success('添加成功'); @@ -207,7 +207,7 @@ export default { children: [] } this.majorList.push(newData) - }).catch(res => {}); + }).catch(res => {}) } }, @@ -249,7 +249,7 @@ export default { } }) }) - }).catch(res => {}); + }).catch(res => {}) }) .catch(() => {}); }, @@ -273,7 +273,7 @@ export default { } }) }) - }).catch(res => {}); + }).catch(res => {}) }else{ this.$post(this.api.addGrade,data).then(res => { this.$message.success('添加成功'); @@ -292,7 +292,7 @@ export default { e.children.push(newData) } }) - }).catch(res => {}); + }).catch(res => {}) } }, @@ -347,7 +347,7 @@ export default { }) }) }) - }).catch(res => {}); + }).catch(res => {}) }) .catch(() => {}); }, @@ -373,7 +373,7 @@ export default { }) }) }) - }).catch(res => {}); + }).catch(res => {}) }else{ this.$post(this.api.addClass,data).then(res => { this.$message.success('添加成功'); @@ -399,7 +399,7 @@ export default { } }) }) - }).catch(res => {}); + }).catch(res => {}) } } diff --git a/src/pages/student/list/studentTree.vue b/src/pages/student/list/studentTree.vue index 4b6ad7c..a8080ef 100644 --- a/src/pages/student/list/studentTree.vue +++ b/src/pages/student/list/studentTree.vue @@ -152,14 +152,4 @@ export default { \ No newline at end of file diff --git a/src/pages/system/list/staffSide.vue b/src/pages/system/list/staffSide.vue index a778661..e38ef95 100644 --- a/src/pages/system/list/staffSide.vue +++ b/src/pages/system/list/staffSide.vue @@ -1,36 +1,34 @@