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
8dc62b04
Commit
8dc62b04
authored
Dec 16, 2021
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
案件指纹编辑旋转自有绘制的保存
parent
889cd221
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
22 deletions
+31
-22
src/views/Editor/modules/imageEdAJ.scss
+2
-2
src/views/Editor/modules/imageEdAJ.vue
+26
-17
vue.config.js
+3
-3
No files found.
src/views/Editor/modules/imageEdAJ.scss
View file @
8dc62b04
...
...
@@ -1092,8 +1092,8 @@ $canvasWidth: var(--canvasWidth, 670px);
/deep/ .canvas-container {
position: absolute !important;
width: 670px
!important
;
height: 670px
!important
;
width: 670px;
height: 670px;
z-index: 9;
}
}
...
...
src/views/Editor/modules/imageEdAJ.vue
View file @
8dc62b04
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-12-16 2
1:04:3
1
* @LastEditTime: 2021-12-16 2
3:33:5
1
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
...
...
@@ -1875,6 +1875,12 @@ export default {
$
(
'.tzdDrawing'
).
css
(
'height'
,
self
.
canvasBox_height
+
'px'
)
$
(
'.tzdDrawing_2'
).
css
(
'width'
,
self
.
canvasBox_width
+
'px'
)
$
(
'.tzdDrawing_2'
).
css
(
'height'
,
self
.
canvasBox_height
+
'px'
)
$
(
'.canvas-container'
).
css
(
'width'
,
self
.
canvasBox_width
+
'px'
)
$
(
'.canvas-container'
).
css
(
'height'
,
self
.
canvasBox_height
+
'px'
)
$
(
'.irregular'
).
css
(
'width'
,
self
.
canvasBox_width
+
'px'
)
$
(
'.irregular'
).
css
(
'height'
,
self
.
canvasBox_height
+
'px'
)
document
.
querySelector
(
'.irregular'
).
width
=
self
.
canvasBox_width
document
.
querySelector
(
'.irregular'
).
height
=
self
.
canvasBox_height
// 记录实际图片和canvas盒子展示的 宽高比
self
.
width_ratio
=
self
.
canvasBox_width
/
self
.
newWidth
self
.
height_ratio
=
self
.
canvasBox_height
/
self
.
newHeight
...
...
@@ -5148,6 +5154,9 @@ export default {
sessionStorage
.
removeItem
(
'auto_yxhz_'
+
self
.
seq
)
sessionStorage
.
removeItem
(
'auto_zyhz_'
+
self
.
seq
)
sessionStorage
.
removeItem
(
'auto_tzdDom'
+
self
.
seq
)
sessionStorage
.
removeItem
(
'yxhz_'
+
self
.
seq
)
sessionStorage
.
removeItem
(
'zyhz_'
+
self
.
seq
)
sessionStorage
.
removeItem
(
'tzdDom'
+
self
.
seq
)
// 特征点
self
.
autoTzdArr
=
[]
...
...
@@ -5755,9 +5764,9 @@ export default {
if
(
self
.
autoCircleArr_hand
)
{
self
.
autoCircleArr_hand
.
forEach
((
item
)
=>
{
circleArr_hand_t
.
push
({
yxtq_yxxzb
:
item
.
centerX
,
yxtq_yxyzb
:
item
.
centerY
,
yxtq_yxbj
:
item
.
radius
yxtq_yxxzb
:
item
.
centerX
/
self
.
width_ratio
,
yxtq_yxyzb
:
item
.
centerY
/
self
.
height_ratio
,
yxtq_yxbj
:
item
.
radius
/
self
.
height_ratio
});
});
}
...
...
@@ -5786,8 +5795,8 @@ export default {
self
.
autoFcanvas
.
forEach
((
itemarr
)
=>
{
itemarr
.
forEach
((
item
)
=>
{
Fcanvasarr_s
.
push
({
zdytq_tzdxzb
:
item
.
x
,
zdytq_tzdyzb
:
item
.
y
zdytq_tzdxzb
:
item
.
x
/
self
.
width_ratio
,
zdytq_tzdyzb
:
item
.
y
/
self
.
height_ratio
});
});
Fcanvasarr_t
.
push
({
...
...
@@ -5899,9 +5908,9 @@ export default {
if
(
self
.
autoCircleArr_hand
)
{
self
.
autoCircleArr_hand
.
forEach
((
item
)
=>
{
circleArr_hand_t
.
push
({
yxtq_yxxzb
:
item
.
centerX
,
yxtq_yxyzb
:
item
.
centerY
,
yxtq_yxbj
:
item
.
radius
yxtq_yxxzb
:
item
.
centerX
/
self
.
width_ratio
,
yxtq_yxyzb
:
item
.
centerY
/
self
.
height_ratio
,
yxtq_yxbj
:
item
.
radius
/
self
.
height_ratio
});
});
}
...
...
@@ -5930,8 +5939,8 @@ export default {
self
.
autoFcanvas
.
forEach
((
itemarr
)
=>
{
itemarr
.
forEach
((
item
)
=>
{
Fcanvasarr_s
.
push
({
zdytq_tzdxzb
:
item
.
x
,
zdytq_tzdyzb
:
item
.
y
zdytq_tzdxzb
:
item
.
x
/
self
.
width_ratio
,
zdytq_tzdyzb
:
item
.
y
/
self
.
height_ratio
});
});
Fcanvasarr_t
.
push
({
...
...
@@ -6484,8 +6493,8 @@ export default {
self
.
Fcanvasarr
.
forEach
((
itemarr
)
=>
{
itemarr
.
forEach
((
item
)
=>
{
Fcanvasarr_s
.
push
({
zdytq_tzdxzb
:
item
.
x
/
self
.
width_ratio
,
zdytq_tzdyzb
:
item
.
y
/
self
.
height_ratio
zdytq_tzdxzb
:
item
.
x
,
zdytq_tzdyzb
:
item
.
y
});
});
Fcanvasarr_t
.
push
({
...
...
@@ -6498,8 +6507,8 @@ export default {
self
.
autoFcanvas
.
forEach
((
itemarr
)
=>
{
itemarr
.
forEach
((
item
)
=>
{
Fcanvasarr_s
.
push
({
zdytq_tzdxzb
:
item
.
x
/
self
.
width_ratio
,
zdytq_tzdyzb
:
item
.
y
/
self
.
height_ratio
zdytq_tzdxzb
:
item
.
x
,
zdytq_tzdyzb
:
item
.
y
});
});
Fcanvasarr_t
.
push
({
...
...
@@ -6531,8 +6540,8 @@ export default {
-
angle
);
Fcanvasarr_s
.
push
({
zdytq_tzdxzb
:
x
,
zdytq_tzdyzb
:
y
zdytq_tzdxzb
:
x
/
self
.
width_ratio
,
zdytq_tzdyzb
:
y
/
self
.
height_ratio
});
})
Fcanvasarr_t2
.
push
({
...
...
vue.config.js
View file @
8dc62b04
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-12-16 2
1:53:05
* @LastEditTime: 2021-12-16 2
3:00:27
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
...
...
@@ -90,7 +90,7 @@ module.exports = {
proxy
:
{
"/api"
:
{
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
target
:
"http://192.168.128.166:8099/"
,
// 张 认定
//
target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.114:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
// target: "http://192.168.128.118:8764", // 湖南-张呈光
...
...
@@ -98,7 +98,7 @@ module.exports = {
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
//
target:"http://zwpt.xzclub.top:9333/",
target
:
"http://zwpt.xzclub.top:9333/"
,
// target: "http://192.168.128.115:8099", // 江
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