lsc 11 maanden geleden
bovenliggende
commit
148c9a903e

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.433863ab3c18a76b5c517d53d6b1e9df.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.35dfb1d95a63059f336f.js></script><script type=text/javascript src=./static/js/app.c947dbf06879bd3aaaca.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.65d6ee61810732d9071df67e1f569f8b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.571c38d63f24b1ae9e16.js></script><script type=text/javascript src=./static/js/vendor.35dfb1d95a63059f336f.js></script><script type=text/javascript src=./static/js/app.b1052619100b372cb78c.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.65d6ee61810732d9071df67e1f569f8b.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.65d6ee61810732d9071df67e1f569f8b.css.map


BIN
dist/static/img/bg1.e5fea9e.png


BIN
dist/static/img/character1.992e755.png


BIN
dist/static/img/character2.70b6c42.png


BIN
dist/static/img/character3.0756447.png


BIN
dist/static/img/character4.77b292f.png


BIN
dist/static/img/character5.2222e2e.png


BIN
dist/static/img/character6.530bea0.png


BIN
dist/static/img/classImage.70b0985.png


BIN
dist/static/img/defaultAvatar.762b260.png


BIN
dist/static/img/hello.68de2a9.gif


BIN
dist/static/img/taskSuccess.e03beb8.png


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b1052619100b372cb78c.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b1052619100b372cb78c.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.571c38d63f24b1ae9e16.js.map


BIN
src/assets/icon/new/u_op2.png


+ 17 - 13
src/components/pages/test/add/setInfo/index.vue

@@ -249,13 +249,15 @@ export default {
         teaType: {
             immediate: true,
             deep: true,
-            handler(newValue, oldValue) {
-                this.getTestWorkTeacherCount()
+            async handler(newValue, oldValue) {
+                if(newValue){
+                    await this.getTestWorkTeacherCount()
+                }
             },
         },
     },
     methods: {
-        getTestWorkTeacherCount(){
+        async getTestWorkTeacherCount(){
             let j3 = []
             if(this.teaType.length){
                 this.teaType.forEach(e => {
@@ -266,15 +268,15 @@ export default {
                 juri: j3.length ? j3.join(',') : "",
                 userid: this.$route.query.userid
             }]
-            this.ajax
-                .post(this.$store.state.api + "getTestWorkTeacherCount", params)
-                .then((res) => {
-                    this.teacherArray = res.data[0]
-                })
-                .catch((err) => {
-                    this.$message.error("网络不佳");
-                    console.error(err);
-                });
+
+            try {
+                let res = await this.ajax.post(this.$store.state.api + "getTestWorkTeacherCount", params)
+                this.teacherArray = res.data[0]
+            }catch (err) {
+                this.$message.error("网络不佳");
+                console.error(err);
+            }
+            console.log('11111111111')
         },
         Ochange() {
             this.$forceUpdate()
@@ -472,7 +474,7 @@ export default {
             this.dialogTeacher = true
         }
     },
-    mounted() {
+    async mounted() {
         this.courseTypeId = this.depthCopy(this.testType)
         this.courseName = this.depthCopy(this.title)
         this.isTeacherSee = this.depthCopy(this.see)
@@ -487,6 +489,8 @@ export default {
         // this.selectAllType();
         this.selectType();
         this.getClass2();
+        await this.getTestWorkTeacherCount()
+        console.log('getTestWorkTeacherCount')
     }
 }
 </script>

+ 2 - 2
src/components/pages/test/check/index.vue

@@ -73,7 +73,7 @@
             </div>
             <div class="left"  v-if="isDesktop">
               <!-- <div style="margin-right: 10px;position: relative;" v-if="stype == 2 || stype == 3"> -->
-              <div style="margin-right: 10px;position: relative;">
+              <!-- <div style="margin-right: 10px;position: relative;">
                 <el-select v-model="TeachingValue" @change="searchCourse" placeholder="按教研室">
                   <el-option
                     label="全部"
@@ -86,7 +86,7 @@
                     :value="item.id">
                   </el-option>
                 </el-select>
-              </div>
+              </div> -->
               <div style="margin-right: 10px;position: relative;" v-if="stype == 2 || stype == 3">
                 <el-date-picker
                   v-model="SubmitTime"

Some files were not shown because too many files changed in this diff