yuanmingze 5 mesiacov pred
rodič
commit
1865cbc993

BIN
dist.zip → dist—pre.zip


+ 5 - 9
src/views/serviceManagement/quickReview/index.vue

@@ -445,9 +445,6 @@ export default {
             item?.info?.configs?.forEach((iten) => {
               iten.taskFiledType = iten.taskFiledType.trim();
               if (iten.taskFiledType == 'img') {
-                console.log('item.info.taskContent', item.info.taskContent);
-                console.log('item.info.iten', iten);
-
                 this.getImgList(item.info.taskContent[iten.taskFiledKey], iten);
               }
             });
@@ -457,8 +454,6 @@ export default {
           this.getPageLoading = false;
         }
       } catch (err) {
-        console.log('err', err);
-
         this.getPageLoading = false;
       }
     },
@@ -468,6 +463,11 @@ export default {
         this.list.forEach((item) => (item.reviewInfo.checked = true));
         this.$forceUpdate();
         this.calcInfo();
+      } else {
+        this.list.forEach((item) => (item.reviewInfo.checked = false));
+        this.checkAllLength = 0;
+        this.checkAllTaskScore = 0;
+        this.$forceUpdate();
       }
     },
     calcInfo() {
@@ -556,9 +556,6 @@ export default {
       return imgList.slice(index).concat(imgList.slice(0, index));
     },
     getImgList(urlStr, item) {
-      console.log('urlStr', urlStr);
-      console.log('item', item);
-
       // 如果类型不匹配或者 urlStr 为空,直接返回
       if (item.taskFiledType !== 'img' || !urlStr) return '';
 
@@ -737,7 +734,6 @@ export default {
             this.loading = false;
           } catch (err) {
             this.loading = false;
-            console.log('err', err);
           }
         }
       });