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
6dc9f5ac
Commit
6dc9f5ac
authored
Oct 13, 2021
by
季圣华
Browse files
优化租户添加模块
parent
6826e125
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/TenantList.vue
View file @
6dc9f5ac
...
...
@@ -130,6 +130,7 @@
},
{
title
:
'
创建时间
'
,
dataIndex
:
'
createTimeStr
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
到期时间
'
,
dataIndex
:
'
expireTimeStr
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
描述
'
,
dataIndex
:
'
remark
'
,
width
:
200
,
align
:
"
center
"
,
ellipsis
:
true
},
{
title
:
'
操作
'
,
dataIndex
:
'
action
'
,
...
...
jshERP-web/src/views/system/modules/TenantModal.vue
View file @
6dc9f5ac
...
...
@@ -16,16 +16,19 @@
suffix=
"初始密码:123456"
/>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"用户数量限制"
>
<a-input-number
style=
"width:
6
0%"
placeholder=
"请输入用户数量限制"
v-decorator.trim=
"[ 'userNumLimit' ]"
/>
<a-input-number
style=
"width:
10
0%"
placeholder=
"请输入用户数量限制"
v-decorator.trim=
"[ 'userNumLimit' ]"
/>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"租户类型"
>
<a-select
style=
"width:
6
0%"
placeholder=
"请选择租户类型"
v-decorator.trim=
"[ 'type' ]"
>
<a-select
style=
"width:
10
0%"
placeholder=
"请选择租户类型"
v-decorator.trim=
"[ 'type' ]"
>
<a-select-option
value=
"0"
>
免费租户
</a-select-option>
<a-select-option
value=
"1"
>
付费租户
</a-select-option>
</a-select>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"到期时间"
>
<j-date
style=
"width:60%"
placeholder=
"请选择到期时间"
v-decorator.trim=
"[ 'expireTime' ]"
:show-time=
"true"
/>
<j-date
style=
"width:100%"
placeholder=
"请选择到期时间"
v-decorator.trim=
"[ 'expireTime' ]"
:show-time=
"true"
/>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"描述"
>
<a-textarea
:rows=
"2"
placeholder=
"请输入描述"
v-decorator.trim=
"[ 'remark' ]"
/>
</a-form-item>
</a-form>
</a-spin>
...
...
@@ -79,7 +82,7 @@
this
.
model
.
expireTime
=
this
.
model
.
expireTimeStr
this
.
visible
=
true
;
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
loginName
'
,
'
userNumLimit
'
,
'
billsNumLimit
'
,
'
type
'
,
'
expireTime
'
))
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
loginName
'
,
'
userNumLimit
'
,
'
type
'
,
'
expireTime
'
,
'
remark
'
))
});
},
close
()
{
...
...
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