filter dong bo du lieu giua cac thiet bi

This commit is contained in:
2020-12-30 11:43:03 +07:00
parent d296533184
commit 09604d1cb8
4 changed files with 107 additions and 8 deletions

View File

@@ -312,6 +312,9 @@ function _syncForm(e) {
success: function (data) {
common.modalBlock(false);
common.modalOpenFullScreen(data.form, data.title);
$("#filter-from-server").select2({
placeholder: "Tìm kiếm theo ID hoặc tên"
});
},
error: function (jqXHR, textStatus, errorThrown) {
common.modalBlock(false);
@@ -569,7 +572,7 @@ function syncFeatureToServer(id, fullData) {
window.location.reload(true);
}, 2000)
} else {
syncFeature(fullData[progressToServer], fullData);
syncFeatureToServer(fullData[progressToServer], fullData);
}
},
error: function (jqXHR, textStatus, errorThrown) {