|
@@ -37,7 +37,7 @@
|
|
|
</template>
|
|
|
<template slot="menu" slot-scope="{ row, index }">
|
|
|
<el-button size="small" icon="el-icon-delete" type="text"
|
|
|
- @click="rowDel(row, index)">预 览
|
|
|
+ @click="rowPreview(row, index)">预 览
|
|
|
</el-button>
|
|
|
<el-button v-if="row.edit" size="small" icon="el-icon-edit" type="text"
|
|
|
@click="rowCell(row, index)">保 存
|
|
@@ -310,6 +310,10 @@
|
|
|
loading = false;
|
|
|
done();
|
|
|
},
|
|
|
+ // 预览
|
|
|
+ rowPreview(row,index){
|
|
|
+ console.log(row,315)
|
|
|
+ },
|
|
|
// 编辑
|
|
|
rowEdit(row,index) {
|
|
|
this.$set(row,'edit',true)
|