This commit is contained in:
2017-04-11 15:26:00 +02:00
parent 105bf65d26
commit a726a56a56
5 changed files with 6 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -370,6 +370,7 @@ var PickerComponent = (function () {
};
PickerComponent.prototype.onSubmit = function (form) {
this.loaded = false;
console.log(form);
this.refreshData(form.meter, form.group, form.date1, form.date2, form.datatype);
};
PickerComponent = __decorate([
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -28,7 +28,7 @@ router.get('/device', function(req, res){
router.get('/data/:device/group/:group/:day1-:month1-:year1/:day2-:month2-:year2', function(req, res) {
router.get('/data/:device/group/:group/:year1-:month1-:day1/:year2-:month2-:day2', function(req, res) {
let devid = req.params.device;
let group = req.params.group;
@@ -97,7 +97,7 @@ router.get('/data/:device/group/:group/:day1-:month1-:year1/:day2-:month2-:year2
});
router.get('/data/:device/:day1-:month1-:year1/:day2-:month2-:year2', function(req, res) {
router.get('/data/:device/:year1-:month1-:day1/:year2-:month2-:day2', function(req, res) {
let devid = req.params.device;
+1
View File
@@ -37,6 +37,7 @@ export class PickerComponent {
onSubmit(form:any)
{
this.loaded = false;
console.log(form);
this.refreshData(form.meter, form.group, form.date1, form.date2, form.datatype);
}
}