Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
ecdd97b7
Commit
ecdd97b7
authored
Jun 12, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量判定OK
parent
891b434b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
17 deletions
+77
-17
index.vue
pages/produce/execute/judgment/index.vue
+77
-17
No files found.
pages/produce/execute/judgment/index.vue
View file @
ecdd97b7
...
@@ -435,32 +435,36 @@ export default {
...
@@ -435,32 +435,36 @@ export default {
let
pass02
=
this
.
ranglist
.
length
>
0
;
let
pass02
=
this
.
ranglist
.
length
>
0
;
let
pass03
=
this
.
fanlist
.
length
>
0
;
let
pass03
=
this
.
fanlist
.
length
>
0
;
let
pass04
=
this
.
feilist
.
length
>
0
;
let
pass04
=
this
.
feilist
.
length
>
0
;
cardseops
=
{
let
pass05
=
this
.
cardlist
.
length
>
0
;
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)})
if
(
pass01
){
if
(
pass01
){
hegeops
=
{
hegeops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
hegelist
[
0
].
productStatus
productStatus
:
this
.
hegelist
[
0
].
productStatus
};
};
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
lists
=
[
cardseops
,
hegeops
];
lists
=
[
hegeops
];
if
(
pass02
){
if
(
pass02
){
rangops
=
{
rangops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
ranglist
[
0
].
productStatus
productStatus
:
this
.
ranglist
[
0
].
productStatus
};
};
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
];
lists
=
[
hegeops
,
rangops
];
if
(
pass03
){
if
(
pass03
){
fanxops
=
{
fanxops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
fanlist
[
0
].
productStatus
productStatus
:
this
.
fanlist
[
0
].
productStatus
};
};
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
lists
=
[
hegeops
,
rangops
,
fanxops
];
if
(
pass05
){
cardseops
=
{
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
}
}
}
}
}
}
}
...
@@ -470,21 +474,29 @@ export default {
...
@@ -470,21 +474,29 @@ export default {
productStatus
:
this
.
ranglist
[
0
].
productStatus
productStatus
:
this
.
ranglist
[
0
].
productStatus
};
};
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
lists
=
[
cardseops
,
rangops
];
lists
=
[
rangops
];
if
(
pass01
){
if
(
pass01
){
hegeops
=
{
hegeops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
hegelist
[
0
].
productStatus
productStatus
:
this
.
hegelist
[
0
].
productStatus
};
};
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
];
lists
=
[
hegeops
,
rangops
];
if
(
pass03
){
if
(
pass03
){
fanxops
=
{
fanxops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
fanlist
[
0
].
productStatus
productStatus
:
this
.
fanlist
[
0
].
productStatus
};
};
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
lists
=
[
hegeops
,
rangops
,
fanxops
];
if
(
pass05
){
cardseops
=
{
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
}
}
}
}
}
}
}
...
@@ -494,23 +506,63 @@ export default {
...
@@ -494,23 +506,63 @@ export default {
productStatus
:
this
.
fanlist
[
0
].
productStatus
productStatus
:
this
.
fanlist
[
0
].
productStatus
};
};
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
lists
=
[
cardseops
,
fanxops
];
lists
=
[
fanxops
];
if
(
pass01
){
if
(
pass01
){
hegeops
=
{
hegeops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
hegelist
[
0
].
productStatus
productStatus
:
this
.
hegelist
[
0
].
productStatus
};
};
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
lists
=
[
cardseops
,
hegeops
,
fanxops
];
lists
=
[
hegeops
,
fanxops
];
if
(
pass02
){
if
(
pass02
){
rangops
=
{
rangops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
ranglist
[
0
].
productStatus
productStatus
:
this
.
ranglist
[
0
].
productStatus
};
};
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
lists
=
[
hegeops
,
rangops
,
fanxops
];
if
(
pass05
){
cardseops
=
{
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
}
}
}
}
if
(
pass05
){
cardseops
=
{
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)})
lists
=
[
cardseops
];
if
(
pass02
){
rangops
=
{
prodcutIds
:
[],
productStatus
:
this
.
ranglist
[
0
].
productStatus
};
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
lists
=
[
cardseops
,
rangops
];
if
(
pass01
){
hegeops
=
{
prodcutIds
:
[],
productStatus
:
this
.
hegelist
[
0
].
productStatus
};
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
];
if
(
pass03
){
fanxops
=
{
prodcutIds
:
[],
productStatus
:
this
.
fanlist
[
0
].
productStatus
};
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
}
}
}
}
}
}
}
if
(
pass04
){
if
(
pass04
){
feipops
=
{
feipops
=
{
...
@@ -527,26 +579,34 @@ export default {
...
@@ -527,26 +579,34 @@ export default {
productStatus
:
this
.
hegelist
[
0
].
productStatus
productStatus
:
this
.
hegelist
[
0
].
productStatus
};
};
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
this
.
hegelist
.
map
(
uh
=>
{
hegeops
.
prodcutIds
.
push
(
uh
.
id
)})
lists
=
[
cardseops
,
hegeops
,
feipops
];
lists
=
[
hegeops
,
feipops
];
if
(
pass02
){
if
(
pass02
){
rangops
=
{
rangops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
ranglist
[
0
].
productStatus
productStatus
:
this
.
ranglist
[
0
].
productStatus
};
};
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
this
.
ranglist
.
map
(
ur
=>
{
rangops
.
prodcutIds
.
push
(
ur
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
feipops
];
lists
=
[
hegeops
,
rangops
,
feipops
];
if
(
pass03
){
if
(
pass03
){
fanxops
=
{
fanxops
=
{
prodcutIds
:
[],
prodcutIds
:
[],
productStatus
:
this
.
fanlist
[
0
].
productStatus
productStatus
:
this
.
fanlist
[
0
].
productStatus
};
};
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
this
.
fanlist
.
map
(
uf
=>
{
fanxops
.
prodcutIds
.
push
(
uf
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
,
feipops
];
lists
=
[
hegeops
,
rangops
,
fanxops
,
feipops
];
if
(
pass05
){
cardseops
=
{
prodcutIds
:
[],
productStatus
:
this
.
cardlist
[
0
].
productStatus
}
this
.
cardlist
.
map
(
ch
=>
{
cardseops
.
prodcutIds
.
push
(
ch
.
id
)})
lists
=
[
cardseops
,
hegeops
,
rangops
,
fanxops
];
}
}
}
}
}
}
}
}
}
//
console.log(lists)
console
.
log
(
lists
)
let
parmes
=
{
let
parmes
=
{
dispatchId
:
this
.
$route
.
query
.
id
,
dispatchId
:
this
.
$route
.
query
.
id
,
orderId
:
this
.
$route
.
query
.
orderId
,
orderId
:
this
.
$route
.
query
.
orderId
,
...
...
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