|
@@ -25,7 +25,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-button v-if="scope.row.orcredit == 0" @click.prevent="tongguosp(scope.row.orcredit,scope.row._id)" type="text" icon="el-icon-s-help" title="通过"></el-button>
|
|
|
<el-button v-if="scope.row.orcredit == 2" @click.prevent="tongguosp(scope.row.orcredit,scope.row._id)" type="text" icon="el-icon-s-check" title="放款"></el-button>
|
|
|
- <el-button @click.prevent="deleteRow(scope.row._id)" type="text" icon="el-icon-warning-outline" title="拒绝"></el-button>
|
|
|
+ <el-button @click.prevent="deleteRow(scope.row._id,'')" type="text" icon="el-icon-warning-outline" title="拒绝"></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -83,8 +83,8 @@ export default {
|
|
|
created() {},
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
- deleteRow(id) {
|
|
|
- this.$emit('deleteRow', id);
|
|
|
+ deleteRow(id,delValue) {
|
|
|
+ this.$emit('deleteRow', id,delValue);
|
|
|
},
|
|
|
clickRest(id) {
|
|
|
this.$emit('clickRest', id);
|