|
@@ -29,7 +29,8 @@ export default defineComponent({
|
|
|
studentId: {
|
|
|
type: String,
|
|
|
default: ''
|
|
|
- }, classGroupId: {
|
|
|
+ },
|
|
|
+ classGroupId: {
|
|
|
type: String,
|
|
|
default: ''
|
|
|
}
|
|
@@ -148,8 +149,8 @@ export default defineComponent({
|
|
|
const res = await getPracticeRecordList({
|
|
|
userId: props.studentId,
|
|
|
...state.pagination,
|
|
|
- classGroupId:props.classGroupId,
|
|
|
- feature: "EVALUATION",
|
|
|
+ classGroupId: props.classGroupId,
|
|
|
+ feature: 'EVALUATION',
|
|
|
...getTimes(timer.value, ['startTime', 'endTime'], 'YYYY-MM-DD')
|
|
|
});
|
|
|
state.tableList = res.data.rows;
|
|
@@ -161,7 +162,9 @@ export default defineComponent({
|
|
|
const tockn = userStore.getToken;
|
|
|
reportSrc.value =
|
|
|
vaildUrl() +
|
|
|
- `/instrument/#/evaluat-report?id=${row.id}&Authorization=${tockn}`;
|
|
|
+ `/instrument/#/evaluat-report?v=${+new Date()}&id=${
|
|
|
+ row.id
|
|
|
+ }&Authorization=${tockn}`;
|
|
|
payForm.detailVisiable = true;
|
|
|
};
|
|
|
const search = () => {
|
|
@@ -202,8 +205,8 @@ export default defineComponent({
|
|
|
</NForm>
|
|
|
<div class={styles.tableWrap}>
|
|
|
<NDataTable
|
|
|
- v-slots={{
|
|
|
- empty:()=><TheEmpty></TheEmpty>
|
|
|
+ v-slots={{
|
|
|
+ empty: () => <TheEmpty></TheEmpty>
|
|
|
}}
|
|
|
class={styles.classTable}
|
|
|
loading={state.loading}
|