|
|
@@ -50,7 +50,7 @@
|
|
|
<a-form-item :label="'题目' + (questionIndex + 1)" style="margin-bottom: 15px">
|
|
|
<a-row>
|
|
|
<a-col :span="23">
|
|
|
- <!-- <QuestionShow :qType="questionItem.questionType" :question="questionItem" /> -->
|
|
|
+ <QuestionShow :qType="questionItem.questionType" :question="questionItem" />
|
|
|
</a-col>
|
|
|
<a-col :span="1">
|
|
|
<a-button type="link" danger @click="removeQuestion(titleItem, questionIndex)">删除</a-button>
|
|
|
@@ -124,7 +124,7 @@
|
|
|
import { useExamStore } from '@/store/exam'
|
|
|
import examPaperApi from '@/api/exam/paper/examPaperApi'
|
|
|
import questionApi from '@/api/exam/question/tQuestionApi'
|
|
|
- // import QuestionShow from '@/components/Show.vue'
|
|
|
+ import QuestionShow from '@/views/exm/question/components/Show.vue'
|
|
|
import { message } from 'ant-design-vue'
|
|
|
import dayjs from 'dayjs'
|
|
|
const props = defineProps({
|
|
|
@@ -225,6 +225,7 @@
|
|
|
function confirmQuestionSelect() {
|
|
|
Promise.all(questionPage.multipleSelection.map((q) => questionApi.select(q.id))).then((resArr) => {
|
|
|
resArr.forEach((re) => {
|
|
|
+ console.log('rrr', re)
|
|
|
currentTitleItem.value.questionItems.push(re)
|
|
|
})
|
|
|
questionPage.showDialog = false
|
|
|
@@ -285,10 +286,10 @@
|
|
|
}
|
|
|
.exampaper-item-box {
|
|
|
margin-top: 12px;
|
|
|
+ padding-right: 20px;
|
|
|
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
|
.q-title {
|
|
|
margin: 0 5px;
|
|
|
}
|
|
|
- .q-item-content {
|
|
|
- }
|
|
|
}
|
|
|
</style>
|