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