Commit 4ce8fb39 by 李姝悦

rg下载和截屏 ty和al图像展示

parent 85abb185
...@@ -1642,17 +1642,17 @@ export default { ...@@ -1642,17 +1642,17 @@ export default {
// 下载 // 下载
$btnDownload.on("click", function (e) { $btnDownload.on("click", function (e) {
e.stopPropagation() e.stopPropagation()
if (self.$route.name == 'LT' || self.$route.name == 'fhxxLT') { if (self.$route.name == 'LT' || self.$route.name == 'fhxxLT' || self.$route.name == 'rgLT') {
// 正查 -- 左案件 -- 右人员 // 正查 -- 左案件 -- 右人员
self.downLoadSource() self.downLoadSource()
// 人员图片下载 // 人员图片下载
// TODO // TODO
self.getRyPic(sessionStorage.getItem('destseqno'), sessionStorage.getItem('destbarcode')) self.getRyPic(sessionStorage.getItem('destseqno'), sessionStorage.getItem('destbarcode'))
} else if (self.$route.name == 'TL' || self.$route.name == 'fhxxTL') { } else if (self.$route.name == 'TL' || self.$route.name == 'fhxxTL' || self.$route.name == 'rgTL') {
// 倒查 -- 左人员 -- 右案件 // 倒查 -- 左人员 -- 右案件
self.getRyPic(sessionStorage.getItem('srcseqno'), sessionStorage.getItem('srcbarcode')) self.getRyPic(sessionStorage.getItem('srcseqno'), sessionStorage.getItem('srcbarcode'))
self.downLoadTarget() self.downLoadTarget()
} else if (self.$route.name == 'LL' || self.$route.name == 'fhxxLL') { } else if (self.$route.name == 'LL' || self.$route.name == 'fhxxLL' || self.$route.name == 'rgLL') {
// 串查 -- 左案件 -- 右案件 // 串查 -- 左案件 -- 右案件
self.downLoadSource() self.downLoadSource()
self.downLoadTarget() self.downLoadTarget()
...@@ -2122,8 +2122,8 @@ export default { ...@@ -2122,8 +2122,8 @@ export default {
self.newWidth_target = sizeValue.newWidth self.newWidth_target = sizeValue.newWidth
self.newHeight_target = sizeValue.newHeight self.newHeight_target = sizeValue.newHeight
console.log(self.newWidth_target); // console.log(self.newWidth_target);
console.log(self.newHeight_target); // console.log(self.newHeight_target);
$(".tui-image-editor2").css('width', '33.75rem') $(".tui-image-editor2").css('width', '33.75rem')
$(".tui-image-editor2").css('height', '33.75rem') $(".tui-image-editor2").css('height', '33.75rem')
$(".tui-image-editor2 .tui-image-editor-canvas-container").css('width', '33.75rem') $(".tui-image-editor2 .tui-image-editor-canvas-container").css('width', '33.75rem')
...@@ -2302,7 +2302,7 @@ export default { ...@@ -2302,7 +2302,7 @@ export default {
if (supportingFileAPI) { if (supportingFileAPI) {
blob = this.base64ToBlob(dataURL); blob = this.base64ToBlob(dataURL);
type = blob.type.split("/")[1]; type = blob.type.split("/")[1];
imageName += ".bmp" imageName += ".png"
// Library: FileSaver - saveAs // Library: FileSaver - saveAs
saveAs(blob, imageName); // eslint-disable-line saveAs(blob, imageName); // eslint-disable-line
...@@ -2326,7 +2326,7 @@ export default { ...@@ -2326,7 +2326,7 @@ export default {
if (supportingFileAPI) { if (supportingFileAPI) {
blob = this.base64ToBlob(dataURL); blob = this.base64ToBlob(dataURL);
type = blob.type.split("/")[1]; type = blob.type.split("/")[1];
imageName += ".bmp" imageName += ".png"
// Library: FileSaver - saveAs // Library: FileSaver - saveAs
saveAs(blob, imageName); // eslint-disable-line saveAs(blob, imageName); // eslint-disable-line
...@@ -2395,9 +2395,9 @@ export default { ...@@ -2395,9 +2395,9 @@ export default {
let a = document.createElement('a') //创建一个a标签 let a = document.createElement('a') //创建一个a标签
a.href = url; a.href = url;
if (type === 2) { if (type === 2) {
a.download = '掌纹图片.bmp' a.download = '掌纹图片.png'
} else { } else {
a.download = '指纹图片.bmp'; a.download = '指纹图片.png';
} }
a.click(); a.click();
URL.revokeObjectURL(a.href); //释放之前创建的url对象 URL.revokeObjectURL(a.href); //释放之前创建的url对象
...@@ -4659,7 +4659,7 @@ export default { ...@@ -4659,7 +4659,7 @@ export default {
this.isCropper = true; this.isCropper = true;
this.initStatus(); this.initStatus();
let self = this; let self = this;
if (this.$route.name == "LT") { if (this.$route.name == "LT" || this.$route.name == 'rgLT') {
// 正查界面 // 正查界面
$(".header").css("opacity", "0"); $(".header").css("opacity", "0");
$(".lt_header").css("opacity", "0"); $(".lt_header").css("opacity", "0");
...@@ -4698,7 +4698,7 @@ export default { ...@@ -4698,7 +4698,7 @@ export default {
$(".lt_cnadidate_search").css("opacity", "1"); $(".lt_cnadidate_search").css("opacity", "1");
$(".el-checkbox").css("opacity", "1"); $(".el-checkbox").css("opacity", "1");
}); });
} else if (this.$route.name == "TL") { } else if (this.$route.name == "TL" || this.$route.name == 'rgTL') {
// 倒查页面 // 倒查页面
$(".header").css("opacity", "0"); $(".header").css("opacity", "0");
$(".lt_header").css("opacity", "0"); $(".lt_header").css("opacity", "0");
...@@ -4737,7 +4737,7 @@ export default { ...@@ -4737,7 +4737,7 @@ export default {
$(".tl-search").css("opacity", "1"); $(".tl-search").css("opacity", "1");
$(".lt_main_footer").css("opacity", "1"); $(".lt_main_footer").css("opacity", "1");
}); });
} else if (this.$route.name == 'LL') { } else if (this.$route.name == 'LL' || this.$route.name == 'rgLL' ) {
$(".lt_header").css('opacity', '0') $(".lt_header").css('opacity', '0')
$(".lt_main_header").css('opacity', '0') $(".lt_main_header").css('opacity', '0')
$(".lt_main_footer").css('opacity', '0') $(".lt_main_footer").css('opacity', '0')
......
...@@ -198,7 +198,7 @@ import "@/icons/error.svg"; ...@@ -198,7 +198,7 @@ import "@/icons/error.svg";
import Utils from "@/utils/util.js"; import Utils from "@/utils/util.js";
import LLSrc from "./modules/LLSrc.vue"; import LLSrc from "./modules/LLSrc.vue";
import LLCandidate from "./modules/LLCandidate.vue"; import LLCandidate from "./modules/LLCandidate.vue";
import ImageEd from "@/components/ImageEd.vue"; import ImageEd from "../../components/ImageEd.vue";
export default { export default {
// 正查 倒查 查重 // 正查 倒查 查重
name: "LT", name: "LT",
......
...@@ -112,13 +112,13 @@ module.exports = { ...@@ -112,13 +112,13 @@ module.exports = {
// target: "http://192.168.128.166:8099/", // 张 认定 // target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.104:8099", // 湖南-马 // target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王 // target: "http://192.168.128.116:8099", // 湖南-王
target: "http://192.168.128.119:8099", // 湖南-张呈光 // target: "http://192.168.128.119: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", // 湖南-线上
// target: "http://zwpt.xzclub.top:9333/", target: "http://zwpt.xzclub.top:9333/",
target: "http://192.168.128.100:8099", // 江 // target: "http://192.168.128.100:8099", // 江
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
......
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