master
liuyi 2 years ago
parent 204f62bf17
commit aab35dd843

@ -5,7 +5,7 @@
:visible.sync="isShow"
:close-on-click-modal="false"
width="470px"
:before-close="beforeclose"
@close="handleclose"
>
<el-form
label-position="left"
@ -102,7 +102,7 @@ export default {
hide() {
this.isShow = false;
},
beforeclose(){
handleclose(){
this.$parent.deviceList();
}
},

@ -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 = [];

Loading…
Cancel
Save