|
@@ -13,7 +13,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column fixed="right" label="操作" align="center">
|
|
<el-table-column fixed="right" label="操作" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-edit"></i></el-button>
|
|
|
|
|
|
+ <el-button @click="$router.push({ path: '/otheruser/detail', query: { id: scope.$index } })" type="text"><i class="el-icon-edit"></i></el-button>
|
|
<el-button @click.native.prevent="deleteRow(scope.$index, debtTable)" type="text"><i class="el-icon-delete"></i></el-button>
|
|
<el-button @click.native.prevent="deleteRow(scope.$index, debtTable)" type="text"><i class="el-icon-delete"></i></el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -34,9 +34,6 @@ export default {
|
|
created() {},
|
|
created() {},
|
|
computed: {},
|
|
computed: {},
|
|
methods: {
|
|
methods: {
|
|
- handleClick(id) {
|
|
|
|
- this.$emit('handleClick', id);
|
|
|
|
- },
|
|
|
|
deleteRow(id) {
|
|
deleteRow(id) {
|
|
this.$emit('deleteRow', id);
|
|
this.$emit('deleteRow', id);
|
|
},
|
|
},
|