123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- {extend name="public/layout" /} {block name="title"}集团共享话术公司列表{/block} {block name="body"}
- <style type="text/css">
- html,
- body {
- display: block;
- min-width: 1100px;
- }
- .layui-table thead tr,
- .layui-table-header {
- background-color: #D8E6F1 !important;
- }
- .layui-fluid {
- display: block;
- box-shadow: 0 0 4px 0 #B6CADE;
- border-radius: 5px;
- margin: 15px;
- background-color: #ffffff;
- }
-
- .layui-tab {
- padding: 15px;
- height: 100%;
- }
-
-
- .searchBox .inputBox {
- width: 240px;
- float: left;
- height: 36px;
- line-height: 36px;
- border-width: 0;
- }
- .layui-btn-primary {
- color: #249EFB;
- border: 1px solid #249EFB;
- }
- .layui-btn-primary:hover {
- background-color: #E3F7FF;
- color: #249EFB;
- }
- .layui-table-page>div {
- display: flex;
- justify-content: flex-start;
- }
- .layui-table-view .layui-table{width:100% !important;}
- .layui-table-fixed{width:100% !important;}
- </style>
- <body>
- <div class="layui-fluid">
- <div class="layui-card">
- <div class="layui-card-body" style="text-align: center;">
- <table id="table" lay-filter="table"></table>
- </div>
- </div>
- </div>
- </body>
- {/block} {block name="js"}
- <script type="text/html" id="count">
- <a href="{:url('talkskill/groupTalkskillLabel')}?root_id={{d.root_id}}&from=company" style="color: #0066CC"><i class="layui-icon"></i>{{d.count}}</a>
- </script>
- <script>
- layui.config({
- base: '__LAYUI__/',
- urlbase: '/sys'
- }).extend({
- index: 'lib/index' //主入口模块
- }).use(['index', 'table', 'element'], function() {
- var $ = layui.$,
- form = layui.form,
- element = layui.element,
- table = layui.table;
- table.render({
- elem: '#table',
- autoSort: false,
- url: "{:url('talkskill/groupCompanyTalkskill')}",
- cols: [
- [{
- align:'center',
- type: 'numbers',
- field: 'id',
- width: 100,
- title: '序号',
- sort: true
- }, {
- align:'center',
- field: 'company_name',
- title: '店面名称',
- }, {
- align:'center',
- title: '数量',
- templet:'#count'
- }]
- ],
- page: true,
- limit: 30,
- height: 'full-160',
- text: '对不起,加载出现异常!'
- });
- });
- </script>
- {/block}
|