Commit 8dc62b04 by 张超军

案件指纹编辑旋转自有绘制的保存

parent 889cd221
......@@ -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;
}
}
......
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-12-16 21:04:31
* @LastEditTime: 2021-12-16 23:33:51
* @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({
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-12-16 21:53:05
* @LastEditTime: 2021-12-16 23: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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment