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
478da405
Commit
478da405
authored
Oct 09, 2021
by
季圣华
Browse files
优化仓库、角色、用户界面
parent
6fb687a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/modules/DepotModal.vue
View file @
478da405
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<a-input
placeholder=
"请输入排序"
v-decorator.trim=
"[ 'sort' ]"
/>
<a-input
placeholder=
"请输入排序"
v-decorator.trim=
"[ 'sort' ]"
/>
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"备注"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"备注"
>
<a-
input
placeholder=
"请输入备注"
v-decorator.trim=
"[ 'remark' ]"
/>
<a-
textarea
:rows=
"2"
placeholder=
"请输入备注"
v-decorator.trim=
"[ 'remark' ]"
/>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-spin>
</a-spin>
...
...
jshERP-web/src/views/system/modules/RoleModal.vue
View file @
478da405
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</a-select>
</a-select>
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"描述"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"描述"
>
<a-textarea
:rows=
"
5
"
placeholder=
"请输入描述"
v-decorator=
"[ 'description', validatorRules.description ]"
/>
<a-textarea
:rows=
"
2
"
placeholder=
"请输入描述"
v-decorator=
"[ 'description', validatorRules.description ]"
/>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-spin>
</a-spin>
...
...
jshERP-web/src/views/system/modules/UserModal.vue
View file @
478da405
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
<a-input
placeholder=
"请输入排序"
v-decorator.trim=
"[ 'userBlngOrgaDsplSeq' ]"
/>
<a-input
placeholder=
"请输入排序"
v-decorator.trim=
"[ 'userBlngOrgaDsplSeq' ]"
/>
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"描述"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"描述"
>
<a-textarea
:rows=
"
1
"
placeholder=
"请输入描述"
v-decorator=
"[ 'description' ]"
/>
<a-textarea
:rows=
"
2
"
placeholder=
"请输入描述"
v-decorator=
"[ 'description' ]"
/>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-spin>
</a-spin>
...
@@ -116,8 +116,6 @@
...
@@ -116,8 +116,6 @@
}
}
},
},
created
()
{
created
()
{
this
.
loadOrgaData
()
this
.
loadRoleData
()
const
token
=
Vue
.
ls
.
get
(
ACCESS_TOKEN
);
const
token
=
Vue
.
ls
.
get
(
ACCESS_TOKEN
);
this
.
headers
=
{
"
X-Access-Token
"
:
token
}
this
.
headers
=
{
"
X-Access-Token
"
:
token
}
},
},
...
@@ -126,13 +124,14 @@
...
@@ -126,13 +124,14 @@
this
.
edit
({});
this
.
edit
({});
},
},
edit
(
record
)
{
edit
(
record
)
{
let
that
=
this
;
this
.
loadOrgaData
()
that
.
form
.
resetFields
();
this
.
loadRoleData
()
that
.
userId
=
record
.
id
;
this
.
form
.
resetFields
();
that
.
visible
=
true
;
this
.
userId
=
record
.
id
;
that
.
model
=
Object
.
assign
({},
record
);
this
.
visible
=
true
;
that
.
$nextTick
(()
=>
{
this
.
model
=
Object
.
assign
({},
record
);
that
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
loginName
'
,
'
username
'
,
'
roleId
'
,
'
orgaId
'
,
'
position
'
,
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
loginName
'
,
'
username
'
,
'
roleId
'
,
'
orgaId
'
,
'
position
'
,
'
phonenum
'
,
'
email
'
,
'
userBlngOrgaDsplSeq
'
,
'
description
'
))
'
phonenum
'
,
'
email
'
,
'
userBlngOrgaDsplSeq
'
,
'
description
'
))
});
});
},
},
...
...
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