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
8526f62e
Commit
8526f62e
authored
Nov 12, 2021
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部案件保存数据整理
parent
e6b5c11c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
62 additions
and
25 deletions
+62
-25
src/store/modules/mutations-types.js
+3
-1
src/store/modules/zwbj.js
+14
-4
src/views/Editor/modules/ajzwbjLeft.vue
+19
-6
src/views/Editor/modules/imageEd.vue
+4
-3
src/views/Editor/modules/imageEdAJ.vue
+0
-0
src/views/Editor/modules/ryzwbjLeft.vue
+18
-7
src/views/Home.vue
+1
-1
vue.config.js
+3
-3
No files found.
src/store/modules/mutations-types.js
View file @
8526f62e
/*
* @Author: your name
* @Date: 2021-11-04 13:14:49
* @LastEditTime: 2021-11-11
11:46:50
* @LastEditTime: 2021-11-11
23:22:22
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\store\modules\mutations-types.js
...
...
@@ -11,3 +11,5 @@ export const SET_TZDALL = 'setTzdall';
export
const
SET_AUTOTZDALL
=
'setAutoTzdall'
;
export
const
SET_ZYHZ
=
'setZyhz'
;
export
const
SET_YXHZ
=
'setYxhz'
;
export
const
SET_AUTOYXHZ
=
'setAutoYxhz'
export
const
SET_AUTOZYHZ
=
'setAutoZyhz'
src/store/modules/zwbj.js
View file @
8526f62e
/*
* @Author: your name
* @Date: 2021-11-04 11:12:33
* @LastEditTime: 2021-11-11
11:48:45
* @LastEditTime: 2021-11-11
23:22:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\store\modules\zwbj.js
*/
import
{
SET_SEQ
,
SET_TZDALL
,
SET_AUTOTZDALL
,
SET_ZYHZ
,
SET_YXHZ
}
from
"./mutations-types"
;
import
{
SET_SEQ
,
SET_TZDALL
,
SET_AUTOTZDALL
,
SET_ZYHZ
,
SET_YXHZ
,
SET_AUTOYXHZ
,
SET_AUTOZYHZ
}
from
"./mutations-types"
;
const
state
=
{
// 当前的指位
seq
:
''
,
...
...
@@ -16,8 +16,12 @@ const state = {
autopretzdall
:
[],
// 自由绘制数组
zyhz
:
[],
// 自由绘制数组--自动
autozyhz
:
[],
// 圆形绘制数组
yxhz
:
[]
yxhz
:
[],
// 圆形绘制数组--自动
autoyxhz
:
[]
};
const
mutations
=
{
...
...
@@ -35,7 +39,13 @@ const mutations = {
},
[
SET_YXHZ
]
(
state
,
content
)
{
state
.
yxhz
=
content
}
},
[
SET_AUTOYXHZ
]
(
state
,
content
)
{
state
.
autoyxhz
=
content
},
[
SET_AUTOZYHZ
]
(
state
,
content
)
{
state
.
autozyhz
=
content
},
};
const
actions
=
{
...
...
src/views/Editor/modules/ajzwbjLeft.vue
View file @
8526f62e
<!--
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-11-1
1 15:33:03
* @LastEditTime: 2021-11-1
2 11:04:31
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...
...
@@ -142,7 +142,9 @@ export default {
preTzdArr
:
state
=>
state
.
zwbj
.
pretzdall
,
autopretzdall
:
state
=>
state
.
zwbj
.
autopretzdall
,
zyhz
:
state
=>
state
.
zwbj
.
zyhz
,
yxhz
:
state
=>
state
.
zwbj
.
yxhz
yxhz
:
state
=>
state
.
zwbj
.
yxhz
,
autoyxhz
:
state
=>
state
.
zwbj
.
autoyxhz
,
autozyhz
:
state
=>
state
.
zwbj
.
autozyhz
,
})
},
mounted
()
{
...
...
@@ -241,18 +243,29 @@ export default {
sessionStorage
.
setItem
(
this
.
preSeq
,
JSON
.
stringify
(
self
.
preTzdArr
))
sessionStorage
.
setItem
(
`auto_tzdDom
${
this
.
preSeq
}
`
,
JSON
.
stringify
(
self
.
autopretzdall
))
}
self
.
$store
.
commit
(
'zwbj/setTzdall'
,
null
)
self
.
$store
.
commit
(
'zwbj/setAutoTzdall'
,
null
)
//
self.$store.commit('zwbj/setTzdall', null)
//
self.$store.commit('zwbj/setAutoTzdall', null)
// 重要区域的特征保存
console
.
log
(
self
.
zyhz
);
if
(
self
.
zyhz
&&
self
.
zyhz
.
length
>=
0
)
{
sessionStorage
.
setItem
(
`zyhz_
${
this
.
preSeq
}
`
,
JSON
.
stringify
(
self
.
zyhz
))
self
.
$store
.
commit
(
'zwbj/setZyhz'
,
null
)
//
self.$store.commit('zwbj/setZyhz', null)
}
console
.
log
(
self
.
yxhz
);
if
(
self
.
yxhz
&&
self
.
yxhz
.
length
>=
0
)
{
console
.
log
(
self
.
yxhz
);
sessionStorage
.
setItem
(
`yxhz_
${
this
.
preSeq
}
`
,
JSON
.
stringify
(
self
.
yxhz
))
self
.
$store
.
commit
(
'zwbj/setYxhz'
,
null
)
// self.$store.commit('zwbj/setYxhz', null)
}
if
(
self
.
autoyxhz
&&
self
.
autoyxhz
.
length
>=
0
)
{
console
.
log
(
self
.
autoyxhz
);
sessionStorage
.
setItem
(
`auto_yxhz_
${
this
.
preSeq
}
`
,
JSON
.
stringify
(
self
.
autoyxhz
))
// self.$store.commit('zwbj/setAutoYxhz', null)
}
if
(
self
.
autozyhz
&&
self
.
autozyhz
.
length
>=
0
)
{
console
.
log
(
self
.
autozyhz
);
sessionStorage
.
setItem
(
`auto_zyhz_
${
this
.
preSeq
}
`
,
JSON
.
stringify
(
self
.
autozyhz
))
// self.$store.commit('zwbj/setAutoZyhz', null)
}
}
this
.
preSeq
=
finger
.
code
...
...
src/views/Editor/modules/imageEd.vue
View file @
8526f62e
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-11-11 1
7:50:45
* @LastEditTime: 2021-11-11 1
9:36:14
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
...
...
@@ -1184,6 +1184,9 @@ export default {
})
this
.
$bus
.
on
(
'ryzwbjImage'
,
(
sourceImage
)
=>
{
// 缩放为1
self
.
zoomLevel
=
1
imageEditor
.
resetZoom
()
self
.
sourceImage
=
sourceImage
imageEditor
.
loadImageFromURL
(
'data:image/jpeg;base64,'
+
sourceImage
,
'SampleImage'
).
then
(
function
(
sizeValue
)
{
// console.log(sizeValue);
...
...
@@ -1195,8 +1198,6 @@ export default {
$
(
'.tzdDom'
).
remove
()
$
(
'.auto_tzdDom'
).
remove
()
imageEditor
.
clearUndoStack
();
// 缩放为1
self
.
zoomLevel
=
1
// 获取自动提取特征
self
.
getAutoTzd
(
false
)
...
...
src/views/Editor/modules/imageEdAJ.vue
View file @
8526f62e
This diff is collapsed.
Click to expand it.
src/views/Editor/modules/ryzwbjLeft.vue
View file @
8526f62e
<!--
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-11-
09 17:29:05
* @LastEditTime: 2021-11-
12 10:40:13
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...
...
@@ -92,6 +92,7 @@ import { mapState } from 'vuex';
export
default
{
data
()
{
return
{
barcode
:
this
.
$route
.
params
.
barcode
,
// 上一次的指纹序号
preSeq
:
''
,
// 找到第一个有图片的指纹
...
...
@@ -315,8 +316,12 @@ export default {
item
.
image
=
null
})
let
res
=
await
this
.
$axios
({
method
:
'get'
,
url
:
'/api/org/roll/'
+
self
.
id
+
'?mnt=1'
,
method
:
'post'
,
// url: '/api/org/roll/'+self.id+'?mnt=1',
url
:
'api/png/rollEditByBarcode/barcode'
,
data
:
{
barcode
:
self
.
barcode
},
loading
:
false
// url: '/api/png/roll/1?mnt=1'
})
...
...
@@ -325,7 +330,7 @@ export default {
for
(
const
key
in
res
.
data
.
ret
)
{
const
element
=
res
.
data
.
ret
[
key
];
// 左手
if
(
key
>
5
)
{
if
(
element
.
seq
>
5
)
{
self
.
rollFingersLeft
.
forEach
((
item
)
=>
{
if
(
item
.
code
==
element
.
seq
)
{
item
.
image
=
element
.
image
...
...
@@ -357,8 +362,12 @@ export default {
item
.
image
=
null
})
let
res
=
await
this
.
$axios
({
method
:
'get'
,
url
:
'/api/org/plain/'
+
self
.
id
+
'?mnt=1'
,
method
:
'post'
,
// url: '/api/org/plain/'+self.id+'?mnt=1',
url
:
'api/png/editPlainByBarcode/barcode'
,
data
:
{
barcode
:
self
.
barcode
},
loading
:
false
// url: '/api/png/plain/1?mnt=1'
})
...
...
@@ -367,9 +376,11 @@ export default {
for
(
const
key
in
res
.
data
.
ret
)
{
const
element
=
res
.
data
.
ret
[
key
];
// 左手
if
(
key
>
15
)
{
if
(
element
.
seq
>
15
)
{
self
.
painFingersLeft
.
forEach
((
item
)
=>
{
if
(
item
.
code
==
element
.
seq
)
{
item
.
image
=
element
.
image
}
})
...
...
src/views/Home.vue
View file @
8526f62e
...
...
@@ -45,7 +45,7 @@
<img
v-else
:src=
"leftImg"
alt=
""
/>
</div>
<div
class=
"options"
>
<
div
class=
"sendFind"
>
发查询
</div
>
<
!-- <div class="sendFind">发查询</div> --
>
<div
class=
"set"
>
系统管理
</div>
<div
class=
"role"
>
指纹员
</div>
<div
class=
"message"
>
...
...
vue.config.js
View file @
8526f62e
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-1
1 17:17:56
* @LastEditTime: 2021-11-1
2 09:42:44
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
...
...
@@ -92,12 +92,12 @@ module.exports = {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://172.18.108.2:8099/", // 张 认定
// target: "http://192.168.128.112:8099", // 湖南-张
//
target: "http://192.168.128.114:8099", // 湖南-马
target
:
"http://192.168.128.114:8099"
,
// 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
target
:
"http://www.meetfood.cn:2390/"
,
// 湖南-线上
//
target: "http://www.meetfood.cn:2390/", // 湖南-线上
ws
:
true
,
changeOrigin
:
true
,
...
...
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