项目选课删除取消

This commit is contained in:
Yjhon 2022-02-24 11:21:28 +08:00
parent 6f3f1c19a7
commit ea2c968f76
1 changed files with 8 additions and 4 deletions

View File

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