style(webapp): 注释和调整前端页面部分元素及代码

This commit is contained in:
Rue Ji
2026-04-04 01:22:16 +08:00
parent b0e2e58d93
commit 784ac30847
3 changed files with 13 additions and 16 deletions

View File

@ -233,12 +233,12 @@ pageEncoding="UTF-8"%>
class="drawer-nav-icon"
/>企业
</div>
<div class="drawer-nav-item" onclick="switchTab('tab-pipeline', this)">
<!-- <div class="drawer-nav-item" onclick="switchTab('tab-pipeline', this)">
<img
src="<%=request.getContextPath()%>/IMG/icon_gd.png"
class="drawer-nav-icon"
/>管道
</div>
</div> -->
<!-- <div class="drawer-nav-item" onclick="switchTab('tab-well', this)">
<img
src="<%=request.getContextPath()%>/IMG/icon_gj.png"
@ -548,15 +548,6 @@ pageEncoding="UTF-8"%>
</div>
<div style="max-height: 400px; overflow-y: auto" id="company-table-container">
<div id="company-loading" style="display: none; text-align: center; padding: 20px;">
<i class="glyphicon glyphicon-refresh" style="font-size: 24px; color: #007bff; animation: spin 1s infinite linear;"></i>
<p style="margin-top: 10px; color: #666; font-size: 12px">数据加载中...</p>
<style>
@keyframes spin {
100% { transform: rotate(360deg); }
}
</style>
</div>
<table
class="table table-bordered table-hover table-condensed table-custom"
style="font-size: 12px; white-space: nowrap"
@ -578,6 +569,10 @@ pageEncoding="UTF-8"%>
</thead>
<tbody id="company-table-body"></tbody>
</table>
<div id="company-loading" style="display: none; text-align: center; padding: 20px;">
<i class="glyphicon glyphicon-refresh" style="font-size: 24px; color: #007bff; animation: spin 1s infinite linear;"></i>
<p style="margin-top: 10px; color: #666; font-size: 12px">数据加载中...</p>
</div>
</div>
</div>
@ -1330,7 +1325,9 @@ pageEncoding="UTF-8"%>
// 直接返回数组
list = res;
}
config.data = list.map(config.transform);
config.data = list.map(function(item, idx) {
return config.transform(item, idx);
});
config.loaded = true;
console.log('[' + type + '] 加载完成:', config.data.length, '条');
return config.data;