|
|
发表于 2021-2-2 16:13:38|来自:
|
显示全部楼层
var date = this.form.get("date").getData();
if (date != "") {
filterList.push({
"logic": "and",
"path": "time",
"comparison": "like",
"value": new Date(date),
"formatType": "dateTimeValue",
"title": "",
"code": { "code": "return \"" + type + "\";", "html": "return \"" + type + "\";" },
"otherValue": ""
});
}
现在不知道问题在哪了,用来比较的值不论是字符串还是转Date类型都没有用,对比方式用like对比年月和用greaterThanOrEqualTo比较年月日时分秒也没有用 |
|