Commit b600fbbe by zhujian

'fix'

parent 8e2b6fbd
......@@ -81,7 +81,7 @@ function ExamData(props: any) {
function queryExamUserDataList() {
Service.Hades('public/hades/queryExamQuestionDataList', {
// ...query,
...query,
examId: props.examId,
tenantId: User.getStoreId(),
userId: User.getStoreUserId(),
......@@ -155,7 +155,9 @@ function ExamData(props: any) {
setOrder(sorter.order)
console.log(sorter.field, sorter.order, (orderEnum as any)[sorter.field])
let _query: any = { ...queryRef.current };
console.log(filters.questionType)
if (filters.questionType) {
console.log(233232)
_query.questionType = filters.questionType
} else {
delete _query.questionType
......@@ -168,7 +170,7 @@ function ExamData(props: any) {
function download() {
Service.Hades('public/hades/exportExamData', {
...query,
// ...query,
examId: props.examId,
exportDataType: 'EXAM_QUESTION_DATA',
tenantId: User.getStoreId(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment