|
|
@@ -519,7 +519,9 @@ const query = function getQueryForm(data) {
|
|
|
let min = $("<input id='" + condition.name + "_min' class='form-control form-control-sm ml-2' style='max-width: 100px;' placeholder='00:00' data-toggle='tooltip' data-placement='top' >");
|
|
|
min.attr('title', controlJsType(condition.tip[1], 'undefined') ? '' : condition.tip[1]);
|
|
|
dateTime.bind('input propertychange', function () {
|
|
|
- let value = this.value !== '' ? this.value + ' ' + (!!min.val() ? min.val() : '23:59') : '';
|
|
|
+ let hm = '00:00';
|
|
|
+ if(!condition.name.includes('start'))hm = '23:59';
|
|
|
+ let value = this.value !== '' ? this.value + ' ' + (!!min.val() ? min.val() : hm) : '';
|
|
|
modifyData({name: condition.name, type: 'time', value: value, mold: 'time'});
|
|
|
// modifyData({name: condition.name, type: 'dateTime', value: this.value, mold: 'dateTime'});
|
|
|
});
|