| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {type: 'checkbox', fixed: 'left'} |
| | | // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} |
| | | //,{field: 'title', title: '标题', sort: true,align: 'center', fixed: 'left', width: 80} |
| | | ,{field: 'title', title: '标题', align: 'center',} |
| | | ,{field: 'name', align: 'center',title: '权限名称'} |
| | | ,{field: 'action', align: 'center',title: '接口地址'} |
| | | // ,{field: 'resourceName', align: 'center',title: '所属菜单',event: 'Resource', style: 'text-decoration: underline;cursor:pointer'} |
| | |
| | | shade: [0.5,'#000'] //0.1透明度的背景 |
| | | }); |
| | | var data = { |
| | | title: $('#title').val(), |
| | | id: $('#id').val(), |
| | | name: $('#name').val(), |
| | | action: $('#action').val(), |