Commit b600fbbe by zhujian

'fix'

parent 8e2b6fbd
...@@ -81,7 +81,7 @@ function ExamData(props: any) { ...@@ -81,7 +81,7 @@ function ExamData(props: any) {
function queryExamUserDataList() { function queryExamUserDataList() {
Service.Hades('public/hades/queryExamQuestionDataList', { Service.Hades('public/hades/queryExamQuestionDataList', {
// ...query, ...query,
examId: props.examId, examId: props.examId,
tenantId: User.getStoreId(), tenantId: User.getStoreId(),
userId: User.getStoreUserId(), userId: User.getStoreUserId(),
...@@ -155,7 +155,9 @@ function ExamData(props: any) { ...@@ -155,7 +155,9 @@ function ExamData(props: any) {
setOrder(sorter.order) setOrder(sorter.order)
console.log(sorter.field, sorter.order, (orderEnum as any)[sorter.field]) console.log(sorter.field, sorter.order, (orderEnum as any)[sorter.field])
let _query: any = { ...queryRef.current }; let _query: any = { ...queryRef.current };
console.log(filters.questionType)
if (filters.questionType) { if (filters.questionType) {
console.log(233232)
_query.questionType = filters.questionType _query.questionType = filters.questionType
} else { } else {
delete _query.questionType delete _query.questionType
...@@ -168,7 +170,7 @@ function ExamData(props: any) { ...@@ -168,7 +170,7 @@ function ExamData(props: any) {
function download() { function download() {
Service.Hades('public/hades/exportExamData', { Service.Hades('public/hades/exportExamData', {
...query, // ...query,
examId: props.examId, examId: props.examId,
exportDataType: 'EXAM_QUESTION_DATA', exportDataType: 'EXAM_QUESTION_DATA',
tenantId: User.getStoreId(), 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