|
@@ -62,7 +62,7 @@
|
|
|
</template>
|
|
|
<template v-else-if="activeName === 'second'">
|
|
|
<el-button type="text" size="small" @click="type = 'edit';currentRow = scope.row;dialogUserVisible = true">修改</el-button>
|
|
|
- <el-button type="text" size="small" style="color:red;">删除</el-button>
|
|
|
+ <!-- <el-button type="text" size="small" style="color:red;" @click="deleteClick(scope.row)">删除</el-button> -->
|
|
|
</template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -122,6 +122,9 @@ data() {
|
|
|
console.log(tab, event);
|
|
|
this.onSubmit()
|
|
|
},
|
|
|
+ // deleteClick(row){
|
|
|
+
|
|
|
+ // },
|
|
|
onSubmit() {
|
|
|
if(this.activeName === 'first'){
|
|
|
this.tableData = this.tableDataCustomer.filter(val=>{
|