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
01e85bd4
Commit
01e85bd4
authored
Aug 26, 2022
by
季圣华
Browse files
给部分表增加启用状态和排序字段,完善对应页面
parent
b6cf6d4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/modules/RoleModal.vue
View file @
01e85bd4
...
...
@@ -30,7 +30,10 @@
</a-tooltip>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"描述"
>
<a-textarea
:rows=
"2"
placeholder=
"请输入描述"
v-decorator=
"[ 'description', validatorRules.description ]"
/>
<a-textarea
:rows=
"1"
placeholder=
"请输入描述"
v-decorator=
"[ 'description', validatorRules.description ]"
/>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"排序"
>
<a-input
placeholder=
"请输入排序"
v-decorator.trim=
"[ 'sort' ]"
/>
</a-form-item>
</a-form>
</a-spin>
...
...
@@ -90,7 +93,7 @@
this
.
model
=
Object
.
assign
({},
record
);
this
.
visible
=
true
;
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
name
'
,
'
type
'
,
'
description
'
))
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
name
'
,
'
type
'
,
'
sort
'
,
'
description
'
))
autoJumpNextInput
(
'
roleModal
'
)
});
},
...
...
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