houselabel.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/6
  6. * Time: 下午2:30
  7. */
  8. use backend\assets\AppAsset;
  9. //AppAsset::addScript($this,Yii::$app->request->baseUrl."/company/ceshi.js");
  10. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/dictionarya/houselabel.js");
  11. ?>
  12. <style>
  13. body {
  14. padding: 15px;
  15. }
  16. .layui-elem-quote {
  17. margin-bottom: 0;
  18. border-left: none;
  19. padding: 10px;
  20. }
  21. </style>
  22. <blockquote class="layui-elem-quote quoteBox demoTable">
  23. <div class="layui-btn-group demoTable" >
  24. <button class="layui-btn" data-type="addData">新增</button>
  25. <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
  26. <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
  27. </div>
  28. </blockquote>
  29. <table id="houselabellist" lay-filter="houselabellist"></table>
  30. <script type="text/html" id="operate">
  31. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  32. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  33. </script>