Merge branch 'develop' of https://gitee.com/siwa-team/dawa-vue into develop

This commit is contained in:
18571350067 2022-02-24 11:31:49 +08:00
commit 43ffaa56bf
2 changed files with 9 additions and 4 deletions

View File

@ -29,11 +29,11 @@
<!-- <a-menu-item v-if="form.id" > <!-- <a-menu-item v-if="form.id" >
<a href="javascript:;" @click="openVisible('topic',record)">必选题设置</a> <a href="javascript:;" @click="openVisible('topic',record)">必选题设置</a>
</a-menu-item> --> </a-menu-item> -->
<a-menu-item> <!-- <a-menu-item>
<a-popconfirm title="是否删除?" @confirm="() => handleDelete(record)"> <a-popconfirm title="是否删除?" @confirm="() => handleDelete(record)">
<a href="javascript:;" @click="$refs.table.refresh(true)">删除</a> <a href="javascript:;" @click="$refs.table.refresh(true)">删除</a>
</a-popconfirm> </a-popconfirm>
</a-menu-item> </a-menu-item> -->
</a-menu> </a-menu>
</a-dropdown> </a-dropdown>
</template> </template>
@ -51,9 +51,9 @@
<a-drawer title="题库预览" :destroyOnClose="true" placement="right" width="1200" :closable="true" :visible="questionVisible" @close="drawerClose"> <a-drawer title="题库预览" :destroyOnClose="true" placement="right" width="1200" :closable="true" :visible="questionVisible" @close="drawerClose">
<question-list :courseId="selectCourseId"></question-list> <question-list :courseId="selectCourseId"></question-list>
</a-drawer> </a-drawer>
<a-drawer title="必选题设置" :destroyOnClose="true" placement="right" width="1200" :closable="true" :visible="requiredTopicVisible" @close="drawerClose"> <!-- <a-drawer title="必选题设置" :destroyOnClose="true" placement="right" width="1200" :closable="true" :visible="requiredTopicVisible" @close="drawerClose">
<p>必选题设置</p> <p>必选题设置</p>
</a-drawer> </a-drawer> -->
</a-card> </a-card>
</template> </template>
@ -151,6 +151,10 @@ export default {
if(type === 'course') this.courseVisible = true; if(type === 'course') this.courseVisible = true;
else if(type === 'topic') this.requiredTopicVisible = true; else if(type === 'topic') this.requiredTopicVisible = true;
else if(type === 'question') this.questionVisible = true; else if(type === 'question') this.questionVisible = true;
},
/** 删除table项 */
handleDelete(record){
}, },
// //
calc(data) { calc(data) {

View File

@ -171,6 +171,7 @@ export default {
}, },
// //
toPrev() { toPrev() {
this.form.testPaperTactics = this.tableData;
this.$emit('prevStep', this.form) this.$emit('prevStep', this.form)
}, },
initTable() { initTable() {