| | |
| | | |
| | | <!-- 表单弹窗 --> |
| | | <script type="text/html" id="app-model"> |
| | | <form id="app-form" lay-filter="app-form" class="layui-form model-form"> |
| | | <form id="app-form" lay-filter="app-form" class="layui-form model-form" autocomplete="off"> |
| | | <input name="id" type="hidden"/> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">字典类型</label> |
| | |
| | | // 搜索按钮点击事件 |
| | | $('#app-btn-search').click(function () { |
| | | var key = $('#app-edit-search').val(); |
| | | table.reload('app-table', { where: { dictionariesName: key } }); |
| | | table.reload('app-table', { |
| | | where: { dictionariesName: key }, |
| | | page: { |
| | | curr: 1 |
| | | } }); |
| | | }); |
| | | // 修改role状态 |
| | | form.on('switch(dictionaries-tpl-state)', function (obj) { |