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
03c4e853
Commit
03c4e853
authored
Nov 15, 2021
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
毛玻璃效果
parent
b075637b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
391 additions
and
83 deletions
+391
-83
src/App.vue
+3
-3
src/components/ImageEd.scss
+4
-0
src/components/ImageEd.vue
+5
-5
src/main.js
+1
-1
src/plugins/axios.js
+8
-1
src/router/index.js
+3
-1
src/views/AllPersonnelBase/AllPersonnelBase.vue
+4
-1
src/views/Editor/modules/ajzwbjLeft.vue
+17
-2
src/views/Editor/modules/imageEd.scss
+33
-0
src/views/Editor/modules/imageEd.vue
+0
-0
src/views/Editor/modules/imageEdAJ.scss
+22
-8
src/views/Editor/modules/imageEdAJ.vue
+52
-26
src/views/Editor/modules/ryzwbjLeft.scss
+4
-0
src/views/Editor/modules/ryzwbjLeft.vue
+45
-13
src/views/Home.vue
+0
-0
src/views/cxyrd/modules/LTCandidate.vue
+21
-3
src/views/cxyrd/modules/LTSrc.vue
+25
-1
src/views/cxyrd/modules/TLCandidate.vue
+26
-6
src/views/cxyrd/modules/TLSrc.vue
+115
-9
vue.config.js
+3
-3
No files found.
src/App.vue
View file @
03c4e853
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-09-07 09:58:13
* @Date: 2021-09-07 09:58:13
* @LastEditTime: 2021-11-1
1 17:06:19
* @LastEditTime: 2021-11-1
5 16:23:02
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\App.vue
* @FilePath: \指纹系统\founder_vue\src\App.vue
...
@@ -18,11 +18,11 @@ export default {
...
@@ -18,11 +18,11 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
/*每个页面公共css */
/*每个页面公共css */
@import
"assets/styles/main.scss"
;
@import
"assets/styles/main.scss"
;
#app
{
#app
{
height
:
800px
;
//
height
:
800px
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
src/components/ImageEd.scss
View file @
03c4e853
...
@@ -1121,6 +1121,9 @@ div {
...
@@ -1121,6 +1121,9 @@ div {
&
:last-child
{
&
:last-child
{
margin-right
:
0
;
margin-right
:
0
;
}
}
&
:nth-child
(
7
)
{
margin-right
:
0
;
}
&
:active
{
&
:active
{
background
:
#055fe7
;
background
:
#055fe7
;
box-shadow
:
4px
4px
4px
0px
rgba
(
193
,
216
,
251
,
0
.8
)
,
box-shadow
:
4px
4px
4px
0px
rgba
(
193
,
216
,
251
,
0
.8
)
,
...
@@ -1131,6 +1134,7 @@ div {
...
@@ -1131,6 +1134,7 @@ div {
.light_dbd
{
.light_dbd
{
width
:
128px
;
width
:
128px
;
height
:
40px
;
height
:
40px
;
margin-right
:
0
;
}
}
.line
{
.line
{
width
:
1px
;
width
:
1px
;
...
...
src/components/ImageEd.vue
View file @
03c4e853
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-09-09 09:28:46
* @Date: 2021-09-09 09:28:46
* @LastEditTime: 2021-11-15 1
0:07:43
* @LastEditTime: 2021-11-15 1
5:07:25
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\cxyrd\LTz.vue
* @FilePath: \指纹系统\founder_vue\src\views\cxyrd\LTz.vue
...
@@ -408,7 +408,7 @@
...
@@ -408,7 +408,7 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-slider
class=
"range-narrow"
id=
"input-range-remove-white-distance"
v-model=
"inputRemoveWhiteRange"
:min=
"0"
:max=
"255"
></el-slider>
<el-slider
class=
"range-narrow"
id=
"input-range-remove-white-distance"
v-model=
"inputRemoveWhiteRange"
:min=
"0"
:max=
"255"
></el-slider>
<!--
<input
class=
"range-narrow"
id=
"input-range-remove-white-distance"
type=
"range"
min=
"0"
:value=
"inputRemoveWhiteRange"
max=
"255"
/>
-->
<!--
<input
class=
"range-narrow"
id=
"input-range-remove-white-distance"
type=
"range"
min=
"0"
:value=
"inputRemoveWhiteRange"
max=
"255"
/>
-->
<input
class=
"qb_v"
type=
"text"
v-model=
"inputRemoveWhiteRange"
>
<input
class=
"qb_v"
type=
"text"
v-model
.
number
=
"inputRemoveWhiteRange"
>
</div>
</div>
</div>
</div>
<!-- 滤色器弹框 -->
<!-- 滤色器弹框 -->
...
@@ -417,7 +417,7 @@
...
@@ -417,7 +417,7 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-slider
class=
"range-narrow"
id=
"input-range-color-filter-value"
v-model=
"inputColorFilterRange"
:min=
"0"
:max=
"255"
></el-slider>
<el-slider
class=
"range-narrow"
id=
"input-range-color-filter-value"
v-model=
"inputColorFilterRange"
:min=
"0"
:max=
"255"
></el-slider>
<!--
<input
class=
"range-narrow"
id=
"input-range-color-filter-value"
type=
"range"
min=
"0"
:value=
"inputColorFilterRange"
max=
"255"
/>
-->
<!--
<input
class=
"range-narrow"
id=
"input-range-color-filter-value"
type=
"range"
min=
"0"
:value=
"inputColorFilterRange"
max=
"255"
/>
-->
<input
class=
"qb_v"
type=
"text"
v-model=
"inputColorFilterRange"
>
<input
class=
"qb_v"
type=
"text"
v-model
.
number
=
"inputColorFilterRange"
>
</div>
</div>
</div>
</div>
<!-- 正片叠底弹框 -->
<!-- 正片叠底弹框 -->
...
@@ -438,13 +438,13 @@
...
@@ -438,13 +438,13 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-slider
class=
"range-narrow"
id=
"input-range-brightness-value"
v-model=
"inputBrightnessRange"
:min=
"-255"
:max=
"255"
></el-slider>
<el-slider
class=
"range-narrow"
id=
"input-range-brightness-value"
v-model=
"inputBrightnessRange"
:min=
"-255"
:max=
"255"
></el-slider>
<!--
<input
class=
"range-narrow"
id=
"input-range-brightness-value"
type=
"range"
min=
"-255"
:value=
"inputBrightnessRange"
max=
"255"
/>
-->
<!--
<input
class=
"range-narrow"
id=
"input-range-brightness-value"
type=
"range"
min=
"-255"
:value=
"inputBrightnessRange"
max=
"255"
/>
-->
<input
class=
"qb_v"
type=
"text"
v-model=
"inputBrightnessRange"
>
<input
class=
"qb_v"
type=
"text"
v-model
.
number
=
"inputBrightnessRange"
>
</div>
</div>
<div
class=
"title"
>
对比度
</div>
<div
class=
"title"
>
对比度
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<el-slider
class=
"range-narrow"
id=
"input-range-contrast-value"
v-model=
"inputContrastRange"
:min=
"0"
:max=
"255"
></el-slider>
<el-slider
class=
"range-narrow"
id=
"input-range-contrast-value"
v-model=
"inputContrastRange"
:min=
"0"
:max=
"255"
></el-slider>
<!--
<input
class=
"range-narrow"
id=
"input-range-contrast-value"
type=
"range"
min=
"0"
:value=
"inputContrastRange"
max=
"255"
/>
-->
<!--
<input
class=
"range-narrow"
id=
"input-range-contrast-value"
type=
"range"
min=
"0"
:value=
"inputContrastRange"
max=
"255"
/>
-->
<input
class=
"qb_v"
type=
"text"
v-model=
"inputContrastRange"
>
<input
class=
"qb_v"
type=
"text"
v-model
.
number
=
"inputContrastRange"
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/main.js
View file @
03c4e853
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-09-07 14:39:52
* @Date: 2021-09-07 14:39:52
* @LastEditTime: 2021-1
0-29 09:16:5
6
* @LastEditTime: 2021-1
1-15 11:13:3
6
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\main.js
* @FilePath: \指纹系统\founder_vue\src\main.js
...
...
src/plugins/axios.js
View file @
03c4e853
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-
09 17:33:31
* @LastEditTime: 2021-11-
15 10:51:08
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\plugins\axios.js
* @FilePath: \指纹系统\founder_vue\src\plugins\axios.js
...
@@ -16,6 +16,7 @@ import store from "../store";
...
@@ -16,6 +16,7 @@ import store from "../store";
import
{
Loading
}
from
'element-ui'
;
import
{
Loading
}
from
'element-ui'
;
var
loadingIndex
=
0
;
var
loadingIndex
=
0
;
var
loadingBoo
;
var
loadingBoo
;
var
timer
;
// Full config: https://github.com/axios/axios#request-config
// Full config: https://github.com/axios/axios#request-config
// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
...
@@ -64,8 +65,11 @@ _axios.interceptors.response.use(
...
@@ -64,8 +65,11 @@ _axios.interceptors.response.use(
NProgress
.
done
();
NProgress
.
done
();
if
(
loadingBoo
)
loadingIndex
--
;
if
(
loadingBoo
)
loadingIndex
--
;
if
(
loadingIndex
==
0
)
{
if
(
loadingIndex
==
0
)
{
clearTimeout
(
timer
)
timer
=
setTimeout
(()
=>
{
loading
&&
loading
.
close
();
loading
&&
loading
.
close
();
loading
=
null
loading
=
null
},
1200
);
}
}
if
(
response
.
data
.
code
===
401
)
{
if
(
response
.
data
.
code
===
401
)
{
localStorage
.
removeItem
(
"token"
);
//删除名称为“token”的信息。
localStorage
.
removeItem
(
"token"
);
//删除名称为“token”的信息。
...
@@ -78,8 +82,11 @@ _axios.interceptors.response.use(
...
@@ -78,8 +82,11 @@ _axios.interceptors.response.use(
NProgress
.
done
();
NProgress
.
done
();
if
(
loadingBoo
)
loadingIndex
--
;
if
(
loadingBoo
)
loadingIndex
--
;
if
(
loadingIndex
==
0
)
{
if
(
loadingIndex
==
0
)
{
clearTimeout
(
timer
)
setTimeout
(()
=>
{
loading
&&
loading
.
close
();
loading
&&
loading
.
close
();
loading
=
null
;
loading
=
null
;
},
1200
);
}
}
// Do something with response error
// Do something with response error
return
Promise
.
reject
(
error
);
return
Promise
.
reject
(
error
);
...
...
src/router/index.js
View file @
03c4e853
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-1
1 16:58:0
7
* @LastEditTime: 2021-11-1
5 20:07:1
7
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\router\index.js
* @FilePath: \指纹系统\founder_vue\src\router\index.js
...
@@ -68,8 +68,10 @@ const router = new VueRouter({
...
@@ -68,8 +68,10 @@ const router = new VueRouter({
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
console
.
log
(
from
);
console
.
log
(
from
);
if
(
from
.
name
===
'ryzwbj'
||
from
.
name
===
'ajzwbj'
)
{
if
(
from
.
name
===
'ryzwbj'
||
from
.
name
===
'ajzwbj'
)
{
setTimeout
(()
=>
{
// 清空session
// 清空session
sessionStorage
.
clear
()
sessionStorage
.
clear
()
},
1000
);
}
}
next
()
next
()
})
})
...
...
src/views/AllPersonnelBase/AllPersonnelBase.vue
View file @
03c4e853
...
@@ -559,8 +559,10 @@ export default {
...
@@ -559,8 +559,10 @@ export default {
},
},
closeXzry
(
val
)
{
closeXzry
(
val
)
{
console
.
log
(
"新增人员关闭"
,
val
);
console
.
log
(
"新增人员关闭"
,
val
);
// 增加毛玻璃
this
.
$bus
.
emit
(
'isBlur'
,
val
)
this
.
isShowXzry
=
val
;
this
.
isShowXzry
=
val
;
this
.
search
();
//
this.search();
},
},
// 时间格式化
// 时间格式化
dateTimeFormat
(
row
,
colnum
)
{
dateTimeFormat
(
row
,
colnum
)
{
...
@@ -725,6 +727,7 @@ export default {
...
@@ -725,6 +727,7 @@ export default {
this
.
isShowGz
=
true
;
this
.
isShowGz
=
true
;
},
},
closeGz
(
val
)
{
closeGz
(
val
)
{
this
.
$bus
.
emit
(
'isBlur'
,
val
)
console
.
log
(
"关注关闭"
,
val
);
console
.
log
(
"关注关闭"
,
val
);
this
.
isShowGz
=
val
;
this
.
isShowGz
=
val
;
this
.
search
();
this
.
search
();
...
...
src/views/Editor/modules/ajzwbjLeft.vue
View file @
03c4e853
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-11-1
3 11:21:59
* @LastEditTime: 2021-11-1
5 16:11:50
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...
@@ -71,7 +71,12 @@
...
@@ -71,7 +71,12 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
axios
from
'axios'
;
import
{
Loading
}
from
'element-ui'
;
import
{
mapState
}
from
'vuex'
;
import
{
mapState
}
from
'vuex'
;
// 取消上一次请求
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -134,6 +139,9 @@ export default {
...
@@ -134,6 +139,9 @@ export default {
image
:
null
image
:
null
}
}
],
],
// 加载动画
loading
:
null
,
timer
:
null
,
}
}
},
},
computed
:
{
computed
:
{
...
@@ -162,6 +170,7 @@ export default {
...
@@ -162,6 +170,7 @@ export default {
* 获取案件指纹原图
* 获取案件指纹原图
*/
*/
getCaseOrigin
(
seq
)
{
getCaseOrigin
(
seq
)
{
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$store
.
commit
(
'zwbj/setSeq'
,
seq
)
this
.
$store
.
commit
(
'zwbj/setSeq'
,
seq
)
let
self
=
this
let
self
=
this
this
.
$axios
({
this
.
$axios
({
...
@@ -172,7 +181,8 @@ export default {
...
@@ -172,7 +181,8 @@ export default {
barcode
:
self
.
barcode
,
barcode
:
self
.
barcode
,
seqno
:
self
.
seq
seqno
:
self
.
seq
},
},
loading
:
false
loading
:
false
,
cancelToken
:
source
.
token
}).
then
(
res
=>
{
}).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
...
@@ -183,6 +193,11 @@ export default {
...
@@ -183,6 +193,11 @@ export default {
}
}
}
}
})
})
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
},
},
/**
/**
* 获取案件指纹
* 获取案件指纹
...
...
src/views/Editor/modules/imageEd.scss
View file @
03c4e853
...
@@ -1454,6 +1454,7 @@ $transOrigin: var(--transOrigin, 0px, 0px);
...
@@ -1454,6 +1454,7 @@ $transOrigin: var(--transOrigin, 0px, 0px);
.content {
.content {
display: flex;
display: flex;
align-items: center;
align-items: center;
margin-left: 10px;
}
}
.title {
.title {
font-size: 14px;
font-size: 14px;
...
@@ -1469,6 +1470,22 @@ $transOrigin: var(--transOrigin, 0px, 0px);
...
@@ -1469,6 +1470,22 @@ $transOrigin: var(--transOrigin, 0px, 0px);
height: 20px;
height: 20px;
}
}
}
}
/deep/ .el-slider__runway {
width: 190px;
height: 3px;
margin: 0;
background-color: #eeeeee;
}
/deep/ .el-slider__bar {
height: 3px;
background-color: #055fe7;
}
/deep/ .el-slider__button {
width: 10px;
height: 10px;
background: #ffffff;
border: 2px solid #055fe7;
}
}
}
.options-line {
.options-line {
width: 304px;
width: 304px;
...
@@ -1507,6 +1524,22 @@ $transOrigin: var(--transOrigin, 0px, 0px);
...
@@ -1507,6 +1524,22 @@ $transOrigin: var(--transOrigin, 0px, 0px);
}
}
}
}
}
}
/deep/ .el-slider__runway {
width: 200px;
height: 3px;
margin: 0;
background-color: #eeeeee;
}
/deep/ .el-slider__bar {
height: 3px;
background-color: #055fe7;
}
/deep/ .el-slider__button {
width: 10px;
height: 10px;
background: #ffffff;
border: 2px solid #055fe7;
}
.brightness {
.brightness {
margin-top: 10px;
margin-top: 10px;
margin-left: 32px;
margin-left: 32px;
...
...
src/views/Editor/modules/imageEd.vue
View file @
03c4e853
This diff is collapsed.
Click to expand it.
src/views/Editor/modules/imageEdAJ.scss
View file @
03c4e853
...
@@ -798,8 +798,9 @@ $directionRotate: var(--directionRotate, 0deg);
...
@@ -798,8 +798,9 @@ $directionRotate: var(--directionRotate, 0deg);
height: 640px;
height: 640px;
background: #ffffff;
background: #ffffff;
display: flex;
display: flex;
justify-content: center;
filter: "
FlipV
";
align-items: center;
// justify-content: center;
// align-items: center;
.tui-image-editor {
.tui-image-editor {
width: 640px !important;
width: 640px !important;
height: 640px !important;
height: 640px !important;
...
@@ -811,9 +812,9 @@ $directionRotate: var(--directionRotate, 0deg);
...
@@ -811,9 +812,9 @@ $directionRotate: var(--directionRotate, 0deg);
max-width: 640px !important;
max-width: 640px !important;
height: 100%;
height: 100%;
width: auto !important;
width: auto !important;
display: flex !important;
//
display: flex !important;
justify-content: center !important;
//
justify-content: center !important;
align-items: center !important;
//
align-items: center !important;
}
}
.blc {
.blc {
position: absolute;
position: absolute;
...
@@ -2131,6 +2132,21 @@ $directionRotate: var(--directionRotate, 0deg);
...
@@ -2131,6 +2132,21 @@ $directionRotate: var(--directionRotate, 0deg);
top: 128px;
top: 128px;
right: 47px;
right: 47px;
}
}
/deep/ .el-slider__runway {
width: 142px;
height: 3px;
margin: 0;
}
/deep/ .el-slider__bar {
height: 3px;
background-color: #055fe7;
}
/deep/ .el-slider__button {
width: 10px;
height: 10px;
background: #ffffff;
border: 2px solid #055fe7;
}
.remove-white {
.remove-white {
position: absolute;
position: absolute;
top: 150px;
top: 150px;
...
@@ -2245,6 +2261,3 @@ $directionRotate: var(--directionRotate, 0deg);
...
@@ -2245,6 +2261,3 @@ $directionRotate: var(--directionRotate, 0deg);
transform: scale(1.6);
transform: scale(1.6);
}
}
}
}
\ No newline at end of file
// /deep/.el-select-dropdown__item {
// padding-left: 20px !important;
// }
src/views/Editor/modules/imageEdAJ.vue
View file @
03c4e853
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-11-1
3 14:49:54
* @LastEditTime: 2021-11-1
5 19:17:49
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
...
@@ -1093,9 +1093,9 @@ export default {
...
@@ -1093,9 +1093,9 @@ export default {
console
.
log
(
"flipY: "
,
status
.
flipY
);
console
.
log
(
"flipY: "
,
status
.
flipY
);
console
.
log
(
"angle: "
,
status
.
angle
);
console
.
log
(
"angle: "
,
status
.
angle
);
if
(
status
.
flipX
)
{
if
(
status
.
flipX
)
{
$
(
".tzdDrawing"
).
css
(
"transform"
,
"rotateY(180deg)"
);
$
(
".tzdDrawing"
).
css
(
"transform"
,
`rotateY(
${
-
status
.
angle
+
180
}
deg) rotateX(
${
-
status
.
angle
}
deg)`
);
}
else
{
}
else
{
$
(
".tzdDrawing"
).
css
(
"transform"
,
"rotateY(0deg)"
);
$
(
".tzdDrawing"
).
css
(
"transform"
,
`rotate(
${
-
status
.
angle
}
deg)`
);
}
}
});
});
});
});
...
@@ -1110,15 +1110,17 @@ export default {
...
@@ -1110,15 +1110,17 @@ export default {
console
.
log
(
"flipY: "
,
status
.
flipY
);
console
.
log
(
"flipY: "
,
status
.
flipY
);
console
.
log
(
"angle: "
,
status
.
angle
);
console
.
log
(
"angle: "
,
status
.
angle
);
if
(
status
.
flipY
)
{
if
(
status
.
flipY
)
{
$
(
".tzdDrawing"
).
css
(
"transform"
,
"rotateX(180deg)"
);
$
(
".tzdDrawing"
).
css
(
"transform"
,
`rotateX(
${
-
status
.
angle
+
180
}
deg) rotateY(
${
-
status
.
angle
}
deg)`
);
}
else
{
}
else
{
$
(
".tzdDrawing"
).
css
(
"transform"
,
"rotateX(0deg)"
);
$
(
".tzdDrawing"
).
css
(
"transform"
,
`rotate(
${
-
status
.
angle
}
deg)`
);
}
}
});
});
});
});
// 重置
// 重置
$btnResetFlip
.
on
(
"click"
,
function
()
{
$btnResetFlip
.
on
(
"click"
,
function
()
{
self
.
move_left
=
0
self
.
move_TOP
=
0
self
.
isX
=
false
;
self
.
isX
=
false
;
self
.
isY
=
false
;
self
.
isY
=
false
;
self
.
isReset
=
true
;
self
.
isReset
=
true
;
...
@@ -1162,10 +1164,10 @@ export default {
...
@@ -1162,10 +1164,10 @@ export default {
// 向左旋转30°
// 向左旋转30°
$btnRotateClockwise
.
on
(
"click"
,
function
()
{
$btnRotateClockwise
.
on
(
"click"
,
function
()
{
self
.
isHandTZD
=
false
self
.
isHandTZD
=
false
self
.
startPlace
+
=
30
;
self
.
startPlace
-
=
30
;
self
.
isLeftRotate
=
true
;
self
.
isLeftRotate
=
true
;
self
.
isRightRotate
=
false
;
self
.
isRightRotate
=
false
;
imageEditor
.
rotate
(
30
);
imageEditor
.
rotate
(
-
30
);
self
.
historys
.
push
(
"旋转"
);
self
.
historys
.
push
(
"旋转"
);
let
canvasImage
=
imageEditor
.
_graphics
.
getCanvasImage
();
let
canvasImage
=
imageEditor
.
_graphics
.
getCanvasImage
();
console
.
log
(
canvasImage
);
console
.
log
(
canvasImage
);
...
@@ -1195,10 +1197,10 @@ export default {
...
@@ -1195,10 +1197,10 @@ export default {
// 向右旋转30°
// 向右旋转30°
$btnRotateCounterClockWise
.
on
(
"click"
,
function
()
{
$btnRotateCounterClockWise
.
on
(
"click"
,
function
()
{
self
.
isHandTZD
=
false
self
.
isHandTZD
=
false
self
.
startPlace
-
=
30
;
self
.
startPlace
+
=
30
;
self
.
isLeftRotate
=
false
;
self
.
isLeftRotate
=
false
;
self
.
isRightRotate
=
true
;
self
.
isRightRotate
=
true
;
imageEditor
.
rotate
(
-
30
).
then
((
res
)
=>
{
imageEditor
.
rotate
(
+
30
).
then
((
res
)
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
});
});
self
.
historys
.
push
(
"旋转"
);
self
.
historys
.
push
(
"旋转"
);
...
@@ -1407,7 +1409,7 @@ export default {
...
@@ -1407,7 +1409,7 @@ export default {
contrast
:
this
.
value
/
255
,
contrast
:
this
.
value
/
255
,
});
});
})
})
/*
this.$bus.on('ajzwbjImage', (sourceImage) => {
this.$bus.on('ajzwbjImage', (sourceImage) => {
// 缩放为1
// 缩放为1
self.zoomLevel = 1
self.zoomLevel = 1
...
@@ -1458,32 +1460,40 @@ export default {
...
@@ -1458,32 +1460,40 @@ export default {
}
}
})
})
})
})
*/
this
.
$bus
.
on
(
"ajzwbjImage"
,
(
sourceImage
)
=>
{
this
.
$bus
.
on
(
"ajzwbjImage"
,
(
sourceImage
)
=>
{
self
.
sourceImage
=
sourceImage
;
// 缩放为1
self
.
zoomLevel
=
1
imageEditor
.
resetZoom
()
self
.
sourceImage
=
sourceImage
imageEditor
imageEditor
.
loadImageFromURL
(
.
loadImageFromURL
(
"data:image/jpeg;base64,"
+
sourceImage
,
"data:image/jpeg;base64,"
+
sourceImage
,
"SampleImage"
"SampleImage"
)
)
.
then
(
function
(
sizeValue
)
{
.
then
(
function
(
sizeValue
)
{
// 更新newHeight和newWidth
self
.
newHeight
=
sizeValue
.
newHeight
self
.
newWidth
=
sizeValue
.
newWidth
// 清除自由绘制和圆形绘制
// 清除自由绘制和圆形绘制
$
(
".td_circle"
).
remove
();
$
(
'.td_circle'
).
remove
()
self
.
circleArr_hand
=
[];
$
(
'.auto_td_circle'
).
remove
()
Fcanvas
.
clear
();
self
.
Fcanvas
=
[];
self
.
circleArr_hand
=
[]
self
.
autoCircleArr_hand
=
[]
Fcanvas
.
clear
()
self
.
Fcanvas
=
[]
self
.
autoFcanvas
=
[]
// console.log(sizeValue);
// console.log(sizeValue);
// 切换指纹图片时,清空特征点数组
// 切换指纹图片时,清空特征点数组
self
.
tzdnumber
=
0
;
self
.
tzdnumber
=
0
self
.
tzdArr
=
[]
;
self
.
tzdArr
=
[]
self
.
autoTzdArr
=
[]
;
self
.
autoTzdArr
=
[]
// 移除图片上的点
// 移除图片上的点
$
(
".tzdDom"
).
remove
();
$
(
'.tzdDom'
).
remove
()
$
(
".auto_tzdDom"
).
remove
();
$
(
'.auto_tzdDom'
).
remove
()
imageEditor
.
clearUndoStack
();
imageEditor
.
clearUndoStack
();
// 缩放为1
self
.
zoomLevel
=
1
;
// 获取自动提取特征
// 获取自动提取特征
self
.
getAutoTzd
(
false
);
self
.
getAutoTzd
(
false
);
...
@@ -2093,7 +2103,8 @@ export default {
...
@@ -2093,7 +2103,8 @@ export default {
// Fcanvas.setHeight(self.newHeight*Fcanvas.getZoom())
// Fcanvas.setHeight(self.newHeight*Fcanvas.getZoom())
// document.querySelector('.tzdDrawing').style.transformOrigin = `${originPointer.x}px ${originPointer.y}px`;
// document.querySelector('.tzdDrawing').style.transformOrigin = `${originPointer.x}px ${originPointer.y}px`;
$
(
".tzdDrawing"
).
css
(
"transform"
,
`scale(
${
self
.
zoomLevel
}
)`
);
let
canvasImage
=
imageEditor
.
_graphics
.
getCanvasImage
();
$
(
".tzdDrawing"
).
css
(
"transform"
,
`rotate(
${
canvasImage
.
angle
}
deg) scale(
${
self
.
zoomLevel
}
)`
);
$
(
".tzdDrawing_2"
).
css
(
"transform"
,
`scale(
${
self
.
zoomLevel
}
)`
);
$
(
".tzdDrawing_2"
).
css
(
"transform"
,
`scale(
${
self
.
zoomLevel
}
)`
);
// document.querySelector('.tzdDrawing').style.transformOrigin = "260px 260px";
// document.querySelector('.tzdDrawing').style.transformOrigin = "260px 260px";
// console.log(`${originPointer.y}px,${originPointer.x}px`);
// console.log(`${originPointer.y}px,${originPointer.x}px`);
...
@@ -2129,7 +2140,8 @@ export default {
...
@@ -2129,7 +2140,8 @@ export default {
// $('.tzdDom').css('z-index', `9999`)
// $('.tzdDom').css('z-index', `9999`)
// $('.tzdDrawing').css('transform-origin', `${originPointer.y}px,${originPointer.x}px`)
// $('.tzdDrawing').css('transform-origin', `${originPointer.y}px,${originPointer.x}px`)
// document.querySelector('.tzdDrawing').style.transformOrigin = `${originPointer.x}px ${originPointer.y}px`;
// document.querySelector('.tzdDrawing').style.transformOrigin = `${originPointer.x}px ${originPointer.y}px`;
$
(
".tzdDrawing"
).
css
(
"transform"
,
`scale(
${
self
.
zoomLevel
}
)`
);
let
canvasImage
=
imageEditor
.
_graphics
.
getCanvasImage
();
$
(
".tzdDrawing"
).
css
(
"transform"
,
`rotate(
${
canvasImage
.
angle
}
deg) scale(
${
self
.
zoomLevel
}
)`
);
$
(
".tzdDrawing_2"
).
css
(
"transform"
,
`scale(
${
self
.
zoomLevel
}
)`
);
$
(
".tzdDrawing_2"
).
css
(
"transform"
,
`scale(
${
self
.
zoomLevel
}
)`
);
// document.querySelector('.tzdDrawing').style.transformOrigin = "260px 260px";
// document.querySelector('.tzdDrawing').style.transformOrigin = "260px 260px";
...
@@ -2184,7 +2196,7 @@ export default {
...
@@ -2184,7 +2196,7 @@ export default {
deg
=
0
deg
=
0
}
}
console
.
log
(
self
.
startPlace
,
'原点 '
);
console
.
log
(
self
.
startPlace
,
'原点 '
);
if
(
deg
)
{
if
(
deg
)
{
$
(
"#tzd"
+
self
.
tzdId
).
css
(
"transform"
,
`rotate(
${
deg
-
self
.
startPlace
}
deg)`
);
$
(
"#tzd"
+
self
.
tzdId
).
css
(
"transform"
,
`rotate(
${
deg
-
self
.
startPlace
}
deg)`
);
}
else
{
}
else
{
...
@@ -3157,6 +3169,13 @@ export default {
...
@@ -3157,6 +3169,13 @@ export default {
let
self
=
this
;
let
self
=
this
;
console
.
log
(
this
.
rule_num
);
console
.
log
(
this
.
rule_num
);
console
.
log
(
this
.
line_distance
);
console
.
log
(
this
.
line_distance
);
if
(
this
.
kdvalue
==
'毫米/mm'
)
{
this
.
rule_num
=
this
.
rule_num
}
else
if
(
this
.
kdvalue
==
'厘米/cm'
)
{
this
.
rule_num
=
Number
(
this
.
rule_num
)
*
10
}
else
if
(
this
.
kdvalue
==
'英寸/in'
)
{
this
.
rule_num
=
Number
(
this
.
rule_num
)
*
25.4
}
let
frame
=
(
this
.
line_distance
/
this
.
rule_num
)
*
26
;
let
frame
=
(
this
.
line_distance
/
this
.
rule_num
)
*
26
;
this
.
bb
=
((
3
/
5
)
*
this
.
canvasHeight
)
/
frame
;
this
.
bb
=
((
3
/
5
)
*
this
.
canvasHeight
)
/
frame
;
// let bb = 3/4*Math.pow(self.canvasHeight, 2)/frame
// let bb = 3/4*Math.pow(self.canvasHeight, 2)/frame
...
@@ -5367,3 +5386,10 @@ export default {
...
@@ -5367,3 +5386,10 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
"./imageEdAJ.scss"
;
@import
"./imageEdAJ.scss"
;
</
style
>
</
style
>
<
style
lang=
"scss"
>
//
修改下拉框样式
.el-select-dropdown__item
{
padding-left
:
20px
;
}
</
style
>
src/views/Editor/modules/ryzwbjLeft.scss
View file @
03c4e853
...
@@ -156,6 +156,10 @@
...
@@ -156,6 +156,10 @@
}
}
}
}
}
}
.isHasData
{
background
:
#ECEDF1
;
color
:
#AEAFB4
;
}
}
}
}
}
}
}
src/views/Editor/modules/ryzwbjLeft.vue
View file @
03c4e853
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-10-22 09:42:07
* @Date: 2021-10-22 09:42:07
* @LastEditTime: 2021-11-15 1
0:37:25
* @LastEditTime: 2021-11-15 1
4:41:58
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\ryzwbjLeft.vue
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"zzw-select"
@
click=
"zzwChange($event)"
>
<div
class=
"zzw-select"
@
click=
"zzwChange($event)"
>
<div
class=
"select-item"
:class=
"
{active: zwSelect==='滚动指纹'}">滚动指纹
</div>
<div
class=
"select-item"
:class=
"
{active: zwSelect==='滚动指纹'}">滚动指纹
</div>
<div
class=
"select-line"
></div>
<div
class=
"select-line"
></div>
<div
class=
"select-item"
:class=
"
{active: zwSelect==='平面指纹'}">平面指纹
</div>
<div
class=
"select-item"
:class=
"
{active: zwSelect==='平面指纹'
, isHasData: !PainFingerFlag
}">平面指纹
</div>
<div
class=
"select-line"
></div>
<div
class=
"select-line"
></div>
<div
class=
"select-item"
:class=
"
{active: zwSelect==='掌纹'}">掌纹
</div>
<div
class=
"select-item"
:class=
"
{active: zwSelect==='掌纹'}">掌纹
</div>
</div>
</div>
...
@@ -88,7 +88,12 @@
...
@@ -88,7 +88,12 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
axios
from
'axios'
;
import
{
Loading
}
from
'element-ui'
;
import
{
mapState
}
from
'vuex'
;
import
{
mapState
}
from
'vuex'
;
// 取消上一次请求
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -212,7 +217,10 @@ export default {
...
@@ -212,7 +217,10 @@ export default {
name
:
'小'
,
name
:
'小'
,
image
:
null
image
:
null
}
}
]
],
// 加载动画
loading
:
null
,
timer
:
null
,
}
}
},
},
computed
:
{
computed
:
{
...
@@ -228,8 +236,8 @@ export default {
...
@@ -228,8 +236,8 @@ export default {
// console.log(this.$route);
// console.log(this.$route);
this
.
id
=
this
.
$route
.
params
.
id
this
.
id
=
this
.
$route
.
params
.
id
await
this
.
getPainFingers
()
await
this
.
getRollFingers
()
await
this
.
getRollFingers
()
await
this
.
getPainFingers
()
await
this
.
findFinger
()
await
this
.
findFinger
()
if
(
self
.
finger
&&
self
.
finger
.
code
)
{
if
(
self
.
finger
&&
self
.
finger
.
code
)
{
this
.
activerollFinger
=
self
.
finger
.
code
this
.
activerollFinger
=
self
.
finger
.
code
...
@@ -255,6 +263,7 @@ export default {
...
@@ -255,6 +263,7 @@ export default {
* @return {*}
* @return {*}
*/
*/
getRollFingerOrigin
(
seq
)
{
getRollFingerOrigin
(
seq
)
{
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$store
.
commit
(
'zwbj/setSeq'
,
seq
)
this
.
$store
.
commit
(
'zwbj/setSeq'
,
seq
)
// ip:port/api/org/roll/{id}/{seq}
// ip:port/api/org/roll/{id}/{seq}
let
self
=
this
let
self
=
this
...
@@ -266,7 +275,8 @@ export default {
...
@@ -266,7 +275,8 @@ export default {
barcode
:
self
.
barcode
,
barcode
:
self
.
barcode
,
seqno
:
self
.
seq
seqno
:
self
.
seq
},
},
loading
:
false
loading
:
false
,
cancelToken
:
source
.
token
,
// url: `/api/org/roll/${1}/${seq}?mnt=1`
// url: `/api/org/roll/${1}/${seq}?mnt=1`
}).
then
(
res
=>
{
}).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
...
@@ -278,6 +288,11 @@ export default {
...
@@ -278,6 +288,11 @@ export default {
}
}
}
}
})
})
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
},
},
/**
/**
* @description: 获取平面指纹原图
* @description: 获取平面指纹原图
...
@@ -285,6 +300,7 @@ export default {
...
@@ -285,6 +300,7 @@ export default {
* @return {*}
* @return {*}
*/
*/
getPainFingerOrigin
(
seq
)
{
getPainFingerOrigin
(
seq
)
{
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$store
.
commit
(
'zwbj/setSeq'
,
seq
)
this
.
$store
.
commit
(
'zwbj/setSeq'
,
seq
)
// ip:port/api/org/plain/{id}/{seq}
// ip:port/api/org/plain/{id}/{seq}
let
self
=
this
let
self
=
this
...
@@ -296,7 +312,8 @@ export default {
...
@@ -296,7 +312,8 @@ export default {
barcode
:
self
.
barcode
,
barcode
:
self
.
barcode
,
seqno
:
self
.
seq
seqno
:
self
.
seq
},
},
loading
:
false
loading
:
false
,
cancelToken
:
source
.
token
,
// url: `/api/org/plain/${1}/${seq}?mnt=1`
// url: `/api/org/plain/${1}/${seq}?mnt=1`
}).
then
(
res
=>
{
}).
then
(
res
=>
{
// console.log(res);
// console.log(res);
...
@@ -308,6 +325,11 @@ export default {
...
@@ -308,6 +325,11 @@ export default {
}
}
}
}
})
})
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
},
},
/**
/**
* @description: 获取滚动指纹
* @description: 获取滚动指纹
...
@@ -315,6 +337,7 @@ export default {
...
@@ -315,6 +337,7 @@ export default {
* @return {*}
* @return {*}
*/
*/
async
getRollFingers
()
{
async
getRollFingers
()
{
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
let
self
=
this
let
self
=
this
// 请求之前先清空图片数据
// 请求之前先清空图片数据
self
.
rollFingersLeft
.
forEach
((
item
)
=>
{
self
.
rollFingersLeft
.
forEach
((
item
)
=>
{
...
@@ -388,9 +411,7 @@ export default {
...
@@ -388,9 +411,7 @@ export default {
// 左手
// 左手
if
(
element
.
seq
>
15
)
{
if
(
element
.
seq
>
15
)
{
self
.
painFingersLeft
.
forEach
((
item
)
=>
{
self
.
painFingersLeft
.
forEach
((
item
)
=>
{
if
(
item
.
code
==
element
.
seq
)
{
if
(
item
.
code
==
element
.
seq
)
{
item
.
image
=
element
.
image
item
.
image
=
element
.
image
}
}
})
})
...
@@ -405,11 +426,20 @@ export default {
...
@@ -405,11 +426,20 @@ export default {
}
}
self
.
PainFingerFlag
=
true
self
.
PainFingerFlag
=
true
}
else
{
}
else
{
debugger
// 没有平面指纹,不能切换tabl栏
// 没有平面指纹,不能切换tabl栏
self
.
PainFingerFlag
=
false
self
.
PainFingerFlag
=
false
}
}
}
else
{
// 没有数据
this
.
$message
.
error
(
'未查找到相关记录'
)
// 没有平面指纹,不能切换tabl栏
self
.
PainFingerFlag
=
false
}
}
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
},
},
/**
/**
* @description: 切换单个指纹
* @description: 切换单个指纹
...
@@ -448,34 +478,36 @@ export default {
...
@@ -448,34 +478,36 @@ export default {
async
findFinger
()
{
async
findFinger
()
{
let
self
=
this
let
self
=
this
self
.
finger
=
null
self
.
finger
=
null
self
.
rollFingersLeft
.
some
((
item
,
index
)
=>
{
self
.
rollFingersRight
.
some
((
item
,
index
)
=>
{
if
(
item
.
image
!==
null
)
{
if
(
item
.
image
!==
null
)
{
self
.
finger
=
item
self
.
finger
=
item
return
true
return
true
}
}
})
})
if
(
self
.
finger
)
return
self
.
finger
if
(
self
.
finger
)
return
self
.
finger
self
.
rollFingers
Righ
t
.
some
((
item
,
index
)
=>
{
self
.
rollFingers
Lef
t
.
some
((
item
,
index
)
=>
{
if
(
item
.
image
!==
null
)
{
if
(
item
.
image
!==
null
)
{
self
.
finger
=
item
self
.
finger
=
item
return
true
return
true
}
}
})
})
if
(
self
.
finger
)
return
self
.
finger
if
(
self
.
finger
)
return
self
.
finger
self
.
painFingers
Lef
t
.
some
((
item
,
index
)
=>
{
self
.
painFingers
Righ
t
.
some
((
item
,
index
)
=>
{
if
(
item
.
image
!==
null
)
{
if
(
item
.
image
!==
null
)
{
self
.
finger
=
item
self
.
finger
=
item
return
true
return
true
}
}
})
})
if
(
self
.
finger
)
return
self
.
finger
if
(
self
.
finger
)
return
self
.
finger
self
.
painFingers
Righ
t
.
some
((
item
,
index
)
=>
{
self
.
painFingers
Lef
t
.
some
((
item
,
index
)
=>
{
if
(
item
.
image
!==
null
)
{
if
(
item
.
image
!==
null
)
{
self
.
finger
=
item
self
.
finger
=
item
return
true
return
true
}
}
})
})
if
(
self
.
finger
)
return
self
.
finger
if
(
self
.
finger
)
return
self
.
finger
return
self
.
finger
return
self
.
finger
},
},
/**
/**
...
...
src/views/Home.vue
View file @
03c4e853
This diff is collapsed.
Click to expand it.
src/views/cxyrd/modules/LTCandidate.vue
View file @
03c4e853
...
@@ -199,6 +199,8 @@
...
@@ -199,6 +199,8 @@
</template>
</template>
<
script
>
<
script
>
import
axios
from
'axios'
;
import
{
Loading
}
from
'element-ui'
;
export
default
{
export
default
{
name
:
"LTCandidate"
,
name
:
"LTCandidate"
,
data
()
{
data
()
{
...
@@ -246,7 +248,10 @@ export default {
...
@@ -246,7 +248,10 @@ export default {
// 是否展示指纹下拉框
// 是否展示指纹下拉框
isFingerDropdown
:
false
,
isFingerDropdown
:
false
,
// 选择的指纹类型
// 选择的指纹类型
fingershowType
:
''
fingershowType
:
''
,
// 加载动画
loading
:
null
,
timer
:
null
,
};
};
},
},
created
()
{
created
()
{
...
@@ -1097,11 +1102,18 @@ export default {
...
@@ -1097,11 +1102,18 @@ export default {
// }
// }
let
zcseq
=
sessionStorage
.
getItem
(
'zcseq'
)
let
zcseq
=
sessionStorage
.
getItem
(
'zcseq'
)
let
qqid
=
sessionStorage
.
getItem
(
'qqid'
)
let
qqid
=
sessionStorage
.
getItem
(
'qqid'
)
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
qqid
}
/
${
zcseq
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
),
destbarcode
:
self
.
input3
.
trim
()
})
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
qqid
}
/
${
zcseq
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
),
destbarcode
:
self
.
input3
.
trim
()
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
tableData
=
response
.
data
.
ret
self
.
tableData
=
response
.
data
.
ret
self
.
total
=
self
.
tableData
.
length
self
.
total
=
self
.
tableData
.
length
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
})
})
},
},
/**
/**
...
@@ -1121,6 +1133,7 @@ export default {
...
@@ -1121,6 +1133,7 @@ export default {
// 存储目的数据序号
// 存储目的数据序号
sessionStorage
.
setItem
(
"destseqno"
,
val
.
destseqno
);
sessionStorage
.
setItem
(
"destseqno"
,
val
.
destseqno
);
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
// 平面
// 平面
if
(
val
.
destseqno
>
10
)
{
if
(
val
.
destseqno
>
10
)
{
this
.
$axios
this
.
$axios
...
@@ -1142,6 +1155,11 @@ export default {
...
@@ -1142,6 +1155,11 @@ export default {
self
.
$bus
.
emit
(
"changImageEditTarget"
,
response
.
data
.
ret
.
image
);
self
.
$bus
.
emit
(
"changImageEditTarget"
,
response
.
data
.
ret
.
image
);
})
})
}
}
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
// this.$axios
// this.$axios
...
@@ -1231,7 +1249,7 @@ const candidates = [
...
@@ -1231,7 +1249,7 @@ const candidates = [
}
}
}
}
.input
{
.input
{
width
:
27
2
px
;
width
:
27
0
px
;
height
:
32px
;
height
:
32px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-top-left-radius
:
4px
;
border-top-left-radius
:
4px
;
...
@@ -1414,7 +1432,7 @@ const candidates = [
...
@@ -1414,7 +1432,7 @@ const candidates = [
}
}
.lt_candidate
.lt_cnadidate_search
.input
{
.lt_candidate
.lt_cnadidate_search
.input
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
2
90
px
;
width
:
2
86
px
;
}
}
/
deep
/
.el-input
{
/
deep
/
.el-input
{
box-sizing
:
border-box
!important
;
box-sizing
:
border-box
!important
;
...
...
src/views/cxyrd/modules/LTSrc.vue
View file @
03c4e853
...
@@ -76,6 +76,8 @@
...
@@ -76,6 +76,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
axios
from
'axios'
;
import
{
Loading
}
from
'element-ui'
;
export
default
{
export
default
{
name
:
"LTSrc"
,
name
:
"LTSrc"
,
props
:
[
"srcData"
],
props
:
[
"srcData"
],
...
@@ -113,7 +115,10 @@ export default {
...
@@ -113,7 +115,10 @@ export default {
fingerTotal
:
0
,
fingerTotal
:
0
,
currentRow
:
null
,
currentRow
:
null
,
options
:
'展开'
,
options
:
'展开'
,
qqid
:
null
qqid
:
null
,
// 加载动画
loading
:
null
,
timer
:
null
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -147,6 +152,8 @@ export default {
...
@@ -147,6 +152,8 @@ export default {
* @return {*}
* @return {*}
*/
*/
handleCurrentChange
(
val
,
old
)
{
handleCurrentChange
(
val
,
old
)
{
// 发送请求
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
let
self
=
this
let
self
=
this
if
(
val
==
null
)
return
;
if
(
val
==
null
)
return
;
// 改变数据为点击状态
// 改变数据为点击状态
...
@@ -174,6 +181,11 @@ export default {
...
@@ -174,6 +181,11 @@ export default {
self
.
changeStyle
(
0
,
self
.
enumerate
[
0
])
self
.
changeStyle
(
0
,
self
.
enumerate
[
0
])
})
})
this
.
isActive
=
""
;
this
.
isActive
=
""
;
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
},
},
/**
/**
* @description: 获取列表数据
* @description: 获取列表数据
...
@@ -181,6 +193,8 @@ export default {
...
@@ -181,6 +193,8 @@ export default {
* @return {*}
* @return {*}
*/
*/
getDetailData
()
{
getDetailData
()
{
// 发送请求
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
let
self
=
this
let
self
=
this
if
(
this
.
type
==
'father'
)
{
if
(
this
.
type
==
'father'
)
{
this
.
$axios
this
.
$axios
...
@@ -211,6 +225,10 @@ export default {
...
@@ -211,6 +225,10 @@ export default {
})
})
});
});
}
}
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
},
},
// 获取选择的任务详情
// 获取选择的任务详情
getFirgerPrintDetail
(
row
)
{
getFirgerPrintDetail
(
row
)
{
...
@@ -241,11 +259,17 @@ export default {
...
@@ -241,11 +259,17 @@ export default {
sessionStorage
.
setItem
(
'srcseqno'
,
imageInfo
.
seq
)
sessionStorage
.
setItem
(
'srcseqno'
,
imageInfo
.
seq
)
sessionStorage
.
setItem
(
'zcseq'
,
imageInfo
.
seq
)
sessionStorage
.
setItem
(
'zcseq'
,
imageInfo
.
seq
)
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
// 发送请求
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
seq
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
})
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
seq
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
$bus
.
emit
(
'initCandidate'
,
response
.
data
.
ret
)
self
.
$bus
.
emit
(
'initCandidate'
,
response
.
data
.
ret
)
})
})
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
}
}
},
},
/**
/**
...
...
src/views/cxyrd/modules/TLCandidate.vue
View file @
03c4e853
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
axios
from
'axios'
;
import
{
Loading
}
from
'element-ui'
;
export
default
{
export
default
{
name
:
"TLCandidate"
,
name
:
"TLCandidate"
,
data
()
{
data
()
{
...
@@ -28,7 +30,10 @@ export default {
...
@@ -28,7 +30,10 @@ export default {
tableData
:
[],
tableData
:
[],
sourceTableData
:
[],
sourceTableData
:
[],
checked
:
true
,
checked
:
true
,
total
:
0
total
:
0
,
// 加载动画
loading
:
null
,
timer
:
null
,
};
};
},
},
created
()
{
created
()
{
...
@@ -64,18 +69,27 @@ export default {
...
@@ -64,18 +69,27 @@ export default {
* @param {*}
* @param {*}
* @return {*}
* @return {*}
*/
*/
search
()
{
search
()
{
let
self
=
this
let
self
=
this
let
dcseq
=
sessionStorage
.
getItem
(
'dcseq'
)
let
dcseq
=
sessionStorage
.
getItem
(
'dcseq'
)
let
qqid
=
sessionStorage
.
getItem
(
'qqid'
)
let
qqid
=
sessionStorage
.
getItem
(
'qqid'
)
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
qqid
}
/
${
dcseq
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
),
destbarcode
:
self
.
input3
.
trim
()
})
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
qqid
}
/
${
dcseq
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
),
destbarcode
:
self
.
input3
.
trim
()
},
{
loading
:
false
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
tableData
=
response
.
data
.
ret
self
.
tableData
=
response
.
data
.
ret
self
.
total
=
self
.
tableData
.
total
self
.
total
=
self
.
tableData
.
total
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
})
})
},
},
handleCurrentChange
(
val
,
old
)
{
handleCurrentChange
(
val
,
old
)
{
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
let
self
=
this
let
self
=
this
console
.
info
(
val
,
old
);
console
.
info
(
val
,
old
);
if
(
val
!=
null
)
{
if
(
val
!=
null
)
{
...
@@ -88,14 +102,20 @@ export default {
...
@@ -88,14 +102,20 @@ export default {
// 存储倒查序号
// 存储倒查序号
sessionStorage
.
setItem
(
"backcheckXh"
,
val
.
destseqno
)
sessionStorage
.
setItem
(
"backcheckXh"
,
val
.
destseqno
)
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
// this.$axios.get(`/api/api/org/plainByBarcode/R1100002487002018050034/1/`)
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
this
.
$axios
.
post
(
'/api/org/caseBybarcode/barcode/seq'
,
{
.
post
(
'/api/org/caseBybarcode/barcode/seq'
,
{
barcode
:
val
.
destbarcode
,
barcode
:
val
.
destbarcode
,
seqno
:
val
.
destseqno
,
seqno
:
val
.
destseqno
,
qqid
:
val
.
qqid
qqid
:
val
.
qqid
}).
then
(
response
=>
{
}
,
{
loading
:
false
,
cancelToken
:
source
.
token
}
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
$bus
.
emit
(
"changImageEditTarget"
,
response
.
data
.
ret
.
image
);
self
.
$bus
.
emit
(
"changImageEditTarget"
,
response
.
data
.
ret
.
image
);
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
});
});
// this.$axios
// this.$axios
// .get(`/api/org/plainByBarcode/${val.destbarcode}/${val.destid}`)
// .get(`/api/org/plainByBarcode/${val.destbarcode}/${val.destid}`)
...
...
src/views/cxyrd/modules/TLSrc.vue
View file @
03c4e853
...
@@ -254,6 +254,8 @@
...
@@ -254,6 +254,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
axios
from
'axios'
;
import
{
Loading
}
from
'element-ui'
;
import
'nprogress/nprogress.css'
import
'nprogress/nprogress.css'
import
NProgress
from
'nprogress'
;
import
NProgress
from
'nprogress'
;
import
"@/icons/loading.svg"
;
import
"@/icons/loading.svg"
;
...
@@ -327,7 +329,10 @@ export default {
...
@@ -327,7 +329,10 @@ export default {
// 指纹图片加载
// 指纹图片加载
fingerLoading
:
true
,
fingerLoading
:
true
,
// 平面的tab栏是否可以点击
// 平面的tab栏是否可以点击
painFlag
:
true
painFlag
:
true
,
// 加载动画
loading
:
null
,
timer
:
null
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -376,7 +381,7 @@ export default {
...
@@ -376,7 +381,7 @@ export default {
* @return {*}
* @return {*}
*/
*/
switchPain
()
{
switchPain
()
{
if
(
!
this
.
painFlag
)
return
;
if
(
!
this
.
painFlag
)
return
;
this
.
fingerShowType
=
'pain'
this
.
fingerShowType
=
'pain'
},
},
/**
/**
...
@@ -434,6 +439,8 @@ export default {
...
@@ -434,6 +439,8 @@ export default {
barcode
:
barcode
,
barcode
:
barcode
,
qqid
:
self
.
qqid
,
qqid
:
self
.
qqid
,
querytype
:
'1'
querytype
:
'1'
},
{
loading
:
false
})
})
console
.
log
(
fingerPain
);
console
.
log
(
fingerPain
);
if
(
fingerPain
.
data
.
ret
&&
fingerPain
.
data
.
ret
.
length
>
0
)
{
if
(
fingerPain
.
data
.
ret
&&
fingerPain
.
data
.
ret
.
length
>
0
)
{
...
@@ -492,6 +499,8 @@ export default {
...
@@ -492,6 +499,8 @@ export default {
barcode
:
barcode
,
barcode
:
barcode
,
qqid
:
self
.
qqid
,
qqid
:
self
.
qqid
,
querytype
:
'1'
querytype
:
'1'
},
{
loading
:
false
})
})
console
.
log
(
fingerRoll
);
console
.
log
(
fingerRoll
);
if
(
fingerRoll
.
data
.
ret
&&
fingerRoll
.
data
.
ret
.
length
>
0
)
{
if
(
fingerRoll
.
data
.
ret
&&
fingerRoll
.
data
.
ret
.
length
>
0
)
{
...
@@ -572,12 +581,15 @@ export default {
...
@@ -572,12 +581,15 @@ export default {
// 获取列表数据
// 获取列表数据
async
getDetailData
()
{
async
getDetailData
()
{
// 发送请求
// 发送请求
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
NProgress
.
start
();
NProgress
.
start
();
console
.
info
(
this
.
dataList
);
console
.
info
(
this
.
dataList
);
let
self
=
this
let
self
=
this
if
(
self
.
type
==
'father'
)
{
if
(
self
.
type
==
'father'
)
{
await
this
.
$axios
await
this
.
$axios
.
post
(
"/api/queryque/standardAll"
,
{
contrastCustomSearchReq
:
{
qid
:
Number
(
self
.
qid
)
}
})
.
post
(
"/api/queryque/standardAll"
,
{
contrastCustomSearchReq
:
{
qid
:
Number
(
self
.
qid
)
}
},
{
loading
:
false
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
sourceDataList
=
response
.
data
.
ret
self
.
sourceDataList
=
response
.
data
.
ret
...
@@ -591,7 +603,9 @@ export default {
...
@@ -591,7 +603,9 @@ export default {
});
});
}
else
{
}
else
{
await
this
.
$axios
await
this
.
$axios
.
post
(
"/api/queryque/standardAll"
,
{
contrastCustomSearchReq
:
{
qqid
:
Number
(
self
.
qqid
)
}
})
.
post
(
"/api/queryque/standardAll"
,
{
contrastCustomSearchReq
:
{
qqid
:
Number
(
self
.
qqid
)
}
},
{
loading
:
false
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
sourceDataList
=
response
.
data
.
ret
self
.
sourceDataList
=
response
.
data
.
ret
...
@@ -604,7 +618,6 @@ export default {
...
@@ -604,7 +618,6 @@ export default {
})
})
});
});
}
}
NProgress
.
done
();
NProgress
.
done
();
},
},
/**
/**
...
@@ -681,6 +694,9 @@ export default {
...
@@ -681,6 +694,9 @@ export default {
* @return {*}
* @return {*}
*/
*/
changeStyleLeftR
(
index
,
imageInfo
)
{
changeStyleLeftR
(
index
,
imageInfo
)
{
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
console
.
log
(
imageInfo
);
console
.
log
(
imageInfo
);
let
self
=
this
let
self
=
this
// 如果图片存在
// 如果图片存在
...
@@ -697,12 +713,40 @@ export default {
...
@@ -697,12 +713,40 @@ export default {
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
}
}
NProgress
.
start
();
NProgress
.
start
();
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
})
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
({
method
:
'post'
,
url
:
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
data
:
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
},
cancelToken
:
source
.
token
,
loading
:
false
,
})
// this.$axios.post(`/api/query/matchcand/dest/${self.qqid}/${imageInfo.code}`, { srcbarcode: sessionStorage.getItem('srcbarcode') }, {
// loading: false,
// cancelToken: new this.$axios.CancelToken(function executor (c) {
// self.source = c;
// })
// })
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
}).
catch
(
error
=>
{
if
(
this
.
$axios
.
isCancel
(
err
))
{
console
.
log
(
'Rquest canceled'
,
err
.
message
);
//请求如果被取消,这里是返回取消的message
}
else
{
//handle error
console
.
log
(
err
);
}
})
})
NProgress
.
done
();
NProgress
.
done
();
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
}
}
},
},
/**
/**
...
@@ -712,6 +756,8 @@ export default {
...
@@ -712,6 +756,8 @@ export default {
* @return {*}
* @return {*}
*/
*/
changeStyleRightR
(
index
,
imageInfo
)
{
changeStyleRightR
(
index
,
imageInfo
)
{
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
console
.
log
(
imageInfo
);
console
.
log
(
imageInfo
);
let
self
=
this
let
self
=
this
if
(
imageInfo
.
image
)
{
if
(
imageInfo
.
image
)
{
...
@@ -726,12 +772,28 @@ export default {
...
@@ -726,12 +772,28 @@ export default {
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
}
}
NProgress
.
start
();
NProgress
.
start
();
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
})
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
},
{
loading
:
false
,
cancelToken
:
source
.
token
,
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
}).
catch
(
err
=>
{
if
(
this
.
$axios
.
isCancel
(
err
))
{
console
.
log
(
'Rquest canceled'
,
err
.
message
);
//请求如果被取消,这里是返回取消的message
}
else
{
//handle error
console
.
log
(
err
);
}
})
})
NProgress
.
done
();
NProgress
.
done
();
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
}
}
},
},
/**
/**
...
@@ -741,6 +803,8 @@ export default {
...
@@ -741,6 +803,8 @@ export default {
* @return {*}
* @return {*}
*/
*/
changeStyleLeftL
(
index
,
imageInfo
)
{
changeStyleLeftL
(
index
,
imageInfo
)
{
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
console
.
log
(
imageInfo
);
console
.
log
(
imageInfo
);
let
self
=
this
let
self
=
this
if
(
imageInfo
.
image
)
{
if
(
imageInfo
.
image
)
{
...
@@ -755,12 +819,28 @@ export default {
...
@@ -755,12 +819,28 @@ export default {
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
}
}
NProgress
.
start
();
NProgress
.
start
();
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
})
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
srcbarcode
:
sessionStorage
.
getItem
(
'srcbarcode'
)
},
{
loading
:
false
,
cancelToken
:
source
.
token
,
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
}).
catch
(
err
=>
{
if
(
this
.
$axios
.
isCancel
(
err
))
{
console
.
log
(
'Rquest canceled'
,
err
.
message
);
//请求如果被取消,这里是返回取消的message
}
else
{
//handle error
console
.
log
(
err
);
}
})
})
NProgress
.
done
();
NProgress
.
done
();
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
}
}
},
},
/**
/**
...
@@ -770,6 +850,8 @@ export default {
...
@@ -770,6 +850,8 @@ export default {
* @return {*}
* @return {*}
*/
*/
changeStyleRightL
(
index
,
imageInfo
)
{
changeStyleRightL
(
index
,
imageInfo
)
{
const
CancelToken
=
axios
.
CancelToken
;
const
source
=
CancelToken
.
source
();
console
.
log
(
imageInfo
);
console
.
log
(
imageInfo
);
let
self
=
this
let
self
=
this
if
(
imageInfo
.
image
)
{
if
(
imageInfo
.
image
)
{
...
@@ -784,15 +866,39 @@ export default {
...
@@ -784,15 +866,39 @@ export default {
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
this
.
$bus
.
emit
(
'changImageEdit'
,
imageInfo
.
image
)
}
}
NProgress
.
start
();
NProgress
.
start
();
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
"srcbarcode"
:
sessionStorage
.
getItem
(
'srcbarcode'
)
})
this
.
loading
=
Loading
.
service
({
fullscreen
:
true
,
text
:
'正在加载...'
});
this
.
$axios
.
post
(
`/api/query/matchcand/dest/
${
self
.
qqid
}
/
${
imageInfo
.
code
}
`
,
{
"srcbarcode"
:
sessionStorage
.
getItem
(
'srcbarcode'
)
},
{
loading
:
false
,
cancelToken
:
source
.
token
,
})
.
then
(
response
=>
{
.
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
self
.
$bus
.
emit
(
'initTLCandidate'
,
response
.
data
.
ret
)
}).
catch
(
err
=>
{
if
(
this
.
$axios
.
isCancel
(
err
))
{
console
.
log
(
'Rquest canceled'
,
err
.
message
);
//请求如果被取消,这里是返回取消的message
}
else
{
//handle error
console
.
log
(
err
);
}
})
})
NProgress
.
done
();
NProgress
.
done
();
clearTimeout
(
self
.
timer
)
self
.
timer
=
setTimeout
(()
=>
{
self
.
loading
&&
self
.
loading
.
close
();
self
.
loading
=
null
},
1200
);
}
}
},
/**
* 取消删一次请求
*/
cancelQuest
()
{
if
(
typeof
this
.
source
===
'function'
)
{
this
.
source
(
'终止请求'
);
//取消请求
}
}
},
},
},
watch
:
{
watch
:
{
/**
/**
* @description: 过滤显示已认定完成查询ID
* @description: 过滤显示已认定完成查询ID
...
...
vue.config.js
View file @
03c4e853
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-11-15
09:33:17
* @LastEditTime: 2021-11-15
19:18:29
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
* @FilePath: \指纹系统\founder_vue\vue.config.js
...
@@ -92,12 +92,12 @@ module.exports = {
...
@@ -92,12 +92,12 @@ module.exports = {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://172.18.108.2:8099/", // 张 认定
// target: "http://172.18.108.2:8099/", // 张 认定
// target: "http://192.168.128.110:8099", // 湖南-张
// target: "http://192.168.128.110:8099", // 湖南-张
target
:
"http://192.168.128.114:8099"
,
// 湖南-马
//
target: "http://192.168.128.114:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://47.92.225.109:5602",
//
target: "http://www.meetfood.cn:2390/", // 湖南-线上
target
:
"http://www.meetfood.cn:2390/"
,
// 湖南-线上
ws
:
true
,
ws
:
true
,
changeOrigin
:
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