| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 表格操作栏 start --> |
| | | <script type="text/html" id="agentListChild-option"> |
| | | <button class="layui-btn layui-btn-normal layui-btn-xs" type="button" shiro:hasPermission="agentList:tdView">字段显示隐藏</button> |
| | | </script> |
| | | <script data-th-inline="none" type="text/javascript"> |
| | | layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect' ,'eleTree'], function () { |
| | | var $ = layui.jquery, |
| | |
| | | tableIns, |
| | | createTimeFrom, |
| | | createTimeTo; |
| | | let toolbarAgentListChild = $.trim($("#agentListChild-option").html())==="" ? true : false; |
| | | |
| | | form.render(); |
| | | |
| | |
| | | url: ctx + 'admin/mallMember/agentChild?parentId=1', |
| | | cols: [[ |
| | | {field: 'name', title: '姓名', minWidth: 150,align:'center'}, |
| | | {field: 'phone', title: '电话', minWidth: 150,align:'center'}, |
| | | {field: 'phone', title: '电话', minWidth: 150,align:'center',hide:toolbarAgentListChild}, |
| | | {field: 'inviteId', title: '邀请码', minWidth: 150,align:'center'}, |
| | | {field: 'levelName', title: '等级', minWidth: 150,align:'center'}, |
| | | {field: 'amount', title: '团队业绩', minWidth: 150,align:'center'}, |
| | |
| | | tableIns; |
| | | |
| | | let toolbarAgentList = $.trim($("#agentList-option").html())==="" ? true : false; |
| | | console.log(toolbarAgentList) |
| | | |
| | | form.render(); |
| | | |