更改新增围栏
parent
7bcf0edb3c
commit
c74f3751b4
|
@ -2,7 +2,7 @@
|
||||||
<div>
|
<div>
|
||||||
<el-button type="success" @click="upiInsertDialog">添加围栏</el-button>
|
<el-button type="success" @click="upiInsertDialog">添加围栏</el-button>
|
||||||
|
|
||||||
<el-table :data="fenceData" style="width: 70%">
|
<el-table :data="fenceData" style="width: 100%">
|
||||||
|
|
||||||
|
|
||||||
<!-- <el-table-column label="围栏编号" width="180">-->
|
<!-- <el-table-column label="围栏编号" width="180">-->
|
||||||
|
@ -227,7 +227,7 @@ export default {
|
||||||
this.dialogVisibleTwo = true
|
this.dialogVisibleTwo = true
|
||||||
},
|
},
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
insertFence(this.updateFences).then(res =>{
|
insertFence(this.insertFences).then(res =>{
|
||||||
if (res.data.code == 500){
|
if (res.data.code == 500){
|
||||||
alert("添加围栏失败!");
|
alert("添加围栏失败!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue