Revert "Revert "Merge branch 'hebei-cangzhouyancao' of https://gitlab.hzleaper.com:81/duoji/duoji-frontend into hebei-cangzhouyancao""

This reverts commit 0cc18e5701.
hebei-cangzhouyancao
LAPTOP-S9HJSOEB\昊天 3 years ago
parent 0cc18e5701
commit dc78bf39c0

@ -98,6 +98,10 @@ const columns = [
title: '巷道标识', title: '巷道标识',
dataIndex: 'plcId', dataIndex: 'plcId',
}, },
{
title: '库区',
dataIndex: 'area',
},
{ {
title: '光源IP', title: '光源IP',
scopedSlots: { customRender: 'lightSourceIp' } scopedSlots: { customRender: 'lightSourceIp' }

@ -26,6 +26,17 @@
/> />
</a-form-item> </a-form-item>
<<<<<<< HEAD
=======
</div>
<div class="across-layout">
<a-form-item label="库区" :label-col="formItemAcrossLayout.labelCol">
<a-input
v-decorator="['area']"
/>
</a-form-item>
>>>>>>> 7c8cb048022f8fbc9d7b274bbde1e5502cefbe4d
</div> </div>
<div class="across-layout"> <div class="across-layout">
<a-form-item label="PLC IP" :label-col="formItemAcrossLayout.labelCol"> <a-form-item label="PLC IP" :label-col="formItemAcrossLayout.labelCol">

@ -138,7 +138,18 @@ export default {
data: {} data: {}
}).then(res => { }).then(res => {
if(res.code == 200) { if(res.code == 200) {
<<<<<<< HEAD
this.getAllCameras() this.getAllCameras()
=======
this.areas = res.data;
if(this.areas.length == 0){
this.getAllCameras()
}else{
this.activeKey = this.areas[0]
this.tabChange();
}
>>>>>>> 7c8cb048022f8fbc9d7b274bbde1e5502cefbe4d
} }
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)

Loading…
Cancel
Save