Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
c57fea9c
Commit
c57fea9c
authored
Oct 23, 2022
by
季圣华
Browse files
优化租户管理模块
parent
b6d1e012
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/TenantList.vue
View file @
c57fea9c
...
...
@@ -14,7 +14,7 @@
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"租户类型"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-select
v-model=
"queryParam.type"
placeholder=
"请选择租户类型"
>
<a-select-option
value=
"0"
>
免费
租户
</a-select-option>
<a-select-option
value=
"0"
>
试用
租户
</a-select-option>
<a-select-option
value=
"1"
>
付费租户
</a-select-option>
</a-select>
</a-form-item>
...
...
@@ -69,7 +69,7 @@
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderType"
slot-scope=
"type"
>
<a-tag
v-if=
"type==0"
>
免费
租户
</a-tag>
<a-tag
v-if=
"type==0"
>
试用
租户
</a-tag>
<a-tag
v-if=
"type==1"
color=
"green"
>
付费租户
</a-tag>
</
template
>
<
template
slot=
"customRenderEnabled"
slot-scope=
"enabled"
>
...
...
@@ -129,11 +129,12 @@
width
:
100
},
{
title
:
'
登录名称
'
,
dataIndex
:
'
loginName
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
用户数量限制
'
,
dataIndex
:
'
userNumLimit
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
租户类型
'
,
dataIndex
:
'
type
'
,
width
:
70
,
align
:
"
center
"
,
{
title
:
'
用户数量
'
,
dataIndex
:
'
userCount
'
,
width
:
60
,
align
:
"
center
"
},
{
title
:
'
用户数量限制
'
,
dataIndex
:
'
userNumLimit
'
,
width
:
80
,
align
:
"
center
"
},
{
title
:
'
租户类型
'
,
dataIndex
:
'
type
'
,
width
:
60
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderType
'
}
},
{
title
:
'
租户状态
'
,
dataIndex
:
'
enabled
'
,
width
:
7
0
,
align
:
"
center
"
,
{
title
:
'
租户状态
'
,
dataIndex
:
'
enabled
'
,
width
:
6
0
,
align
:
"
center
"
,
scopedSlots
:
{
customRender
:
'
customRenderEnabled
'
}
},
{
title
:
'
创建时间
'
,
dataIndex
:
'
createTimeStr
'
,
width
:
100
,
align
:
"
center
"
},
...
...
jshERP-web/src/views/system/modules/TenantModal.vue
View file @
c57fea9c
...
...
@@ -20,7 +20,7 @@
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"租户类型"
>
<a-select
style=
"width:100%"
placeholder=
"请选择租户类型"
v-decorator.trim=
"[ 'type' ]"
>
<a-select-option
value=
"0"
>
免费
租户
</a-select-option>
<a-select-option
value=
"0"
>
试用
租户
</a-select-option>
<a-select-option
value=
"1"
>
付费租户
</a-select-option>
</a-select>
</a-form-item>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment