Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
58ec8228
authored
2026-03-16 11:17:57 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改用户传参问题
1 parent
968ff2b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
src/views/data_basic/addUser.vue
src/views/data_basic/addUser.vue
View file @
58ec822
...
...
@@ -247,7 +247,6 @@ const submitHandle = async () => {
if
(
!
result
)
{
return
;
}
let
submitParam
:
any
=
{
staffName
:
resultForm1
.
staffName
,
leaderGuid
:
resultForm1
.
leaderGuid
,
...
...
@@ -260,7 +259,16 @@ const submitHandle = async () => {
},
organisationInfo
:
organisationInfo
.
value
}
let
funcPermissionTemplateJson
=
resultForm1
.
funcPermissionTemplateJson
||
[];
if
(
funcPermissionTemplateJson
?.
length
)
{
submitParam
.
staffMain
.
funcPermissionTemplateJson
=
funcPermissionTemplateJson
.
map
(
i
=>
{
let
item
=
templateList
.
value
.
find
(
j
=>
j
.
guid
==
i
);
return
{
guid
:
item
.
guid
,
name
:
item
.
templateName
,
}
})
}
let
message
=
'提交成功'
let
param
=
{
guid
:
unref
(
bizGuid
)
||
''
,
...
...
@@ -330,7 +338,7 @@ async function getDetail() {
function
setDetail
()
{
let
funcPermissionTemplateJson
=
detailData
.
value
.
funcPermissionTemplateJson
let
formData
=
{
funcPermissionTemplateJson
,
funcPermissionTemplateJson
:
funcPermissionTemplateJson
.
map
(
f
=>
f
.
guid
)
,
mobileNo
:
detailData
.
value
.
mobileNo
,
staffName
:
detailData
.
value
.
staffName
,
staffNo
:
detailData
.
value
.
staffNo
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment