|
@@ -52,7 +52,7 @@
|
|
|
<el-table-column prop="zip" width="150" align="center" label="操作" fixed="right">
|
|
<el-table-column prop="zip" width="150" align="center" label="操作" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button class="edit" type="text" @click="edit(scope.row)">编辑</el-button>
|
|
<el-button class="edit" type="text" @click="edit(scope.row)">编辑</el-button>
|
|
|
- <el-button class="del" @click="del" type="text">删除</el-button>
|
|
|
|
|
|
|
+ <el-button class="del" @click="del(scope.row.id)" type="text">删除</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -112,7 +112,7 @@ export default {
|
|
|
this.$confirm("确定删除吗", "提示", {
|
|
this.$confirm("确定删除吗", "提示", {
|
|
|
type: "warning",
|
|
type: "warning",
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
- this.$api.deleteEnterprise({ id: id }).then((res) => {
|
|
|
|
|
|
|
+ this.$api.delJournal({ id: id }).then((res) => {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
message: "删除成功",
|
|
message: "删除成功",
|
|
|
type: "success",
|
|
type: "success",
|