layui.config({ base: basePath, version: skyeyeVersion }).extend({ window: 'js/winui.window' }).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) { winui.renderColor(); var $ = layui.$, form = layui.form, table = layui.table; // 我借用中的印章列表 table.render({ id: 'messageTable', elem: '#messageTable', method: 'post', url: sysMainMation.admBasePath + 'queryMyRevertSealPageList', where: getTableParams(), even: true, page: true, limits: getLimits(), limit: getLimit(), cols: [[ { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' }, { field: 'name', title: '印章名称', align: 'left', width: 150 }, { field: 'licenceAdmin', title: '管理员', align: 'left', width: 120, templet: function(d) { return isNull(d.licenceAdminMation) ? '' : d.licenceAdminMation.name; }}, ]], done: function(json) { matchingLanguage(); initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入印章名称", function () { table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()}); }); } }); form.render(); $("body").on("click", "#reloadTable", function() { loadTable(); }); function loadTable() { table.reloadData("messageTable", {where: getTableParams()}); } function getTableParams() { return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable")); } exports('mySealManagement', {}); });