优化数据展示

This commit is contained in:
邹景立 2022-05-15 13:56:45 +08:00
parent 831a852b4c
commit a02e2b1577
2 changed files with 3 additions and 3 deletions

View File

@ -38,8 +38,8 @@
cols: [[
{checkbox: true},
{field: 'sort', title: '排序权重', width: 100, align: 'center', sort: true, templet: '#SortInputTpl'},
{field: 'code', title: '模板编号', align: "left", minWidth: 100},
{field: 'name', title: '模板名称', align: "left", minWidth: 100},
{field: 'code', title: '模板编号', align: "center", minWidth: 100},
{field: 'name', title: '模板名称', align: "center", minWidth: 100},
{field: 'status', title: '使用状态', align: 'center', minWidth: 110, templet: '#StatusSwitchTpl'},
{field: 'create_at', title: '添加时间', align: 'center', minWidth: 170},
{toolbar: '#toolbar', title: '操作面板', align: 'center', minWidth: 80, fixed: 'right'}

View File

@ -24,7 +24,7 @@
even: true, height: 'full',
sort: {field: 'number', type: 'asc'},
cols: [[
{field: 'number', title: '序号', align: "center", width: 120, sort: true},
{field: 'number', title: '序号', align: "center", width: 100, sort: true},
{field: 'name', title: '等级名称', align: 'center', minWidth: 120},
{
field: 'upgrade_team', title: '团队计数', align: 'center', width: 80, templet: function (d) {