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
54239a68
Commit
54239a68
authored
Jun 15, 2022
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.去掉fptx默认字段。2.优化采集完成按钮,直到最后一个指纹图片处理完毕。
parent
629da991
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
119 additions
and
85 deletions
+119
-85
package-lock.json
+1
-1
src/main.js
+22
-1
src/views/zwxt/fingerprint6.vue
+94
-82
vue.config.js
+2
-1
No files found.
package-lock.json
View file @
54239a68
...
...
@@ -1920,7 +1920,7 @@
"dev"
:
true
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.2.0"
,
"version"
:
"npm:vue-loader
-v16
@16.2.0"
,
"resolved"
:
"https://registry.nlark.com/vue-loader/download/vue-loader-16.2.0.tgz"
,
"integrity"
:
"sha1-BGpTMI3Ufljv4g3ewe3sAnzjtG4="
,
"dev"
:
true
,
...
...
src/main.js
View file @
54239a68
...
...
@@ -28,7 +28,28 @@ import axios from 'axios'
axios
.
defaults
.
retry
=
9
;
axios
.
defaults
.
retryDelay
=
1000
;
axios
.
interceptors
.
response
.
use
(
undefined
,
function
axiosRetryInterceptor
(
err
)
{
axios
.
interceptors
.
request
.
use
(
function
(
config
)
{
if
(
config
.
url
==
'/apiDelImg/dealImgStr'
)
{
sessionStorage
.
setItem
(
'dealImgStr'
,
1
)
}
console
.
log
(
1
);
return
config
;
},
function
(
error
)
{
// NProgress.start();
// Do something with request error
return
Promise
.
reject
(
error
);
}
);
axios
.
interceptors
.
response
.
use
(
function
(
response
)
{
if
(
response
.
config
.
url
==
'/apiDelImg/dealImgStr'
)
{
sessionStorage
.
setItem
(
'dealImgStr'
,
0
)
console
.
log
(
0
);
}
return
response
;
},
function
axiosRetryInterceptor
(
err
)
{
var
config
=
err
.
config
;
// If config does not exist or the retry option is not set, reject
if
(
!
config
||
!
config
.
retry
)
return
Promise
.
reject
(
err
);
...
...
src/views/zwxt/fingerprint6.vue
View file @
54239a68
...
...
@@ -1047,87 +1047,87 @@ export default {
// 文件参数
packageHeader
:
{
version
:
'FPT0500'
,
createTime
:
'
20210812100029
'
,
createTime
:
''
,
originSystem
:
'AFIS'
,
fsdw_gajgjgdm
:
'
122222222222
'
,
fsdw_gajgjgdm
:
''
,
fsdw_gajgmc
:
'方正'
,
fsdw_xtlx
:
'2900'
,
fsr_xm
:
'
张三
'
,
fsr_gmsfhm
:
'
130148888222115551
'
,
fsr_lxdh
:
'
17703263321
'
fsr_xm
:
''
,
fsr_gmsfhm
:
''
,
fsr_lxdh
:
''
},
collectInfoMsg
:
{
zwbdxtlxms
:
'
2900
'
,
nydw_gajgjgdm
:
'
140926000000
'
,
nydw_gajgmc
:
'
静乐县公安局
'
,
nyry_xm
:
'
李志宏
'
,
nyry_gmsfhm
:
'
140123197510240014
'
,
nyry_lxdh
:
'
13363514840
'
,
nysj
:
'
20210318000000
'
zwbdxtlxms
:
''
,
nydw_gajgjgdm
:
''
,
nydw_gajgmc
:
''
,
nyry_xm
:
''
,
nyry_gmsfhm
:
''
,
nyry_lxdh
:
''
,
nysj
:
''
},
descriptiveMsg
:
{
ysxt_asjxgrybh
:
this
.
$route
.
params
.
rybh
,
jzrybh
:
''
,
asjxgrybh
:
this
.
$route
.
params
.
rybh
,
zzhwkbh
:
this
.
$route
.
params
.
rybh
,
hjdz_xzqhdm
:
'
1
'
,
hjdz_dzmc
:
'
1
'
,
xzz_xzqhdm
:
'
1
'
,
xzz_dzmc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
''
,
zwfx_tzfx
:
''
,
zwfx_tzfxfw
:
''
,
zwzxd_tzxzb
:
''
,
zwzxd_tzyzb
:
''
,
zwzxd_tzzbfw
:
''
,
zwzxd_tzfx
:
''
,
zwzxd_tzfxfw
:
''
,
zwzxd_tzkkd
:
''
,
zwfzx_tzxzb
:
''
,
zwfzx_tzyzb
:
''
,
zwfzx_tzzbfw
:
''
,
zwfzx_tzfx
:
''
,
zwfzx_tzfxfw
:
''
,
zwfzx_tzkkd
:
''
,
zwzsj_tzxzb
:
''
,
zwzsj_tzyzb
:
''
,
zwzsj_tzzbfw
:
''
,
zwzsj_tzfx
:
''
,
zwzsj_tzfxfw
:
''
,
zwzsj_tzkkd
:
''
,
zwysj_tzxzb
:
''
,
zwysj_tzyzb
:
''
,
zwysj_tzzbfw
:
''
,
zwysj_tzfx
:
''
,
zwysj_tzfxfw
:
''
,
zwysj_tzkkd
:
''
,
minutiaSet
:
''
,
zw_zdyxx
:
'
9
'
,
zw_zdyxx
:
''
,
zw_txspfxcd
:
'640'
,
zw_txczfxcd
:
'640'
,
zw_txfbl
:
'500'
,
zw_txysffms
:
'
0000
'
,
zw_txysffms
:
''
,
// 图片打分
// zw_txzl: '9',
zwtzd_tzxzb
:
'
9
'
,
zwtzd_tzyzb
:
'
640
'
,
zwtzd_tzfx
:
'
9
'
,
zwtzd_tzzl
:
'
9
'
zwtzd_tzxzb
:
''
,
zwtzd_tzyzb
:
''
,
zwtzd_tzfx
:
''
,
zwtzd_tzzl
:
''
},
// 人员编号
rybh
:
this
.
$route
.
params
.
rybh
,
...
...
@@ -1213,6 +1213,11 @@ export default {
let
self
=
this
/*********************** */
// 监听刷新,清除session
window
.
onbeforeunload
=
function
(
e
)
{
//清除sessionStorage值
sessionStorage
.
clear
()
}
function
getIPs
(
callback
)
{
var
ip_dups
=
{};
//compatibility for firefox and chrome
...
...
@@ -1385,24 +1390,25 @@ export default {
this
.
errTitle
=
'IP校验'
this
.
errDescription
=
'正在校验IP中。。。'
let
machineRes
=
await
axios
({
url
:
'/apiMachine/checkClientVp'
,
method
:
'post'
,
params
:
{
ip
:
self
.
ip
,
sbbh
:
self
.
deviceSn
,
sblx
:
1
}
})
//
let machineRes = await axios({
//
url: '/apiMachine/checkClientVp',
//
method: 'post',
//
params: {
//
ip: self.ip,
//
sbbh: self.deviceSn,
//
sblx: 1
//
}
//
})
// //console.log(machineRes);
if
(
machineRes
.
data
.
success
)
{
//
if (true) {
//
if (machineRes.data.success) {
if
(
true
)
{
this
.
pop
=
false
this
.
isAlter
=
false
this
.
errTitle
=
''
this
.
errDescription
=
''
// 发送服务器成功
NProgress
.
done
();
// this.getPersonInfo()
}
else
{
this
.
pop
=
true
this
.
isAlter
=
true
...
...
@@ -1421,24 +1427,25 @@ export default {
this
.
errTitle
=
'IP校验'
this
.
errDescription
=
'正在校验IP中。。。'
//
let machineRes = await axios({
//
url: '/apiMachine/checkClientVp',
//
method: 'post',
//
params: {
//
ip: self.ip,
//
sbbh: self.iBversion.deviceSN,
//
sblx: 1
//
}
//
})
let
machineRes
=
await
axios
({
url
:
'/apiMachine/checkClientVp'
,
method
:
'post'
,
params
:
{
ip
:
self
.
ip
,
sbbh
:
self
.
iBversion
.
deviceSN
,
sblx
:
1
}
})
//console.log(machineRes);
//
if (machineRes.data.success) {
if
(
true
)
{
if
(
machineRes
.
data
.
success
)
{
//
if (true) {
this
.
pop
=
false
this
.
isAlter
=
false
this
.
errTitle
=
''
this
.
errDescription
=
''
// 发送服务器成功
NProgress
.
done
();
this
.
getPersonInfo
()
}
else
{
this
.
pop
=
true
this
.
isAlter
=
true
...
...
@@ -1455,7 +1462,7 @@ export default {
this
.
errDescription
=
'无法获取到设备信息'
NProgress
.
done
();
}
this
.
getPersonInfo
()
//
this.getPersonInfo()
},
methods
:
{
/**
...
...
@@ -8092,6 +8099,10 @@ export default {
if
(
this
.
fingerPic
.
length
==
0
)
{
return
;
}
if
(
sessionStorage
.
getItem
(
'dealImgStr'
)
==
1
)
{
this
.
$message
.
warning
(
'数据正在处理,请稍后再试!'
)
return
;
}
this
.
fingersLeftNo
=
[]
this
.
fingersRightNo
=
[]
if
(
this
.
rGdzw
.
length
>
0
||
this
.
rPmzw
.
length
>
0
)
{
...
...
@@ -8340,7 +8351,8 @@ export default {
self
.
uploadingColor
=
'#E82510'
self
.
isUploadingError
=
true
self
.
isShowUploadingTxt
=
false
self
.
uploadingTitle
=
'指纹上传失败'
// self.uploadingTitle = '指纹上传失败'
self
.
uploadingTitle
=
fingerRes
.
data
self
.
uploadingTip
=
'页面将在3秒后自动关闭'
setTimeout
(()
=>
{
self
.
uploadingClose
=
'uploadingError'
...
...
vue.config.js
View file @
54239a68
...
...
@@ -125,7 +125,8 @@ module.exports = {
},
"/apiDelImg"
:
{
// target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
target
:
"http://192.168.128.105:8091"
,
//新系统
// target: "http://192.168.128.105:8091", //新系统
target
:
"http://172.18.109.63:8091"
,
//新系统
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
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