Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
2f1b142c
Commit
2f1b142c
authored
Jul 29, 2022
by
wangren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commonProcess机构回填selectEty方法回溯
parent
c2cff15d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
commonProcess.js
src/mixin/commonProcess.js
+7
-13
No files found.
src/mixin/commonProcess.js
View file @
2f1b142c
...
...
@@ -300,19 +300,13 @@ export default {
* @param {String} val 选种行的值(一般是首列)
* @param {String} rulePath 路径
*/
selectEty
(
val
,
modelUrl
,
isCover
,
rulePath
)
{
let
rule
;
if
(
typeof
modelUrl
===
'string'
)
{
const
props
=
modelUrl
.
replaceAll
(
"."
,
"_"
)
const
obj
=
{}
obj
[
props
]
=
val
;
Utils
.
copyValueFromVO
(
this
.
model
,
obj
);
rule
=
modelUrl
;
}
else
{
this
.
selectMsg
(
val
,
modelUrl
,
isCover
,
rulePath
)
rule
=
rulePath
;
}
this
.
executeRule
(
rule
).
then
((
res
)
=>
{
selectEty
(
val
,
rulePath
)
{
const
props
=
rulePath
.
replaceAll
(
"."
,
"_"
)
const
obj
=
{}
obj
[
props
]
=
val
;
Utils
.
copyValueFromVO
(
this
.
model
,
obj
);
this
.
executeRule
(
rulePath
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
...
...
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