import_log.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {extend name="base"/}
  2. {block name="resources"}
  3. <style>
  4. .layui-layout-admin .tips-wrap{margin-bottom: 15px;}
  5. </style>
  6. {/block}
  7. {block name="main"}
  8. <div class="detail-card tips-wrap">
  9. <div class="detail-con">
  10. <p class="detail-line">
  11. <span class="goods-name">会员导入</span>
  12. <span class="text-color">{$info.data.status_name}</span>
  13. </p>
  14. <p class="detail-line">导入时间:{:date('Y-m-d H:i:s', $info.data.create_time)}</p>
  15. </div>
  16. </div>
  17. <!-- 列表 -->
  18. <table id="member_import_log_list" lay-filter="member_import_log_list"></table>
  19. <!-- 工具栏操作 -->
  20. <input id="record_id" type="hidden" value="{$id}" />
  21. {/block}
  22. {block name="script"}
  23. <script>
  24. var table,repeat_flag = false;
  25. layui.use(['form','laytpl'], function() {
  26. var form = layui.form,
  27. record_id = $("#record_id").val();
  28. form.render();
  29. /**
  30. * 表格加载
  31. */
  32. table = new Table({
  33. elem: '#member_import_log_list',
  34. url: ns.url("shop/member/memberimportlist"),
  35. where : {
  36. "id" : record_id
  37. },
  38. cols: [
  39. [{
  40. field: 'username',
  41. title: '用户名',
  42. width: '8%',
  43. unresize: 'false',
  44. }, {
  45. field: 'mobile',
  46. title: '手机号',
  47. width: '8%',
  48. unresize: 'false',
  49. }, {
  50. field: 'nickname',
  51. title: '昵称',
  52. width: '15%',
  53. unresize: 'false',
  54. }, {
  55. field: 'wx_openid',
  56. title: '微信公众号openid',
  57. width: '20%',
  58. unresize: 'false',
  59. }, {
  60. field: 'weapp_openid',
  61. title: '小程序openid',
  62. width: '20%',
  63. unresize: 'false',
  64. }, {
  65. field: 'password',
  66. title: '密码',
  67. width: '8%',
  68. unresize: 'false',
  69. }, {
  70. field: 'content',
  71. title: '内容',
  72. width: '21%',
  73. unresize: 'false',
  74. }]
  75. ]
  76. });
  77. });
  78. </script>
  79. {/block}