bug修复 删除不好使问题
parent
d9601a587c
commit
9fdc23766b
|
@ -48,7 +48,7 @@
|
||||||
<el-table-column label="操作" align="center" width="200">
|
<el-table-column label="操作" align="center" width="200">
|
||||||
<template slot-scope="{row}">
|
<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="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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -263,7 +263,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/trainingplan/delete',
|
'/trainingplan/delete',
|
||||||
{
|
{
|
||||||
trainingplan_ID: id
|
TRAININGPLAN_ID: id
|
||||||
}
|
}
|
||||||
).then(() => {
|
).then(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
Loading…
Reference in New Issue