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
62346da5
Commit
62346da5
authored
Apr 04, 2022
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部人员库修改接口请求信息卡,取消上一次请求
parent
68c1f125
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
29 deletions
+64
-29
src/netmgr/NetUtil.js
+3
-1
src/netmgr/ryxxk/ryxxk.js
+51
-0
src/views/AllPersonnelBase/modules/ryxxk.vue
+10
-28
No files found.
src/netmgr/NetUtil.js
View file @
62346da5
...
@@ -15,6 +15,7 @@ import workstream from '../netmgr/workstream/workstream'
...
@@ -15,6 +15,7 @@ import workstream from '../netmgr/workstream/workstream'
import
fingerprint
from
'../netmgr/fingerprint/fingerprint'
import
fingerprint
from
'../netmgr/fingerprint/fingerprint'
import
cxyrdUser
from
'./cxyrdUser/cxyrdUser'
import
cxyrdUser
from
'./cxyrdUser/cxyrdUser'
import
imageEd
from
'./imageEd/imageEd'
import
imageEd
from
'./imageEd/imageEd'
import
ryxxk
from
'./ryxxk/ryxxk'
export
default
{
export
default
{
bzxxsh
,
bzxxsh
,
...
@@ -25,5 +26,6 @@ export default {
...
@@ -25,5 +26,6 @@ export default {
workstream
,
workstream
,
fingerprint
,
fingerprint
,
cxyrdUser
,
cxyrdUser
,
imageEd
imageEd
,
ryxxk
}
}
src/netmgr/ryxxk/ryxxk.js
0 → 100644
View file @
62346da5
/*
* @Author: zhangchaojun
* @Date: 2022-01-21 14:10:13
* @LastEditTime: 2022-04-04 20:55:21
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \指纹系统\founder_vue\src\netmgr\xxk\ryxxk.js
*/
import
addrType
from
'../NetAddressType'
import
HttpConfigUtil
from
'../../request/HttpConfigUtil.js'
const
_path
=
{
// 人员平面压缩图
getPlainByBarcode
:
addrType
.
api
+
'/png/plain/barcode'
,
// 人员滚动压缩图
getRollByBarcode
:
addrType
.
api
+
'/png/roll/barcode'
,
// 获取人像
getFaceByBarcode
:
addrType
.
api
+
'/org/face/barcode'
,
// 获取掌纹
getPalmByBarcode
:
addrType
.
api
+
'/png/palm/barcode'
,
}
export
default
{
getPlainByBarcode
(
_parameter
)
{
return
fHttp
.
postJson
(
_path
.
getPlainByBarcode
,
_parameter
,
HttpConfigUtil
.
closeLoadAndTip
()
)
},
getRollByBarcode
(
_parameter
)
{
return
fHttp
.
postJson
(
_path
.
getRollByBarcode
,
_parameter
,
HttpConfigUtil
.
closeLoadAndTip
()
)
},
getFaceByBarcode
(
_parameter
)
{
return
fHttp
.
postJson
(
_path
.
getFaceByBarcode
,
_parameter
,
HttpConfigUtil
.
closeLoadAndTip
()
)
},
getPalmByBarcode
(
_parameter
)
{
return
fHttp
.
postJson
(
_path
.
getPalmByBarcode
,
_parameter
,
HttpConfigUtil
.
closeLoadAndTip
()
)
}
}
src/views/AllPersonnelBase/modules/ryxxk.vue
View file @
62346da5
...
@@ -503,18 +503,13 @@ export default {
...
@@ -503,18 +503,13 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
// 获取人像
getFaceByBarcode
()
{
getFaceByBarcode
()
{
// 获取人像
let
self
=
this
;
let
self
=
this
;
if
(
self
.
FaceCount
>
0
)
return
;
if
(
self
.
FaceCount
>
0
)
return
;
self
.
FaceCount
++
self
.
FaceCount
++
this
.
FaceImgNum
=
0
;
this
.
FaceImgNum
=
0
;
this
.
$axios
NetUtil
.
ryxxk
.
getFaceByBarcode
({
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
})
.
post
(
"/api/org/face/barcode"
,
{
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
},
{
loading
:
false
}
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
.
data
);
console
.
log
(
response
.
data
);
if
(
response
.
data
.
code
==
0
)
{
if
(
response
.
data
.
code
==
0
)
{
...
@@ -537,18 +532,13 @@ export default {
...
@@ -537,18 +532,13 @@ export default {
//console.log(error);
//console.log(error);
});
});
},
},
// 获取掌纹
getPalmByBarcode
()
{
getPalmByBarcode
()
{
// 获取掌纹
let
self
=
this
;
let
self
=
this
;
if
(
self
.
PalmCount
>
0
)
return
;
if
(
self
.
PalmCount
>
0
)
return
;
self
.
PalmCount
++
self
.
PalmCount
++
this
.
PalmImgNum
=
0
;
this
.
PalmImgNum
=
0
;
this
.
$axios
NetUtil
.
ryxxk
.
getPalmByBarcode
({
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
})
.
post
(
"/api/png/palm/barcode"
,
{
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
},
{
loading
:
false
}
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
.
data
);
console
.
log
(
response
.
data
);
if
(
response
.
data
.
code
==
0
)
{
if
(
response
.
data
.
code
==
0
)
{
...
@@ -571,15 +561,10 @@ export default {
...
@@ -571,15 +561,10 @@ export default {
//console.log(error);
//console.log(error);
});
});
},
},
// 人员平面压缩图
getPlainByBarcode
()
{
getPlainByBarcode
()
{
// 人员平面压缩图
let
self
=
this
;
let
self
=
this
;
this
.
$axios
NetUtil
.
ryxxk
.
getPlainByBarcode
({
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
})
.
post
(
"/api/png/plain/barcode"
,
{
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
},
{
loading
:
false
}
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
// console.log(response.data);
// console.log(response.data);
if
(
response
.
data
.
code
==
0
)
{
if
(
response
.
data
.
code
==
0
)
{
...
@@ -603,15 +588,10 @@ export default {
...
@@ -603,15 +588,10 @@ export default {
//console.log(error);
//console.log(error);
});
});
},
},
// 人员滚动压缩图
getRollByBarcode
()
{
getRollByBarcode
()
{
// 人员滚动压缩图
// let self = this;
// let self = this;
this
.
$axios
NetUtil
.
ryxxk
.
getRollByBarcode
({
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
})
.
post
(
"/api/png/roll/barcode"
,
{
barcode
:
this
.
ysryjbxx
.
ysxtAsjxgrybh
},
{
loading
:
false
}
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
.
data
);
console
.
log
(
response
.
data
);
if
(
response
.
data
.
code
==
0
)
{
if
(
response
.
data
.
code
==
0
)
{
...
@@ -716,6 +696,7 @@ export default {
...
@@ -716,6 +696,7 @@ export default {
{
name
:
"右侧像"
,
code
:
4
,
img
:
null
},
{
name
:
"右侧像"
,
code
:
4
,
img
:
null
},
{
name
:
"身份证"
,
code
:
11
,
img
:
null
},
{
name
:
"身份证"
,
code
:
11
,
img
:
null
},
];
];
fHttp
.
cancel
()
},
},
closeDrawer
()
{
closeDrawer
()
{
this
.
FaceImgNum
=
0
;
this
.
FaceImgNum
=
0
;
...
@@ -771,6 +752,7 @@ export default {
...
@@ -771,6 +752,7 @@ export default {
{
name
:
"右侧像"
,
code
:
4
,
img
:
null
},
{
name
:
"右侧像"
,
code
:
4
,
img
:
null
},
{
name
:
"身份证"
,
code
:
11
,
img
:
null
},
{
name
:
"身份证"
,
code
:
11
,
img
:
null
},
];
];
fHttp
.
cancel
()
},
},
},
},
filters
:
{
filters
:
{
...
...
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