123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/6
- * Time: 下午2:30
- */
- use backend\assets\AppAsset;
- AppAsset::addCss($this,Yii::$app->request->baseUrl."/static/layui/css/treetable.css");
- //AppAsset::addScript($this,Yii::$app->request->baseUrl."/company/ceshi.js");
- //AppAsset::addScript($this,Yii::$app->request->baseUrl."/static/plug-in/jquery-3.2.1.min.js");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/city.js");
- ?>
- <style>
- body {
- padding: 15px;
- }
- .layui-elem-quote {
- margin-bottom: 0;
- border-left: none;
- padding: 10px;
- }
- .layui-table-page .layui-laypage {float:right;margin-right:1%;}
- </style>
- <form class="layui-form">
- <fieldset class="layui-elem-field">
- <legend>搜索信息</legend>
- <div class="layui-field-box">
- <blockquote class="quoteBox demoTable">
- <div class="layui-input-inline">
- <select name="province" lay-filter="province" class="province" lay-search="">
- <option value="">请选择省</option>
- </select>
- </div>
- <div class="layui-input-inline">
- <select name="city" lay-filter="city" lay-search="">
- <option value="">请选择市</option>
- </select>
- </div>
- <div class="layui-inline">
- <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
- </div>
- </blockquote>
- </div></fieldset>
- </form>
- <blockquote class="layui-elem-quote quoteBox demoTable">
- <div class="layui-inline">
- <a class="layui-btn layui-btn-normal " data-type="addData">新增主区域</a>
- </div></blockquote>
- <table id="citylist" lay-filter="citylist"></table>
- <script type="text/html" id="operate">
- {{# if(d.level == 1 || d.level == 2){ }}
- <a class="layui-btn layui-btn-xs" lay-event="addson">新增子区域</a>
- {{# } }}
- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
- </script>
|