qsh 2 months ago
parent ebf551890e
commit 0015d4e147
  1. 7
      src/views/Question/Database/index.vue

@ -103,7 +103,7 @@
v-loading="loading"
:data="tableList"
highlight-current-row
max-height="calc(100vh - 320px)"
max-height="calc(100vh - 270px)"
>
<el-table-column type="index" width="55" align="center" />
<el-table-column prop="questionId" label="ID" width="60" />
@ -214,7 +214,6 @@
import { searchQuestion, getQuestionSort, deleteQuestion } from '@/api/xjapplet/xjdatabase'
import QuestionAddForm from './Components/QuestionAddForm.vue'
import DialogDuplicateQuestion from './Components/DialogDuplicateQuestion.vue'
import { t } from '@wangeditor/editor'
const message = useMessage()
@ -229,6 +228,7 @@ const queryParams = ref({
isPic: undefined,
isDuplicate: undefined,
keyword: '',
chapter: undefined,
pageNo: 1,
pageSize: 20
})
@ -264,7 +264,7 @@ const getQuestionChapter = () => {
source: queryParams.value.source
}).then((data) => {
chapterOptions.value = data
queryParams.value.chapter = ''
queryParams.value.chapter = undefined
})
}
@ -282,6 +282,7 @@ function handleReset() {
subject: '1',
isPic: undefined,
keyword: '',
chapter: undefined,
pageNo: 1,
pageSize: 20
}

Loading…
Cancel
Save