|
|
|
|
@ -1,6 +1,9 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="button-box">
|
|
|
|
|
<a-button type="primary" class="add" @click="back">
|
|
|
|
|
返回
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="primary" class="add" @click="showModel('add','')">
|
|
|
|
|
新增
|
|
|
|
|
</a-button>
|
|
|
|
|
@ -9,7 +12,7 @@
|
|
|
|
|
:multiple="true"
|
|
|
|
|
accept=".xlsx"
|
|
|
|
|
:action="uploadProps.action"
|
|
|
|
|
:showUploadList = 'false'
|
|
|
|
|
:showUploadList='false'
|
|
|
|
|
@change="handleChange"
|
|
|
|
|
ref="table"
|
|
|
|
|
>
|
|
|
|
|
@ -167,7 +170,7 @@ export default {
|
|
|
|
|
this.$axios.delete('/camera/config/'+id, {
|
|
|
|
|
data: {}
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if(res.code==200){
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.$message.success('删除球机IO成功');
|
|
|
|
|
this.handleGetCameraIoList()
|
|
|
|
|
}
|
|
|
|
|
@ -175,6 +178,9 @@ export default {
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
back() {
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
components:{
|
|
|
|
|
Model
|
|
|
|
|
|