Bugfixes
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -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([
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user