Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
ab97e0f4
Commit
ab97e0f4
authored
Apr 11, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复数据权限保存报错问题
parent
be10d8b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
20 deletions
+15
-20
HPPZ010.js
src/main/webapp/HP/PZ/HPPZ010.js
+15
-20
No files found.
src/main/webapp/HP/PZ/HPPZ010.js
View file @
ab97e0f4
...
...
@@ -218,26 +218,21 @@ let save = function () {
return
;
}
JSUtils
.
confirm
(
"确定对勾选中的数据做
\"
保存
\"
操作? "
,
{
ok
:
saveOk
(
pageNode
,
orgNode
)
});
}
/**
* 保存确认
*/
let
saveOk
=
function
(
pageNode
,
orgNode
)
{
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"result-0-pageEname"
,
pageNode
.
label
);
inInfo
.
set
(
"result-0-pageCname"
,
pageNode
.
text
);
inInfo
.
set
(
"result-0-authDepCode"
,
orgNode
.
label
);
inInfo
.
set
(
"result-0-authDepName"
,
orgNode
.
text
);
inInfo
.
set
(
"result-0-authType"
,
$
(
"input:radio[name='result-0-authType']:checked"
).
val
());
EiCommunicator
.
send
(
"HPPZ010"
,
"save"
,
inInfo
,
{
onSuccess
:
function
(
res
)
{
message
(
res
.
msg
);
},
onFail
:
function
(
res
)
{
ok
:
function
()
{
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"result-0-pageEname"
,
pageNode
.
label
);
inInfo
.
set
(
"result-0-pageCname"
,
pageNode
.
text
);
inInfo
.
set
(
"result-0-authDepCode"
,
orgNode
.
label
);
inInfo
.
set
(
"result-0-authDepName"
,
orgNode
.
text
);
inInfo
.
set
(
"result-0-authType"
,
$
(
"input:radio[name='result-0-authType']:checked"
).
val
());
EiCommunicator
.
send
(
"HPPZ010"
,
"save"
,
inInfo
,
{
onSuccess
:
function
(
res
)
{
message
(
res
.
msg
);
},
onFail
:
function
(
res
)
{
}
},
{
async
:
false
});
}
}
,
{
async
:
false
}
);
});
}
Write
Preview
Markdown
is supported
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