讲师管理bug

This commit is contained in:
zhangsir
2024-12-24 16:14:18 +08:00
parent bccb4913be
commit b9419dc7e3
9 changed files with 45 additions and 8 deletions

View File

@@ -41,8 +41,8 @@
<a-button v-if="record.status!=2" type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
<a-button v-if="record.status==2&&false" type="link" @click="() => updateModal(record)">撤回</a-button>
<!-- <a-button type="link" @click="() => deleteModal(record, String(record.courseform))">删除</a-button> -->
<a-button @click="isEnablePost(record,0)" type="link" >启用</a-button>
<a-button @click="isEnablePost(record,1)" type="link" >停用</a-button>
<a-button @click="isEnablePost(record,0)" v-if="record.enable" type="link" >启用</a-button>
<a-button @click="isEnablePost(record,1)" v-if="!record.enable" type="link" >停用</a-button>
</a-space>
</template>
</template>