From bf053efe6fc44e92b8fb859453f3f19f74a15472 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 10 七月 2025 08:56:43 +0800 Subject: [PATCH] 修改 --- src/views/work/onlineEducation/groupExams/components/examDialog.vue | 102 +++++++++++++++++++++++++------------------------- 1 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/views/work/onlineEducation/groupExams/components/examDialog.vue b/src/views/work/onlineEducation/groupExams/components/examDialog.vue index 5a7ffd8..8af519d 100644 --- a/src/views/work/onlineEducation/groupExams/components/examDialog.vue +++ b/src/views/work/onlineEducation/groupExams/components/examDialog.vue @@ -208,66 +208,66 @@ </el-radio-group> </div> </div> -<!-- <div style="display: flex">--> -<!-- <div class="group">--> -<!-- <div>--> -<!-- 简答:<el-input style="max-width: 40px" v-model="state.form.easyNum"></el-input> 题--> -<!-- </div>--> -<!-- <div style="margin-left: 20px">--> -<!-- 每题:<el-input style="max-width: 40px" v-model="state.form.easyScore"></el-input> 分--> -<!-- </div>--> -<!-- </div>--> -<!-- <div class="group" >--> -<!-- <div>--> -<!-- 共 --> -<!-- <span style="max-width: 30px" v-show="state.form.easyNum && state.form.easyScore">{{state.form.easyNum * state.form.easyScore}}</span>--> -<!-- <!– <span v-else></span>–>--> -<!-- 分--> -<!-- </div>--> + <div style="display: flex"> + <div class="group"> + <div> + 简答:<el-input style="max-width: 40px" v-model="state.form.easyNum"></el-input> 题 + </div> + <div style="margin-left: 20px"> + 每题:<el-input style="max-width: 40px" v-model="state.form.easyScore"></el-input> 分 + </div> + </div> + <div class="group" > + <div> + 共 + <span style="max-width: 30px" v-show="state.form.easyNum && state.form.easyScore">{{state.form.easyNum * state.form.easyScore}}</span> + <!-- <span v-else></span>--> + 分 + </div> + <el-select + clearable + v-model="state.form.easyBankName" + filterable + remote + reserve-keyword + placeholder="请输入简答题库" + remote-show-suffix + :remote-method="getBankList" + style="width: 160px;margin: 0 20px" + @change="selectEasyValue" + > + <el-option + v-for="item in state.bankList" + :key="item.id" + :label="item.name" + :value="item.name" + /> + </el-select> <!-- <el-select--> <!-- clearable--> -<!-- v-model="state.form.easyBankName"--> -<!-- filterable--> -<!-- remote--> -<!-- reserve-keyword--> -<!-- placeholder="请输入简答题库"--> -<!-- remote-show-suffix--> -<!-- :remote-method="getBankList"--> +<!-- v-model="state.form.easyBankId"--> <!-- style="width: 160px;margin: 0 20px"--> -<!-- @change="selectEasyValue"--> +<!-- v-loadMoreNew:[reselectSingle]="handleScroll"--> +<!-- :popper-class="reselectSingle.name"--> +<!-- class="item-width"--> +<!-- placeholder="请选择简答题题库"--> <!-- >--> <!-- <el-option--> -<!-- v-for="item in state.bankList"--> +<!-- v-for="item in state.bankListSingle"--> <!-- :key="item.id"--> <!-- :label="item.name"--> -<!-- :value="item.name"--> +<!-- :value="item.id"--> <!-- />--> <!-- </el-select>--> -<!--<!– <el-select–>--> -<!--<!– clearable–>--> -<!--<!– v-model="state.form.easyBankId"–>--> -<!--<!– style="width: 160px;margin: 0 20px"–>--> -<!--<!– v-loadMoreNew:[reselectSingle]="handleScroll"–>--> -<!--<!– :popper-class="reselectSingle.name"–>--> -<!--<!– class="item-width"–>--> -<!--<!– placeholder="请选择简答题题库"–>--> -<!--<!– >–>--> -<!--<!– <el-option–>--> -<!--<!– v-for="item in state.bankListSingle"–>--> -<!--<!– :key="item.id"–>--> -<!--<!– :label="item.name"–>--> -<!--<!– :value="item.id"–>--> -<!--<!– />–>--> -<!--<!– </el-select>–>--> -<!-- <el-radio-group v-model="state.form.easyMethod" >--> -<!-- <el-radio :label="1" style="max-width: 30px">随机</el-radio>--> -<!-- <el-radio :label="2" style="max-width: 30px">顺序</el-radio>--> -<!-- </el-radio-group>--> -<!-- <el-radio-group v-model="state.form.easyRebuild" style="margin-left: 30px" >--> -<!-- <el-radio :label="1" v-if="title === '编辑'" style="max-width: 30px">重新出题</el-radio>--> -<!-- </el-radio-group>--> -<!-- </div>--> -<!-- </div>--> + <el-radio-group v-model="state.form.easyMethod" > + <el-radio :label="1" style="max-width: 30px">随机</el-radio> + <el-radio :label="2" style="max-width: 30px">顺序</el-radio> + </el-radio-group> + <el-radio-group v-model="state.form.easyRebuild" style="margin-left: 30px" > + <el-radio :label="1" v-if="title === '编辑'" style="max-width: 30px">重新出题</el-radio> + </el-radio-group> + </div> + </div> <span class="group" style="margin-bottom: 20px">共计: {{state.form.judgeNum * state.form.judgeScore+state.form.multiNum * state.form.multiScore+state.form.singleNum * state.form.singleScore+state.form.easyNum * state.form.easyScore}} 分</span> -- Gitblit v1.9.2