upload test, viac senzorov

This commit is contained in:
2021-01-30 14:27:23 +01:00
parent ec5c81a587
commit 8fce0013f7
9 changed files with 89 additions and 10 deletions

12
resources/js/app.js vendored
View File

@@ -48,6 +48,9 @@ Vue.use(TabsPlugin);
import { CardPlugin } from 'bootstrap-vue'
Vue.use(CardPlugin);
import { BButton } from 'bootstrap-vue'
Vue.component('b-button', BButton);
//(function () {
var app = new Vue({
el: '#app',
@@ -58,6 +61,7 @@ Vue.use(CardPlugin);
time: null,
startdate: null,
enddate: null,
host: 'balkon',
componentKey: 0,
ti: 0, //Tab Index
graphShow: [],
@@ -111,6 +115,11 @@ Vue.use(CardPlugin);
displayResults: function () {
this.getData();
},
sethost: function (host) {
this.host = host;
this.getData();
console.log(host);
},
resizeGraph: function (i) {
console.log("RESIZE");
let index = "dg[" + i + "]";
@@ -149,7 +158,8 @@ Vue.use(CardPlugin);
params: {
type: vts[t],
startdate: this.startdate,
enddate: this.enddate
enddate: this.enddate,
host: this.host
}
})
.then(function (response) {