|
@@ -100,9 +100,11 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
async initData() {
|
|
async initData() {
|
|
if (!this.examId) return;
|
|
if (!this.examId) return;
|
|
- const res = await examPropCount(this.examId, this.examActivityId).catch(
|
|
|
|
- () => {}
|
|
|
|
- );
|
|
|
|
|
|
+ const res = await examPropCount({
|
|
|
|
+ examId: this.examId,
|
|
|
|
+ examActivityId: this.examActivityId,
|
|
|
|
+ freshen: true,
|
|
|
|
+ }).catch(() => {});
|
|
this.examPropData = (res && res.data && res.data.data) || {};
|
|
this.examPropData = (res && res.data && res.data.data) || {};
|
|
if (this.examPropData["completionRate"])
|
|
if (this.examPropData["completionRate"])
|
|
this.examPropData["completionRate"] = Math.round(
|
|
this.examPropData["completionRate"] = Math.round(
|