sc
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:data="tableList"
|
:data="tableList"
|
||||||
highlight-current-row
|
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 type="index" width="55" align="center" />
|
||||||
<el-table-column prop="questionId" label="ID" width="60" />
|
<el-table-column prop="questionId" label="ID" width="60" />
|
||||||
@@ -214,7 +214,6 @@
|
|||||||
import { searchQuestion, getQuestionSort, deleteQuestion } from '@/api/xjapplet/xjdatabase'
|
import { searchQuestion, getQuestionSort, deleteQuestion } from '@/api/xjapplet/xjdatabase'
|
||||||
import QuestionAddForm from './Components/QuestionAddForm.vue'
|
import QuestionAddForm from './Components/QuestionAddForm.vue'
|
||||||
import DialogDuplicateQuestion from './Components/DialogDuplicateQuestion.vue'
|
import DialogDuplicateQuestion from './Components/DialogDuplicateQuestion.vue'
|
||||||
import { t } from '@wangeditor/editor'
|
|
||||||
|
|
||||||
const message = useMessage()
|
const message = useMessage()
|
||||||
|
|
||||||
@@ -229,6 +228,7 @@ const queryParams = ref({
|
|||||||
isPic: undefined,
|
isPic: undefined,
|
||||||
isDuplicate: undefined,
|
isDuplicate: undefined,
|
||||||
keyword: '',
|
keyword: '',
|
||||||
|
chapter: undefined,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 20
|
pageSize: 20
|
||||||
})
|
})
|
||||||
@@ -264,7 +264,7 @@ const getQuestionChapter = () => {
|
|||||||
source: queryParams.value.source
|
source: queryParams.value.source
|
||||||
}).then((data) => {
|
}).then((data) => {
|
||||||
chapterOptions.value = data
|
chapterOptions.value = data
|
||||||
queryParams.value.chapter = ''
|
queryParams.value.chapter = undefined
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -282,6 +282,7 @@ function handleReset() {
|
|||||||
subject: '1',
|
subject: '1',
|
||||||
isPic: undefined,
|
isPic: undefined,
|
||||||
keyword: '',
|
keyword: '',
|
||||||
|
chapter: undefined,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 20
|
pageSize: 20
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user