完善查询逻辑

This commit is contained in:
2025-07-31 22:28:51 +08:00
parent 7d0c1a5896
commit a55d8f0921
3 changed files with 960 additions and 295 deletions

View File

@@ -94,6 +94,56 @@
max-width: 600px !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
/* 树形视图样式 */
.tree-view {
font-family: 'Courier New', monospace;
font-size: 0.9em;
max-height: 500px;
overflow-y: auto;
border: 1px solid #e9ecef;
border-radius: 5px;
padding: 10px;
background-color: #f8f9fa;
}
.tree-node {
margin: 2px 0;
}
.tree-toggle {
cursor: pointer;
user-select: none;
margin-right: 5px;
color: #6c757d;
}
.tree-toggle:hover {
color: #495057;
}
.tree-children {
margin-left: 15px;
}
.tree-item {
margin: 1px 0;
padding: 1px 0;
}
/* 原生数据搜索高亮 */
.raw-data-container mark {
background-color: #fff3cd !important;
padding: 1px 2px;
border-radius: 2px;
}
/* 自定义分页输入框 */
.form-control:focus {
border-color: #86b7fe;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
</style>
</head>
<body>
@@ -164,6 +214,18 @@
</button>
</div>
</div>
<div class="row mt-2">
<div class="col-6">
<button class="btn btn-warning btn-sm w-100" onclick="showQueryHistoryDialog()">
<i class="fas fa-history"></i> 查询历史
</button>
</div>
<div class="col-6">
<button class="btn btn-secondary btn-sm w-100" onclick="showSaveHistoryDialog()">
<i class="fas fa-bookmark"></i> 保存历史
</button>
</div>
</div>
</div>
</div>