mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 00:06:45 +08:00
教师端1期问题修复
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user