重构联查功能
尝试把列表构建改成由前端渲染
This commit is contained in:
@@ -1550,6 +1550,9 @@ select.input-sm, select.form-group-sm .form-control {
|
||||
.form-controller .i-checks-disabled i {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.form-controller .i-checks {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@media all and (max-width: 767px) {
|
||||
.form-controller .control-label {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+10
-10
@@ -504,6 +504,11 @@ function getPanelHeight(v) {
|
||||
gridOptions.api.showLoadingOverlay();
|
||||
$.post(gridOptions.remoteDataUrl, remoteParams, function (res) {
|
||||
|
||||
if (typeof success === 'function') {
|
||||
success(res);
|
||||
}
|
||||
gridOptions.remoteSuccessed.call(gridOptions, res);
|
||||
|
||||
if (res.per_page) {
|
||||
if (me.pagerDom === null) {
|
||||
var div = me.api.gridCore.eGridDiv;
|
||||
@@ -531,11 +536,6 @@ function getPanelHeight(v) {
|
||||
gridOptions.api.setRowData(res.data);
|
||||
gridOptions.generatePinnedBottomData();
|
||||
|
||||
if (typeof success === 'function') {
|
||||
success(res);
|
||||
}
|
||||
gridOptions.remoteSuccessed.call(gridOptions, res.data);
|
||||
|
||||
}, 'json');
|
||||
}
|
||||
|
||||
@@ -548,17 +548,17 @@ function getPanelHeight(v) {
|
||||
gridOptions.api.showLoadingOverlay();
|
||||
$.post(gridOptions.remoteDataUrl, remoteParams, function (res) {
|
||||
|
||||
gridOptions.api.hideOverlay();
|
||||
gridOptions.api.setRowData(res.data);
|
||||
gridOptions.generatePinnedBottomData();
|
||||
if (typeof success === 'function') {
|
||||
success(res);
|
||||
}
|
||||
gridOptions.remoteSuccessed.call(gridOptions, res.data);
|
||||
gridOptions.remoteSuccessed.call(gridOptions, res);
|
||||
|
||||
gridOptions.api.hideOverlay();
|
||||
gridOptions.api.setRowData(res.data);
|
||||
gridOptions.generatePinnedBottomData();
|
||||
|
||||
}, 'json');
|
||||
}
|
||||
|
||||
return gridOptions;
|
||||
}
|
||||
window.agGridOptions = agGridOptions;
|
||||
|
||||
Vendored
+3
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user