Browse Source

完善租户模块

pull/1/head
zongjl 2 years ago
parent
commit
94afa890bd
2 changed files with 28 additions and 28 deletions
  1. +27
    -27
      src/views/data/tenant/index.vue
  2. +1
    -1
      vue.config.js

+ 27
- 27
src/views/data/tenant/index.vue View File

columns: [ columns: [
{ {
title: '编号', title: '编号',
dataIndex: 'name',
dataIndex: 'id',
align: 'center', align: 'center',
width: 160, width: 160,
}, },
width: 150, width: 150,
}, },
{ {
title: '租户编码',
dataIndex: 'code',
title: '租户账号',
dataIndex: 'username',
align: 'code', align: 'code',
width: 100, width: 100,
}, },
align: 'center', align: 'center',
width: 150, width: 150,
}, },
{
title: '租户邮箱',
dataIndex: 'email',
align: 'center',
width: 150,
},
{
title: '租户地址',
dataIndex: 'address',
align: 'center',
width: 250,
},
// {
// title: '租户邮箱',
// dataIndex: 'email',
// align: 'center',
// width: 150,
// },
// {
// title: '租户地址',
// dataIndex: 'address',
// align: 'center',
// width: 250,
// },
{ {
title: '租户状态', title: '租户状态',
dataIndex: 'status', dataIndex: 'status',
align: 'center', align: 'center',
slots: {customRender: 'status'} slots: {customRender: 'status'}
}, },
{
title: '排序',
dataIndex: 'sort',
width: 100,
align: 'center'
},
{
title: '备注',
dataIndex: 'note',
width: 200,
align: 'center'
},
// {
// title: '排序',
// dataIndex: 'sort',
// width: 100,
// align: 'center'
// },
// {
// title: '备注',
// dataIndex: 'note',
// width: 200,
// align: 'center'
// },
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createTime', dataIndex: 'createTime',

+ 1
- 1
vue.config.js View File

// plugins: [new DynamicAntdLess()] // plugins: [new DynamicAntdLess()]
plugins: [new DynamicAntdLess({ plugins: [new DynamicAntdLess({
replaces: { replaces: {
'darken(@shadow-color, 5%)': '@shadow-color'
'darken(@shadow-color, 5%)': '@shadow-color'
} }
})] })]
} }

Loading…
Cancel
Save