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