officezt.php 939 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/zt/officezt.js");
  4. ?>
  5. <style>
  6. body {
  7. padding: 15px;
  8. }
  9. .layui-elem-quote {
  10. margin-bottom: 0;
  11. border-left: none;
  12. padding: 10px;
  13. }
  14. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  15. .layui-table-view .layui-form-switch{right:0px}
  16. </style>
  17. <blockquote class="layui-elem-quote quoteBox demoTable">
  18. <div class="layui-btn-group demoTable" >
  19. <a class="layui-btn" data-type="addData">新增</a>
  20. </div></blockquote>
  21. <table id="officeztlist" lay-filter="officeztlist"></table>
  22. <script type="text/html" id="officeztfunc">
  23. <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="gl">关联楼盘</a>
  24. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  25. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  26. </script>