Compare commits
2 Commits
b0e2e58d93
...
b9d6a7458f
| Author | SHA1 | Date | |
|---|---|---|---|
| b9d6a7458f | |||
| 784ac30847 |
@ -1474,7 +1474,7 @@ public class MPointService {
|
||||
if (DateUtil.isCellDateFormatted(cell)) {
|
||||
//用于转化为日期格式
|
||||
Date d = cell.getDateCellValue();
|
||||
SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
|
||||
SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
String cellDate = formater.format(d);
|
||||
return cellDate;
|
||||
} else {
|
||||
@ -1510,7 +1510,7 @@ public class MPointService {
|
||||
if (DateUtil.isCellDateFormatted(cell)) {
|
||||
//用于转化为日期格式
|
||||
Date d = cell.getDateCellValue();
|
||||
SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
|
||||
SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
String cellDate = formater.format(d);
|
||||
return cellDate;
|
||||
} else {
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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())
|
||||
};
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user