| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <table class="layui-hide" id="ck-table"></table> |
| | | <table class="layui-hide" id="mainTable"></table> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script> |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script> |
| | |
| | | RoadQuery($('#Value').val(), 0); |
| | | }); |
| | | form.on('submit(FH)', function () { |
| | | var checkStatus = table.checkStatus('ck-table') |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | switch (Type) { |
| | | case "Repair": |
| | |
| | | }); |
| | | RoadQuery($('#Value').val(), 0); |
| | | table.render({ |
| | | elem: '#ck-table' |
| | | elem: '#mainTable' |
| | | , data: [] |
| | | , cellMinWidth: 80 |
| | | , cols: [[ |
| | |
| | | , { field: 'HNumber', width: 150, title: '缁翠慨椤圭洰浠g爜' } |
| | | , { field: 'HName', width: 150, title: '缁翠慨椤圭洰', sort: true } |
| | | ]] |
| | | , page: true |
| | | , page: true |
| | | , limits: [50, 500, 5000, 50000], |
| | | limit: 50 |
| | | }); |
| | | ///鍔犺浇鏄剧ず鏁版嵁 |
| | | function RoadQuery(Where) { |
| | |
| | | //data: { "Value": Value }, |
| | | success: function (result) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(result)).data; |
| | | table.reload('ck-table', { |
| | | table.reload('mainTable', { |
| | | data: ajaxReturnData |
| | | , height: 'full-10' |
| | | , loading: false |