教师端1期问题修复

This commit is contained in:
赵依梦
2025-12-12 18:17:39 +08:00
parent a953c02028
commit 915d90f368
2 changed files with 85 additions and 83 deletions

View File

@@ -40,13 +40,9 @@
</el-select>
</div>
</el-col>
<el-col :span="2">
<el-col :span="5">
<div class="grid-content bg-purple">
<el-button type="primary" @click="findList"> </el-button>
</div>
</el-col>
<el-col :span="2">
<div class="grid-content bg-purple">
<el-button @click="reset"> </el-button>
</div>
</el-col>
@@ -527,10 +523,13 @@ export default {
});
},
async delItem(row) {
this.$messageBox.confirm({
title: "删除确认",
message: `确认删除${row.name}吗?`,
handleConfirm: async () => {
this.$confirm(`<i class="el-icon-warning-outline"></i>确认删除${row.name}吗?`, '删除确认', {
confirmButtonText: '确定',
cancelButtonText: '取消',
dangerouslyUseHTMLString: true,
type: 'warning',
customClass: 'custom-confirm-dialog'
}).then(async () => {
let params = {
id: row.id,
title: row.name,
@@ -548,11 +547,7 @@ export default {
} catch (error) {
console.log(error);
}
},
handleCancel: () => {
this.$showMessage('已取消删除', 'warning')
},
});
})
},
jumpRouter(item) {
if (item.published) {