基于获得数据表格以及传数据的方式
如下所示:
数据表格一:
div style=' margin:0px背景-颜色:白色;margin :0 10px ' block quote class=' layui-elem-quote ' div class=' layui-BTN-group DeOpable ' button class=' layui-BTN ' data-type=' GetCheckDATa '下载/button/div form class=' layui-form ' style=' float 3360 right;div class=' layui-form-item ' style=' margin :0;label class='layui-form-label '名称/label div class=' layui-input-inline ' input type=' text ' name=' zname ' placeholder='输入作业名称自动完成=' off ' class=' layui-input '/div class=' layui-form-mid layui-word-aux ' style=' padd :0;'按钮id=' cha ' lay-filter=' search ' class=' layui-BTN ' lay-submiti class=' fa-search ' aria-hidden=' true '/I查询/button/div/div/form/block quote/div table class=' layui-table ' lay-data=' { URL : './task/selectTask.do ',第:页,id:'test2'} '第一层数据='{checkbox:true,fixed : true } '/第一层数据='{field:'id ',width:60,sort : true } ' ID/第一层数据='{field:'cid ',width:150,sort 33333330 '课程id/th lay-data=' { field : ' tid ',width:150,sort: true} '教师id/th lay-data=' { field : ' zname ',width:150,sort: true} '作业名称/th lay-data=' { field : ' z time ',width:150,sort: true,toolbar: ' # timeTpl ' } '提交时间/th lay-data=' { field : ' z context ',width:150,sort: true} '作业内容/th lay-data=' { field : ' zremarks ',width:150,sort: true} '备注/th lay-data=' { fixed : ' right ',width:100,align:'center ',toolbar : ' # barde mo 1 ' } '/th/tr/ad/table(9500 . 163.com)
数据传输方式
脚本类型=' text/html ' id=' barde mo 1 ' a href='/?zname={ { d . zname } } ' rel='外部无跟随' class=' layui-BTN layui-BTN-mini ' lay-event=' edit '下载a/脚本将参数绑定传入后台
jo.put('code ',0);jo.put('msg ',' : ');jo.put('count ',1000);jo.put('data ',list);后台数据传入前台的方式
数据表格二:
div class=' admin-main ' block quote class=' layui-elem-quote ' a href=' JavaScript :'rel='外部nofollow' rel='外部nofollow ' class=' layui-BTN layui-BTN-small ' id=' add ' I class='layui-icon'/i添加信息/a a href=' # ' rel=' external nofollow ' rel=' external nofollow ' rel=' external nofollow ' class=' layui-BTN layui-BTN-small ' id=' import ' I class='layui-icon'/i导入信息/a a a href=' # rel=' external nofollow ' rel=' external nofollow ' rel=' external nofollow ' class=' layui-BTN layui-BTN-small ' I class=' fa fa fa-购物车aria-hidden='true'/i导出信息/a a href=' # ' rel=' external nofollow ' rel=' external nofollow ' rel=' external nofollow ' class=' layui-BTNlayui-BTN-small ' id=' GetSelected ' I class=' fa-购物车aria-hidden='true'/i获取全选信息/a a href=' JAVAScript :' rel='外部nofollow' rel='外部nofollow ' class=' layui-BTN layui-BTN-small ' id=' search ' I class='layui-icon'/i搜索/a/阻止报价字段集class=' layui-elem-field '图例数据列表/legend div class=' layui-field-box layui-form ' table class=' layui-table admin-table '并且tr th style=' width: 30px '输入类型=' checkbox ' lay-filter=' all selector ' lay-skin=' primary '/th编号/th用户名/th真实姓名/th性别/th电话/th邮箱/th公司/th职位/th政治面貌/th培训状态/th账号状态/th角色/th创建时间/th备注/th/tr/ad t正文id=' content '/t正文/表/div/字段集div class=' admin-table-page ' div id=' paged ' class=' page '/div/div/div(9501 . 163.com)
以上这篇基于获得数据表格以及传数据的方式就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持我们。
版权声明:基于获得数据表格以及传数据的方式是由宝哥软件园云端程序自动收集整理而来。如果本文侵犯了你的权益,请联系本站底部QQ或者邮箱删除。