mirrored dic keys in ui from backend

This commit is contained in:
ori
2019-05-01 19:57:03 +03:00
parent 406a9f2021
commit 82f24882cc
2 changed files with 8 additions and 8 deletions

View File

@@ -71,10 +71,10 @@
socketSendAll: function(){
this.$socket.sendObj([
{'team_number':this.teamNum},
{'connectionType':this.connectionType},
{'connection_type':this.connectionType},
{'ip':this.ip},
{'gateWay':this.gateWay},
{'hostName':this.hostName}]);
{'gateway':this.gateWay},
{'hostname':this.hostName}]);
}
},
computed: {

View File

@@ -45,7 +45,7 @@ export const store = new Vuex.Store({
state['camera'] = value;
state['pipeline'] = "0";
},
pipeline: set('pipeline'),
pipeline: set('curr_pipeline'),
brightness: set('brightness'),
exposure: set('exposure'),
orientation:set('orientation'),
@@ -58,11 +58,11 @@ export const store = new Vuex.Store({
area: set('area'),
ratio: set('ratio'),
extent: set('extent'),
teamValue: set('teamValue'),
connectionType: set('connectionType'),
teamValue: set('team_number'),
connectionType: set('connection_type'),
ip: set('ip'),
gateWay : set('gateWay'),
hostName : set('hostName'),
gateWay : set('gateway'),
hostName : set('hostname'),
streamAdress : set('streamAdress'),
isBinaryImage: set('isBinaryImage'),
cameraList : set('cameraList'),