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
e5946d31
Commit
e5946d31
authored
Jun 07, 2021
by
denyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加rule check js
parent
cf5bcd18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
commonApi.js
src/mixin/commonApi.js
+2
-2
commonProcess.js
src/mixin/commonProcess.js
+1
-1
Check.js
src/model/Ditopn/Check.js
+13
-2
No files found.
src/mixin/commonApi.js
View file @
e5946d31
...
...
@@ -51,8 +51,7 @@ export default {
if
(
!
inr
)
return
let
data
=
await
Api
.
post
(
"display/"
+
inr
)
Utils
.
copyValueFromVO
(
this
.
model
,
data
.
data
)
console
.
log
(
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
JSON
.
parse
(
data
.
data
))
}
}
}
\ No newline at end of file
src/mixin/commonProcess.js
View file @
e5946d31
...
...
@@ -35,7 +35,7 @@ export default {
for
(
let
j
=
0
;
j
<
this
.
checkRules
[
key
].
length
;
j
++
)
{
const
check
=
this
.
checkRules
[
key
][
j
];
rule
.
push
({
validator
:
check
validator
:
check
.
bind
(
this
)
})
}
}
...
...
src/model/Ditopn/Check.js
View file @
e5946d31
...
...
@@ -99,7 +99,7 @@ export default {
"ditp.rmbp.ptsget.sdamod.dadsnd"
:
[
checkDitpRmbpPtsgetSdamodDadsndN100
,],
"didgrp.ben.pts.extact"
:
[
checkDidgrpBenPtsExtactN1001
,],
"didgrp.blk.adlcnd"
:
[
checkDidgrpBlkAdlcndN100
,
checkDidgrpBlkAdlcndN100
,],
"litameadv"
:
[
checkLitameadvN100
,],
"litameadv"
:
[
checkLitameadvN100
,
ruleLitameadvN100
,
],
"liaall.liaccv.relcshpct"
:
[
checkLiaallLiaccvRelcshpctN100
,],
}
/**
...
...
@@ -144,7 +144,7 @@ function checkDidgrpAplPtsYouzbmN100() {
*/
function
checkAmeadvrmkN100
()
{
const
that
=
this
;
that
.
exeuteCheck
(
"
litameadv
"
).
then
(
res
=>
{
that
.
exeuteCheck
(
"
ameadvrmk
"
).
then
(
res
=>
{
})
}
/**
...
...
@@ -858,6 +858,10 @@ function checkDidgrpBlkAdlcndN100() {
*
*/
function
checkLitameadvN100
()
{
const
that
=
this
;
that
.
exeuteCheck
(
"litameadv"
).
then
(
res
=>
{
})
}
/**
* source:liaccv.@0024.script
...
...
@@ -865,3 +869,10 @@ function checkLitameadvN100() {
*/
function
checkLiaallLiaccvRelcshpctN100
()
{
}
function
ruleLitameadvN100
()
{
const
that
=
this
;
that
.
executeRule
(
"litameadv"
).
then
(
res
=>
{
})
}
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