|
@@ -73,6 +73,10 @@ export default {
|
|
|
return ["trouble", "complete", "progress"].includes(val);
|
|
|
},
|
|
|
},
|
|
|
+ freshen: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false,
|
|
|
+ },
|
|
|
},
|
|
|
// mounted() {
|
|
|
// this.initData();
|
|
@@ -103,7 +107,7 @@ export default {
|
|
|
const res = await examPropCount({
|
|
|
examId: this.examId,
|
|
|
examActivityId: this.examActivityId,
|
|
|
- freshen: true,
|
|
|
+ freshen: this.freshen,
|
|
|
}).catch(() => {});
|
|
|
this.examPropData = (res && res.data && res.data.data) || {};
|
|
|
if (this.examPropData["completionRate"])
|