fix(knowledge): 修复知识库详情页时间查询范围问题

- 修正时间查询参数格式,增加时分秒以包含完整日期范围
This commit is contained in:
Huangzhe
2025-04-18 13:26:52 +08:00
parent 9b5e85036b
commit e5b7333d16

View File

@@ -223,8 +223,8 @@ export default {
datasetId,
page: this.page,
pageSize: this.pageSize,
startCreatedDate: this.form.times[0],
endCreatedDate: this.form.times[1]
startCreatedDate: this.form.times[0] ? this.form.times[0] + ' 00:00:00' : '',
endCreatedDate: this.form.times[1] ? this.form.times[1] + ' 23:59:59' : ''
}).then(res => {
this.list = res.content.content.list
this.total = res.content.content.total
@@ -612,6 +612,7 @@ export default {
border-radius: 15px;
transition: background-color 0.3s;
font-size: 14px;
&:hover {
background: #f3f5f7;
}
@@ -619,12 +620,15 @@ export default {
&.active {
background: #f3f5f7;
}
p {
margin: 10px 0;
}
.segment-number {
color: #0a84ff;
}
.segment-keywords {
color: #606266;
}