整理对话框相关逻辑,封装部分js方法

This commit is contained in:
2021-03-18 06:39:17 +08:00
parent bc79583fe7
commit 7223845862
96 changed files with 317 additions and 1887 deletions
@@ -47,7 +47,6 @@
new agGrid.Grid(gridDiv, grid);
gridDiv.style.height = getPanelHeight(12);
// 读取数据
grid.remoteData();
var search = $('#' + table + '-search-form-advanced').searchForm({
@@ -54,7 +54,6 @@
new agGrid.Grid(gridDiv, grid);
gridDiv.style.height = getPanelHeight(12);
// 读取数据
grid.remoteData();
var search_advanced = $('#' + table + '-search-form-advanced').searchForm({
@@ -74,7 +74,6 @@
grid.api.setColumnDefs(columnDefs);
}
// 读取数据
grid.remoteData(null, function(res) {
setColumns(res);
});
@@ -37,7 +37,6 @@
var gridDiv = document.querySelector("#dialog-delivery_plan");
new agGrid.Grid(gridDiv, grid);
// 读取数据
grid.remoteData();
})(jQuery);