Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
23d22340
Commit
23d22340
authored
May 27, 2022
by
米嘉伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量检查,检查详情页,“一键合格”按钮现在可以无限点击
parent
c843b15e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
2 deletions
+40
-2
src/views/zljc/jcxq.vue
+40
-2
No files found.
src/views/zljc/jcxq.vue
View file @
23d22340
...
...
@@ -18,13 +18,13 @@
<div
class=
"headRight"
>
<el-button
:class=
"[
row
Click
yjhg
Click
? 'hg zh'
: 'hg ',
]"
@
click=
"yjhg"
v-if=
"roleArr.includes('D-1-9')"
:disabled=
"
row
Click"
:disabled=
"
yjhg
Click"
>
{{
$t
(
'Zljc.all_qualified'
)
}}
</el-button>
<el-button
:class=
"[
...
...
@@ -299,6 +299,7 @@ export default {
this
.
rowData
.
id
=
this
.
$route
.
params
.
id
;
// console.log(this.$route);
this
.
rowClick
=
this
.
$route
.
params
.
type
==
1
?
true
:
false
;
this
.
yjhgClick
=
this
.
$route
.
params
.
type
==
1
?
true
:
false
;
this
.
hqyhxx
();
},
computed
:
{
...
...
@@ -319,6 +320,7 @@ export default {
palmStatus
:
null
,
// 掌纹检查结果
faceStatus
:
null
,
// 人像检查结果
rowClick
:
false
,
//是否禁用选择
yjhgClick
:
false
,
//是否禁用一键合格
};
},
methods
:
{
...
...
@@ -334,10 +336,25 @@ export default {
}).
then
((
response
)
=>
{
// console.log(response)
this
.
personStatus
=
response
.
data
.
ret
.
personStatus
;
if
(
this
.
personStatus
==
0
)
{
this
.
yjhgClick
=
false
;
}
this
.
leftStatus
=
response
.
data
.
ret
.
leftStatus
;
if
(
this
.
leftStatus
==
0
)
{
this
.
yjhgClick
=
false
;
}
this
.
rightStatus
=
response
.
data
.
ret
.
rightStatus
;
if
(
this
.
rightStatus
==
0
)
{
this
.
yjhgClick
=
false
;
}
this
.
palmStatus
=
response
.
data
.
ret
.
palmStatus
;
if
(
this
.
palmStatus
==
0
)
{
this
.
yjhgClick
=
false
;
}
this
.
faceStatus
=
response
.
data
.
ret
.
faceStatus
;
if
(
this
.
faceStatus
==
0
)
{
this
.
yjhgClick
=
false
;
}
});
},
// 人员信息提交
...
...
@@ -348,9 +365,13 @@ export default {
tjRyxx0
()
{
if
(
this
.
rowClick
)
return
;
this
.
$refs
.
ryxx
.
saveRyxx
(
0
);
this
.
yjhgClick
=
false
;
},
changePersonStatus
(
data
)
{
this
.
personStatus
=
data
;
if
(
data
==
0
)
{
this
.
yjhgClick
=
false
;
}
},
// 左手指纹信息提交
tjZsNyzw1
()
{
...
...
@@ -360,9 +381,13 @@ export default {
tjZsNyzw0
()
{
if
(
this
.
rowClick
)
return
;
this
.
$refs
.
zsnyzw
.
saveZsNyAll
(
0
);
this
.
yjhgClick
=
false
;
},
changeLeftStatus
(
data
)
{
this
.
leftStatus
=
data
;
if
(
data
==
0
)
{
this
.
yjhgClick
=
false
;
}
},
// 右手指纹信息提交
tjYsNyzw1
()
{
...
...
@@ -372,9 +397,13 @@ export default {
tjYsNyzw0
()
{
if
(
this
.
rowClick
)
return
;
this
.
$refs
.
ysnyzw
.
saveYsNyAll
(
0
);
this
.
yjhgClick
=
false
;
},
changeRightStatus
(
data
)
{
this
.
rightStatus
=
data
;
if
(
data
==
0
)
{
this
.
yjhgClick
=
false
;
}
},
// 掌纹信息提交
tjZw1
()
{
...
...
@@ -384,9 +413,13 @@ export default {
tjZw0
()
{
if
(
this
.
rowClick
)
return
;
this
.
$refs
.
zw
.
saveZw
(
0
);
this
.
yjhgClick
=
false
;
},
changePalmStatus
(
data
)
{
this
.
palmStatus
=
data
;
if
(
data
==
0
)
{
this
.
yjhgClick
=
false
;
}
},
// 人像信息提交
tjRx1
()
{
...
...
@@ -396,9 +429,13 @@ export default {
tjRx0
()
{
if
(
this
.
rowClick
)
return
;
this
.
$refs
.
rx
.
saveRx
(
0
);
this
.
yjhgClick
=
false
;
},
changeFaceStatus
(
data
)
{
this
.
faceStatus
=
data
;
if
(
data
==
0
)
{
this
.
yjhgClick
=
false
;
}
},
// 一键合格
yjhg
()
{
...
...
@@ -442,6 +479,7 @@ export default {
reqParam
.
personId
=
this
.
rowData
.
id
;
this
.
$axios
.
post
(
"/api/zljc/result/save"
,
reqParam
).
then
((
response
)
=>
{
console
.
log
(
response
);
this
.
yjhgClick
=
true
this
.
personStatus
=
response
.
data
.
ret
.
personStatus
;
this
.
leftStatus
=
response
.
data
.
ret
.
leftStatus
;
this
.
rightStatus
=
response
.
data
.
ret
.
rightStatus
;
...
...
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