重构联查功能

尝试把列表构建改成由前端渲染
This commit is contained in:
2021-03-12 07:56:51 +08:00
parent 8ad68e938e
commit d795809fb3
19 changed files with 515 additions and 196 deletions
+3
View File
@@ -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 {
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+10 -10
View File
@@ -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;
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -1,8 +1,8 @@
{
"/assets/dist/bundle.min.js": "/assets/dist/bundle.min.js?id=6ed6b193096450339853",
"/assets/dist/app.min.js": "/assets/dist/app.min.js?id=7f970b0394bf5cba9353",
"/assets/dist/app.min.css": "/assets/dist/app.min.css?id=b145e2781689d581fc3f",
"/assets/dist/app.min.js": "/assets/dist/app.min.js?id=6b963e5843726542f368",
"/assets/dist/app.min.css": "/assets/dist/app.min.css?id=290d60b320ac8f048b29",
"/assets/vendor/ag-grid/ag-grid.min.css": "/assets/vendor/ag-grid/ag-grid.min.css?id=0e414057cb24126f35ae",
"/assets/dist/index.min.js": "/assets/dist/index.min.js?id=ed7b4656fa575c6e2308",
"/assets/dist/index.min.css": "/assets/dist/index.min.css?id=5ef88862b299dea834f5"
"/assets/dist/index.min.js": "/assets/dist/index.min.js?id=0b5199e460c9072a6bee",
"/assets/dist/index.min.css": "/assets/dist/index.min.css?id=2a1c8520e6db7b17f69a"
}