bug修复 删除不好使问题

cmt1.0
zhaoyu 2023-12-14 17:28:21 +08:00
parent d9601a587c
commit 9fdc23766b
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
<el-table-column label="操作" align="center" width="200">
<template slot-scope="{row}">
<el-button v-show="edit" type="primary" icon="el-icon-edit" size="mini" @click="handleEdit(row)"></el-button>
<el-button v-show="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.trainingplan_ID)"></el-button>
<el-button v-show="del" type="danger" icon="el-icon-delete" size="mini" @click="handleDelete(row.TRAININGPLAN_ID)"></el-button>
</template>
</el-table-column>
</el-table>
@ -263,7 +263,7 @@ export default {
requestFN(
'/trainingplan/delete',
{
trainingplan_ID: id
TRAININGPLAN_ID: id
}
).then(() => {
this.$message({