|
|
|
@ -31,18 +31,8 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column fixed="right" label="操作" width="200">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
@click.native.stop="handleResive(scope.row)"
|
|
|
|
|
type="text"
|
|
|
|
|
>修改</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
class="deleteText"
|
|
|
|
|
@click.native.stop="handleDelete(scope.row)"
|
|
|
|
|
>删除</el-button
|
|
|
|
|
>
|
|
|
|
|
<!-- <el-button type="text" @click.native.stop="handleSet(scope.row)" >设置</el-button> -->
|
|
|
|
|
<el-button @click.native.stop="handleResive(scope.row)" type="text" >修改</el-button>
|
|
|
|
|
<!-- <el-button type="text" class="deleteText" @click.native.stop="handleDelete(scope.row)" >删除</el-button> -->
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -53,8 +43,7 @@
|
|
|
|
|
:page-size="pageSize"
|
|
|
|
|
layout=" prev, pager, next, jumper,total"
|
|
|
|
|
:total="total"
|
|
|
|
|
background
|
|
|
|
|
>
|
|
|
|
|
background>
|
|
|
|
|
</el-pagination>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -120,12 +109,6 @@ export default {
|
|
|
|
|
this.$refs.adddeviceDialogref.getdataform(data);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//设置
|
|
|
|
|
handleSet(data) {
|
|
|
|
|
this.$refs.setdeviceDialogref.display();
|
|
|
|
|
this.$refs.setdeviceDialogref.getdataform(data);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
//删除数据
|
|
|
|
|
handleDelete(data) {
|
|
|
|
|
let deleteArr = [];
|
|
|
|
|