user.html 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script class="include" system="" path="inc/" file="head">include()</script>
  5. </head>
  6. <body>
  7. <div id="content_2" style="display:">
  8. <div class="layui-fluid">
  9. <div class="layui-card">
  10. <input type="hidden" name="url1" id="url" value="http://192.168.33.10/churen/package/manage/?l=project/database/list&project=factory&search_option_factory_id=1&oper_table=info&page_type=2&table=member&menu=factory&menu_id=65&search_option_state=1&search_option_factory_id=1&search_option_state=1"/>
  11. <form id="form1" name="form1" method="get" target="f1" action="http://192.168.33.10/churen/package/manage/?l=project/database/list&project=factory&search_option_factory_id=1&oper_table=info&page_type=2&table=member&menu=factory&menu_id=65&search_option_state=1">
  12. <input type="hidden" name="l" id="l" value="project/database/list"/>
  13. <input type="hidden" name="project" id="project" value="factory"/>
  14. <input type="hidden" name="table" id="tables" value="member"/>
  15. <input type="hidden" name="menu" id="menu" value="factory"/>
  16. <input type="hidden" name="search_option_state" id="search_option_state" value="1"/>
  17. <input type="hidden" name="function" id="function" value="msg"/>
  18. <input type="hidden" name="method" id="method" value="search"/>
  19. <div id="search_param"></div>
  20. <iframe id="f1" name="f1" style="display:none;"></iframe>
  21. <div class="layui-card-header" style="display:none;"><span id="list-name"></span> > <span id="list-project">工厂管理</span></div>
  22. <div class="layui-card-body">
  23. <div style="padding-bottom: 10px;">
  24. <a class="layui-btn layuiadmin-btn-list" data-type="add" id="list-add" href="http://192.168.33.10/churen/package/manage/?l=project/database/update&project=factory&search_option_factory_id=1&oper_table=info&page_type=2&table=member&menu=factory&menu_id=65&search_option_state=1" style="">添加新员工</a>
  25. </div>
  26. <div id="table_1" style="display:none"></div>
  27. <div id="table_2" style="display:">
  28. <table class="table layui-table layui-table-body" id="table">
  29. <thead id="list-thead">
  30. <tr><th data-priority="1">员工姓名</th><th data-priority="1">员工手机号</th><th data-priority="1">角色</th><th data-priority="1">创建时间</th><th data-priority="1" class="dever-manage">管理</th></tr>
  31. </thead>
  32. <tbody id="list-tbody"><tr><td>test</td><td>12321</td><td>管理员</td><td>2021-11-08 16:43:01</td><td><a href="http://192.168.33.10/churen/package/manage/?l=project/database/update&project=factory&search_option_factory_id=1&oper_table=info&page_type=2&table=member&menu=factory&menu_id=65&search_option_state=1&where_id=2" class="oper_update"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 layui-btn layui-btn-xs"><span class="am-icon-pencil-square-o"></span>编辑</button></a>&nbsp;&nbsp;<a href="http://192.168.33.10/churen/package/manage/?l=database.delete_action&project=factory&search_option_factory_id=1&oper_table=info&page_type=2&table=member&menu=factory&menu_id=65&search_option_state=1&where_id=2" class="oper_delete"><button type="button" class="btn btn-info btn-rounded waves-effect waves-light m-b-5 layui-btn layui-btn-danger layui-btn-xs"><span class="am-icon-trash-o"></span>删除</button></a>&nbsp;&nbsp;</td></tr></tbody>
  33. </table>
  34. <div id="mul"></div>
  35. <div id="page"></div>
  36. <div class="dever_desc" id="desc" style="display:none;"></div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </div>
  45. <script class="include" system="" path="inc/" file="script">include()</script>
  46. <script>
  47. layui.config({
  48. base: '../script/lib/layui/admin/' //静态资源所在路径
  49. }).extend({
  50. formSelects: 'plugin/formselects/formselects',
  51. index: 'lib/index' //主入口模块
  52. }).use(['index', 'contlist', 'table', 'form', 'formSelects'], function(){
  53. var table = layui.table;
  54. var form = layui.form;
  55. var formSelects = layui.formSelects;
  56. init();
  57. });
  58. </script>
  59. </body>
  60. </html>