Pārlūkot izejas kodu

Merge branch 'master' of http://106.12.23.251:10080/CDHABOOK/CE

CrazyIter 4 gadi atpakaļ
vecāks
revīzija
81c833a8ba

+ 0 - 61
HiTeachCE/ClientApp/src/components/Tools/BasePick.vue

@@ -97,7 +97,6 @@
                     this.$Message.warning('暂无成员参与,无法进行挑人。');
                     this.$Message.warning('暂无成员参与,无法进行挑人。');
                     return;
                     return;
                 }
                 }
-                if (status ==0) {
                     if (this.mytime == "") {
                     if (this.mytime == "") {
                         this.btnLable = "停止";
                         this.btnLable = "停止";
                         this.playIcon = "md-pause";
                         this.playIcon = "md-pause";
@@ -118,66 +117,6 @@
                             this.mytime = "";
                             this.mytime = "";
                         }, 5000);
                         }, 5000);
                     }
                     }
-                } else if (status == 1) {
-                    if (this.pickText == 1) {
-                        let successData = ''
-                        for (var i = 0; i < studentsinfo.length; i++) {
-                            if (studentsinfo[i].option == avalue[0]) {
-                                successData.push(studentsinfo[i])
-                            }
-                        }
-                        if (successData.length != 0) {
-                            this.btnLable = "停止";
-                            this.playIcon = "md-pause";
-                            this.mytime = setInterval(function () {
-                                that.personList = that.getArrItem(successData, that.showLength);
-                            }, 100);
-                        } else if (successData.length ==0) {
-                            this.$Message.warning('暂无答对成员,无法进行挑人。');
-                            return;
-                        }
-                    } else if (this.pickText == 2) {
-                        let errorData = ''
-                        for (var i = 0; i < studentsinfo.length; i++) {
-                            if (studentsinfo[i].option != avalue[0]) {
-                                errorData.push(studentsinfo[i])
-                            }
-                        }
-                        if (errorData.length != 0) {
-                            this.btnLable = "停止";
-                            this.playIcon = "md-pause";
-                            this.mytime = setInterval(function () {
-                                that.personList = that.getArrItem(errorData, that.showLength);
-                            }, 100);
-                        } else if (errorData.length == 0) {
-                            this.$Message.warning('暂无答错成员,无法进行挑人。');
-                            return;
-                        }
-                    } else if (this.pickText == 3) {
-                        let errortosuccessData = ''
-                        for (var i = 0; i < oldstuden.length; i++) {
-                            if (oldstuden[i].option != avalue[0]) {
-                                for (var y = 0; y < studentsinfo.length; y++) {
-                                    if (studentsinfo[i].option == avalue[0]) {
-                                        errortosuccessData.push(studentsinfo[i])
-                                    }
-                                }
-                            }
-                        }
-                        if (errortosuccessData.length != 0) {
-                            this.btnLable = "停止";
-                            this.playIcon = "md-pause";
-                            this.mytime = setInterval(function () {
-                                that.personList = that.getArrItem(errortosuccessData, that.showLength);
-                            }, 100);
-                        } else if (errortosuccessData.length == 0) {
-                            this.$Message.warning('暂无 错→对 成员,无法进行挑人。');
-                            return;
-                        }
-
-                    }
-
-                }
             },
             },
             refTest() {
             refTest() {
                 let refs = this.$refs;
                 let refs = this.$refs;