|
|
@ -38,27 +38,42 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'divider-selects',
|
|
|
|
field: 'divider-selects',
|
|
|
|
component: 'Divider',
|
|
|
|
component: 'Divider',
|
|
|
|
label: '授权信息',
|
|
|
|
label: '系统授权用户数',
|
|
|
|
colProps: { span: 24 },
|
|
|
|
colProps: { span: 24 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
field: 'authUserNum',
|
|
|
|
field: 'authUserNum',
|
|
|
|
label: '租户授权用户数',
|
|
|
|
label: '租户授权用户数',
|
|
|
|
component: 'Input',
|
|
|
|
component: 'InputNumber',
|
|
|
|
labelWidth: '140px',
|
|
|
|
labelWidth: '200px',
|
|
|
|
colProps: { span: 24 },
|
|
|
|
componentProps: {
|
|
|
|
|
|
|
|
min: 0,
|
|
|
|
|
|
|
|
placeholder: '可登陆系统的最大用户数',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
])
|
|
|
|
])
|
|
|
|
console.log(props.checkedKeys, 'props.checkedKeys')
|
|
|
|
console.log(props.checkedKeys, 'props.checkedKeys')
|
|
|
|
|
|
|
|
|
|
|
|
// const ASD = () => {
|
|
|
|
// const ASD = () => {
|
|
|
|
props.checkedKeys.forEach((item) => {
|
|
|
|
props.checkedKeys.forEach((item, index) => {
|
|
|
|
|
|
|
|
if (index == 0) {
|
|
|
|
|
|
|
|
authorization.value.push({
|
|
|
|
|
|
|
|
field: 'divider-selects',
|
|
|
|
|
|
|
|
component: 'Divider',
|
|
|
|
|
|
|
|
label: '权限模块授权',
|
|
|
|
|
|
|
|
colProps: { span: 24 },
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
authorization.value.push({
|
|
|
|
authorization.value.push({
|
|
|
|
field: `${item.key}--authNum`,
|
|
|
|
field: `${item.key}--authNum`,
|
|
|
|
label: `${item.title} 授权数`,
|
|
|
|
label: `${item.title} 授权数`,
|
|
|
|
component: 'Input',
|
|
|
|
component: 'InputNumber',
|
|
|
|
labelWidth: '140px',
|
|
|
|
labelWidth: '200px',
|
|
|
|
colProps: { span: 12 },
|
|
|
|
componentProps: {
|
|
|
|
|
|
|
|
min: 0,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
colProps: { span: 8 },
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
authorization.value.push({
|
|
|
|
authorization.value.push({
|
|
|
|