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

@ -174,7 +174,7 @@
page: params.offset/params.limit+1, // 每页显示数据的开始页码
sort: params.sort, // 要排序的字段
order: params.order,
search_name: $('#search_name').val(),
// search_name: $('#search_name').val(),
search_code: $('#search_code').val()
}
},
@ -301,14 +301,14 @@
<label class="form-label" id="companylabel">公司</label>
<select class="form-control select2 " id="search_code" name ="search_code" style="width: 220px;"></select>
<span class="select2-selection select2-selection--single" id="company" style="width:220px;border: none;background: transparent;" ></span>
<div class="form-group pull-right" >
<!-- <div class="form-group pull-right" >
<div class="input-group input-group-sm" style="width: 250px;">
<input type="text" id="search_name" name="search_name" class="form-control pull-right" placeholder="名称">
<div class="input-group-btn">
<button class="btn btn-default" onclick="dosearch();"><i class="fa fa-search"></i></button>
</div>
</div>
</div>
</div> -->
</div>
<table id="table"></table>
</div>

View File

@ -115,7 +115,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD
var fileinput = function () {
$('#file').click();
};
var filedel = function () {
var filedel = function (index) {
fileList.splice(index,1)
$('#test').html(initFileInputView())
};

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;