Commit a43098a9 by 张超军

线上系统恢复(去掉登出,日志上报)

parent 0ef7078e
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-09-09 09:28:46 * @Date: 2021-09-09 09:28:46
* @LastEditTime: 2022-04-05 22:21:20 * @LastEditTime: 2022-04-06 15:54:03
* @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
--> -->
...@@ -754,7 +754,7 @@ export default { ...@@ -754,7 +754,7 @@ export default {
features5: false, features5: false,
features6: false, features6: false,
// 判断-掌纹/指纹 // 判断-掌纹/指纹
showType: '指纹', showType: this.$t('Daxxk.fingerprint'),
// 是否点击了返回 // 是否点击了返回
go_active: false, go_active: false,
// 是否点击了撤销 // 是否点击了撤销
...@@ -1234,10 +1234,10 @@ export default { ...@@ -1234,10 +1234,10 @@ export default {
console.log(objectProps, 22222222); console.log(objectProps, 22222222);
if (objectProps.type == "line") { if (objectProps.type == "line") {
self.lines.push(objectProps); self.lines.push(objectProps);
self.historys.unshift("直线"); self.historys.unshift(self.$t('ImageEd.straight_line'));
} else if (objectProps.type == "path") { } else if (objectProps.type == "path") {
self.path.push(objectProps); self.path.push(objectProps);
self.historys.unshift("曲线"); self.historys.unshift(self.$t('ImageEd.curve'));
} }
// self.historys.unshift(objectProps.type) // self.historys.unshift(objectProps.type)
//console.log(111); //console.log(111);
...@@ -1279,7 +1279,7 @@ export default { ...@@ -1279,7 +1279,7 @@ export default {
console.log(obj) console.log(obj)
if (obj.type == "circle") { if (obj.type == "circle") {
self.circleArr.push(obj); self.circleArr.push(obj);
self.historys.unshift("标记点"); self.historys.unshift(self.$t('ImageEd.mark_point'));
imageEditor.discardSelection(); imageEditor.discardSelection();
} }
}, },
...@@ -1300,10 +1300,10 @@ export default { ...@@ -1300,10 +1300,10 @@ export default {
//console.log("imageEditor2======", objectProps); //console.log("imageEditor2======", objectProps);
if (objectProps.type == "line") { if (objectProps.type == "line") {
self.lines2.push(objectProps); self.lines2.push(objectProps);
self.historys2.unshift("直线"); self.historys2.unshift(self.$t('ImageEd.straight_line'));
} else if (objectProps.type == "path") { } else if (objectProps.type == "path") {
self.path2.push(objectProps); self.path2.push(objectProps);
self.historys2.unshift("曲线"); self.historys2.unshift(self.$t('ImageEd.curve'));
} }
}, },
undoStackChanged: function (length) { undoStackChanged: function (length) {
...@@ -1340,7 +1340,7 @@ export default { ...@@ -1340,7 +1340,7 @@ export default {
if (obj.type === "circle") { if (obj.type === "circle") {
// 存储标记点数据 // 存储标记点数据
self.circleArr2.push(obj); self.circleArr2.push(obj);
self.historys2.unshift("标记点"); self.historys2.unshift(self.$t('ImageEd.mark_point'));
imageEditor2.discardSelection(); imageEditor2.discardSelection();
} }
}, },
...@@ -2051,7 +2051,7 @@ export default { ...@@ -2051,7 +2051,7 @@ export default {
// imageEditor.rotate(30); // imageEditor.rotate(30);
// 旋转方法--并更新特征点图层 // 旋转方法--并更新特征点图层
self.rotateImage_source(30, true) self.rotateImage_source(30, true)
self.historys.unshift("旋转"); self.historys.unshift(self.$t('ImageEd.rotate'));
// 更新特征点图层 // 更新特征点图层
// self.changeTzdDrawing_source() // self.changeTzdDrawing_source()
} else { } else {
...@@ -2060,7 +2060,7 @@ export default { ...@@ -2060,7 +2060,7 @@ export default {
self.isRightRotate = false; self.isRightRotate = false;
// imageEditor2.rotate(30); // imageEditor2.rotate(30);
self.rotateImage_target(30, true) self.rotateImage_target(30, true)
self.historys2.unshift("旋转"); self.historys2.unshift(self.$t('ImageEd.rotate'));
// 更新特征点图层 // 更新特征点图层
self.changeTzdDrawing_target() self.changeTzdDrawing_target()
} }
...@@ -2073,13 +2073,13 @@ export default { ...@@ -2073,13 +2073,13 @@ export default {
self.isLeftRotate = false; self.isLeftRotate = false;
self.isRightRotate = true; self.isRightRotate = true;
self.rotateImage_source(-30, true) self.rotateImage_source(-30, true)
self.historys.unshift("旋转"); self.historys.unshift(self.$t('ImageEd.rotate'));
} else { } else {
self.startPlaceTarget -= 30; self.startPlaceTarget -= 30;
self.isLeftRotate = false; self.isLeftRotate = false;
self.isRightRotate = true; self.isRightRotate = true;
self.rotateImage_target(-30, true) self.rotateImage_target(-30, true)
self.historys2.unshift("旋转"); self.historys2.unshift(self.$t('ImageEd.rotate'));
} }
}); });
// 滑动旋转事件 // 滑动旋转事件
...@@ -2114,7 +2114,7 @@ export default { ...@@ -2114,7 +2114,7 @@ export default {
// self.inputRotationRange = parseInt($inputRotationRange.val(), 10) // self.inputRotationRange = parseInt($inputRotationRange.val(), 10)
// imageEditor.rotate(self.inputRotationRange - self.startPlaceSource); // imageEditor.rotate(self.inputRotationRange - self.startPlaceSource);
self.startPlaceSource = self.inputRotationRange; self.startPlaceSource = self.inputRotationRange;
self.historys.unshift("旋转"); self.historys.unshift(self.$t('ImageEd.rotate'));
// 更新特征点图层 // 更新特征点图层
// self.changeTzdDrawing_source() // self.changeTzdDrawing_source()
self.rotateImage_source(self.inputRotationRange) self.rotateImage_source(self.inputRotationRange)
...@@ -2122,7 +2122,7 @@ export default { ...@@ -2122,7 +2122,7 @@ export default {
self.inputRotationRange2 = self.inputRotationRange; self.inputRotationRange2 = self.inputRotationRange;
// imageEditor2.rotate(self.inputRotationRange - self.startPlaceTarget); // imageEditor2.rotate(self.inputRotationRange - self.startPlaceTarget);
self.startPlaceTarget = self.inputRotationRange2; self.startPlaceTarget = self.inputRotationRange2;
self.historys2.unshift("旋转"); self.historys2.unshift(self.$t('ImageEd.rotate'));
self.rotateImage_target(self.inputRotationRange) self.rotateImage_target(self.inputRotationRange)
} }
}); });
...@@ -2700,7 +2700,7 @@ export default { ...@@ -2700,7 +2700,7 @@ export default {
// 2 正查 // 2 正查
// 3 串查 // 3 串查
console.log(this.showType); console.log(this.showType);
if (this.showType == '指纹') { if (this.showType == this.$t('Daxxk.fingerprint')) {
if (type == 1 || type == 2) { if (type == 1 || type == 2) {
NetUtil.imageEd.fingerTZD({ NetUtil.imageEd.fingerTZD({
srcBarcode: barcode_source, srcBarcode: barcode_source,
...@@ -2963,7 +2963,7 @@ export default { ...@@ -2963,7 +2963,7 @@ export default {
*/ */
downLoadSource () { downLoadSource () {
var supportingFileAPI = !!(window.File && window.FileList && window.FileReader); var supportingFileAPI = !!(window.File && window.FileList && window.FileReader);
var imageName = "源数据指纹"; var imageName = this.$t('ImageEd.source_finger');
var dataURL = $("#sourceImage").attr("src"); var dataURL = $("#sourceImage").attr("src");
var blob, type, w; var blob, type, w;
if (supportingFileAPI) { if (supportingFileAPI) {
...@@ -2986,7 +2986,7 @@ export default { ...@@ -2986,7 +2986,7 @@ export default {
*/ */
downLoadTarget () { downLoadTarget () {
var supportingFileAPI = !!(window.File && window.FileList && window.FileReader); var supportingFileAPI = !!(window.File && window.FileList && window.FileReader);
var imageName = "目标数据指纹"; var imageName = this.$t('ImageEd.target_finger');
var dataURL = $("#targetImage").attr("src"); var dataURL = $("#targetImage").attr("src");
var blob, type, w; var blob, type, w;
...@@ -3062,14 +3062,14 @@ export default { ...@@ -3062,14 +3062,14 @@ 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 = this.$t('ImageEd.palmprint_picture')+'.bmp'
} else { } else {
a.download = '指纹图片.bmp'; a.download = this.$t('ImageEd.fingerprint_picture')+'.bmp';
} }
a.click(); a.click();
URL.revokeObjectURL(a.href); //释放之前创建的url对象 URL.revokeObjectURL(a.href); //释放之前创建的url对象
} else { } else {
self.$message.error('下载图片失败!') self.$message.error(self.$t('ImageEd.failed_download_picture'))
} }
}) })
}, },
...@@ -3674,7 +3674,7 @@ export default { ...@@ -3674,7 +3674,7 @@ export default {
} }
this.rotateImage_target(this.pptzxzjd); this.rotateImage_target(this.pptzxzjd);
// 旋转操作会存入撤销堆,需要保证历史记录顺序 // 旋转操作会存入撤销堆,需要保证历史记录顺序
this.historys2.unshift('旋转') this.historys2.unshift(this.$t('ImageEd.rotate'))
}, },
/** /**
* 恢复按钮按下事件 * 恢复按钮按下事件
...@@ -4169,26 +4169,26 @@ export default { ...@@ -4169,26 +4169,26 @@ export default {
brightness: parseInt(self.inputBrightnessRange, 10) / 255 brightness: parseInt(self.inputBrightnessRange, 10) / 255
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
self.historys.unshift("亮度"); self.historys.unshift(self.$t('ImageEd.brightness'));
}); });
this.imageEditor.applyFilter("contrast", { this.imageEditor.applyFilter("contrast", {
contrast: parseInt(self.inputContrastRange, 10) / 255 contrast: parseInt(self.inputContrastRange, 10) / 255
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
self.historys.unshift("对比度"); self.historys.unshift(self.$t('ImageEd.contrast'));
}); });
} else { } else {
this.imageEditor2.applyFilter("brightness", { this.imageEditor2.applyFilter("brightness", {
brightness: parseInt(self.inputBrightnessRange2, 10) / 255 brightness: parseInt(self.inputBrightnessRange2, 10) / 255
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
self.historys2.unshift("亮度"); self.historys2.unshift(self.$t('ImageEd.brightness'));
}); });
this.imageEditor2.applyFilter("contrast", { this.imageEditor2.applyFilter("contrast", {
brightness: parseInt(self.inputContrastRange, 10) / 255 brightness: parseInt(self.inputContrastRange, 10) / 255
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
self.historys2.unshift("对比度"); self.historys2.unshift(self.$t('ImageEd.contrast'));
}); });
} }
} else { } else {
...@@ -4197,20 +4197,20 @@ export default { ...@@ -4197,20 +4197,20 @@ export default {
this.imageEditor.removeFilter("brightness"); this.imageEditor.removeFilter("brightness");
// let index = self.historys.indexOf("亮度"); // let index = self.historys.indexOf("亮度");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除亮度') self.historys.unshift(self.$t('ImageEd.remove_brightness'))
this.imageEditor.removeFilter("contrast"); this.imageEditor.removeFilter("contrast");
// let index2 = self.historys.indexOf("对比度"); // let index2 = self.historys.indexOf("对比度");
// self.historys.splice(index2, 1); // self.historys.splice(index2, 1);
self.historys.unshift('移除对比度') self.historys.unshift(self.$t('ImageEd.remove_contrast'))
} else { } else {
this.imageEditor2.removeFilter("brightness"); this.imageEditor2.removeFilter("brightness");
// let index = self.historys2.indexOf("亮度"); // let index = self.historys2.indexOf("亮度");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除亮度') self.historys2.unshift(self.$t('ImageEd.remove_brightness'))
this.imageEditor2.removeFilter("contrast"); this.imageEditor2.removeFilter("contrast");
// let index2 = self.historys2.indexOf("对比度"); // let index2 = self.historys2.indexOf("对比度");
// self.historys2.splice(index2, 1); // self.historys2.splice(index2, 1);
self.historys2.unshift('移除对比度') self.historys2.unshift(self.$t('ImageEd.remove_contrast'))
} }
} }
}, },
...@@ -4236,7 +4236,7 @@ export default { ...@@ -4236,7 +4236,7 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("差异化"); self.historys.unshift(self.$t('ImageEd.differentiation'));
} else { } else {
this.imageEditor2.applyFilter("blendColor", { this.imageEditor2.applyFilter("blendColor", {
mode: "diff", mode: "diff",
...@@ -4244,7 +4244,7 @@ export default { ...@@ -4244,7 +4244,7 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("差异化"); self.historys2.unshift(self.$t('ImageEd.differentiation'));
} }
console.log(this.imageEditor) console.log(this.imageEditor)
} else { } else {
...@@ -4253,12 +4253,12 @@ export default { ...@@ -4253,12 +4253,12 @@ export default {
this.imageEditor.removeFilter("blendColor"); this.imageEditor.removeFilter("blendColor");
// let index = self.historys.indexOf("差异化"); // let index = self.historys.indexOf("差异化");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除差异化') self.historys.unshift(self.$t('ImageEd.remove_differentiation'))
} else { } else {
this.imageEditor2.removeFilter("blendColor"); this.imageEditor2.removeFilter("blendColor");
// let index = self.historys2.indexOf("差异化"); // let index = self.historys2.indexOf("差异化");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除差异化') self.historys2.unshift(self.$t('ImageEd.remove_differentiation'))
} }
} }
}, },
...@@ -4283,14 +4283,14 @@ export default { ...@@ -4283,14 +4283,14 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("正片叠底"); self.historys.unshift(self.$t('ImageEd.positive_lamination'));
} else { } else {
this.imageEditor2.applyFilter("multiplyColor", { this.imageEditor2.applyFilter("multiplyColor", {
color: self.multiplyColorpicker.getColor() color: self.multiplyColorpicker.getColor()
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("正片叠底"); self.historys2.unshift(self.$t('ImageEd.positive_lamination'));
} }
console.log(this.imageEditor) console.log(this.imageEditor)
} else { } else {
...@@ -4299,12 +4299,12 @@ export default { ...@@ -4299,12 +4299,12 @@ export default {
this.imageEditor.removeFilter("multiplyColor"); this.imageEditor.removeFilter("multiplyColor");
// let index = self.historys.indexOf("正片叠底"); // let index = self.historys.indexOf("正片叠底");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除正片叠底') self.historys.unshift(self.$t('ImageEd.remove_positive_lamination'))
} else { } else {
this.imageEditor2.removeFilter("multiplyColor"); this.imageEditor2.removeFilter("multiplyColor");
// let index = self.historys2.indexOf("正片叠底"); // let index = self.historys2.indexOf("正片叠底");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除正片叠底') self.historys2.unshift(self.$t('ImageEd.remove_positive_lamination'))
} }
} }
}, },
...@@ -4330,7 +4330,7 @@ export default { ...@@ -4330,7 +4330,7 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("滤色器"); self.historys.unshift(self.$t('ImageEd.color_filter'));
} else { } else {
this.imageEditor2.applyFilter("removeColor", { this.imageEditor2.applyFilter("removeColor", {
color: "#FFFFFF", color: "#FFFFFF",
...@@ -4338,7 +4338,7 @@ export default { ...@@ -4338,7 +4338,7 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("滤色器"); self.historys2.unshift(self.$t('ImageEd.color_filter'));
} }
} else { } else {
this.optionsColorFilter = false; this.optionsColorFilter = false;
...@@ -4346,12 +4346,12 @@ export default { ...@@ -4346,12 +4346,12 @@ export default {
this.imageEditor.removeFilter("removeColor"); this.imageEditor.removeFilter("removeColor");
// let index = self.historys.indexOf("滤色器"); // let index = self.historys.indexOf("滤色器");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除滤色器') self.historys.unshift(self.$t('ImageEd.remove_color_filter'))
} else { } else {
this.imageEditor2.removeFilter("removeColor"); this.imageEditor2.removeFilter("removeColor");
// let index = self.historys2.indexOf("滤色器"); // let index = self.historys2.indexOf("滤色器");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除滤色器') self.historys2.unshift(self.$t('ImageEd.remove_color_filter'))
} }
} }
}, },
...@@ -4378,7 +4378,7 @@ export default { ...@@ -4378,7 +4378,7 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("去白"); self.historys.unshift(self.$t('ImageEd.de_whitening'));
} else { } else {
this.imageEditor2.applyFilter("removeWhite", { this.imageEditor2.applyFilter("removeWhite", {
color: "#FFFFFF", color: "#FFFFFF",
...@@ -4387,7 +4387,7 @@ export default { ...@@ -4387,7 +4387,7 @@ export default {
}).then(function (result) { }).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("去白"); self.historys2.unshift(self.$t('ImageEd.de_whitening'));
} }
} else { } else {
this.optionsRemoveWhite = false; this.optionsRemoveWhite = false;
...@@ -4395,12 +4395,12 @@ export default { ...@@ -4395,12 +4395,12 @@ export default {
this.imageEditor.removeFilter("removeWhite"); this.imageEditor.removeFilter("removeWhite");
// let index = self.historys.indexOf("去白"); // let index = self.historys.indexOf("去白");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除去白') self.historys.unshift(self.$t('ImageEd.remove_de_whitening'))
} else { } else {
this.imageEditor2.removeFilter("removeWhite"); this.imageEditor2.removeFilter("removeWhite");
// let index = self.historys2.indexOf("去白"); // let index = self.historys2.indexOf("去白");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除去白') self.historys2.unshift(self.$t('ImageEd.remove_de_whitening'))
} }
} }
}, },
...@@ -4422,24 +4422,24 @@ export default { ...@@ -4422,24 +4422,24 @@ export default {
this.imageEditor.applyFilter("Invert", null).then(function (result) { this.imageEditor.applyFilter("Invert", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("反相"); self.historys.unshift(self.$t('ImageEd.reversed_phase'));
} else { } else {
this.imageEditor2.applyFilter("Invert", null).then(function (result) { this.imageEditor2.applyFilter("Invert", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("反相"); self.historys2.unshift(self.$t('ImageEd.reversed_phase'));
} }
} else { } else {
if (this.type == "source") { if (this.type == "source") {
this.imageEditor.removeFilter("Invert"); this.imageEditor.removeFilter("Invert");
// let index = self.historys.indexOf("反相"); // let index = self.historys.indexOf("反相");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除反相') self.historys.unshift(self.$t('ImageEd.remove_reversed_phase'))
} else { } else {
this.imageEditor2.removeFilter("Invert"); this.imageEditor2.removeFilter("Invert");
// let index = self.historys2.indexOf("反相"); // let index = self.historys2.indexOf("反相");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除反相') self.historys2.unshift(self.$t('ImageEd.remove_reversed_phase'))
} }
} }
...@@ -4462,24 +4462,24 @@ export default { ...@@ -4462,24 +4462,24 @@ export default {
this.imageEditor.applyFilter("Emboss", null).then(function (result) { this.imageEditor.applyFilter("Emboss", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("浮雕"); self.historys.unshift(self.$t('ImageEd.relief'));
} else { } else {
this.imageEditor2.applyFilter("Emboss", null).then(function (result) { this.imageEditor2.applyFilter("Emboss", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("浮雕"); self.historys2.unshift(self.$t('ImageEd.relief'));
} }
} else { } else {
if (this.type == "source") { if (this.type == "source") {
this.imageEditor.removeFilter("Emboss"); this.imageEditor.removeFilter("Emboss");
// let index = self.historys.indexOf("浮雕"); // let index = self.historys.indexOf("浮雕");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除浮雕') self.historys.unshift(self.$t('ImageEd.remove_relief'))
} else { } else {
this.imageEditor2.removeFilter("Emboss"); this.imageEditor2.removeFilter("Emboss");
// let index = self.historys2.indexOf("浮雕"); // let index = self.historys2.indexOf("浮雕");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除浮雕') self.historys2.unshift(self.$t('ImageEd.remove_relief'))
} }
} }
}, },
...@@ -4501,24 +4501,24 @@ export default { ...@@ -4501,24 +4501,24 @@ export default {
this.imageEditor.applyFilter("Sharpen", null).then(function (result) { this.imageEditor.applyFilter("Sharpen", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("锐化"); self.historys.unshift(self.$t('ImageEd.sharpening'));
} else { } else {
this.imageEditor2.applyFilter("Sharpen", null).then(function (result) { this.imageEditor2.applyFilter("Sharpen", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("锐化"); self.historys2.unshift(self.$t('ImageEd.sharpening'));
} }
} else { } else {
if (this.type == "source") { if (this.type == "source") {
this.imageEditor.removeFilter("Sharpen"); this.imageEditor.removeFilter("Sharpen");
// let index = self.historys.indexOf("锐化"); // let index = self.historys.indexOf("锐化");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除锐化') self.historys.unshift(self.$t('ImageEd.remove_sharpening'))
} else { } else {
this.imageEditor2.removeFilter("Sharpen"); this.imageEditor2.removeFilter("Sharpen");
// let index = self.historys2.indexOf("锐化"); // let index = self.historys2.indexOf("锐化");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除锐化') self.historys2.unshift(self.$t('ImageEd.remove_sharpening'))
} }
} }
}, },
...@@ -4552,20 +4552,20 @@ export default { ...@@ -4552,20 +4552,20 @@ export default {
this.imageEditor.applyFilter("Redify", null).then(function (result) { this.imageEditor.applyFilter("Redify", null).then(function (result) {
console.log(result); console.log(result);
}); });
self.historys.unshift("均衡化"); self.historys.unshift(self.$t('ImageEd.equalization'));
} else { } else {
this.imageEditor2.applyFilter("Redify", null).then(function (result) { this.imageEditor2.applyFilter("Redify", null).then(function (result) {
console.log(result); console.log(result);
}); });
self.historys2.unshift("均衡化"); self.historys2.unshift(self.$t('ImageEd.equalization'));
} }
} else { } else {
if (this.type == 'source') { if (this.type == 'source') {
this.imageEditor.removeFilter('Redify') this.imageEditor.removeFilter('Redify')
self.historys.unshift("移除均衡化"); self.historys.unshift(self.$t('ImageEd.remove_equalization'));
} else { } else {
this.imageEditor2.removeFilter('Redify') this.imageEditor2.removeFilter('Redify')
self.historys2.unshift("移除均衡化"); self.historys2.unshift(self.$t('ImageEd.remove_equalization'));
} }
// this.imageEditor._graphics.canvasImage.filters.splice(0, 1) // this.imageEditor._graphics.canvasImage.filters.splice(0, 1)
// var obj = this.imageEditor._graphics.canvasImage; // var obj = this.imageEditor._graphics.canvasImage;
...@@ -4614,24 +4614,24 @@ export default { ...@@ -4614,24 +4614,24 @@ export default {
this.imageEditor.applyFilter("vintage", null).then(function (result) { this.imageEditor.applyFilter("vintage", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys.unshift("棕褐色"); self.historys.unshift(self.$t('ImageEd.Tan'));
} else { } else {
this.imageEditor2.applyFilter("vintage", null).then(function (result) { this.imageEditor2.applyFilter("vintage", null).then(function (result) {
//console.log(result); //console.log(result);
}); });
self.historys2.unshift("棕褐色"); self.historys2.unshift(self.$t('ImageEd.Tan'));
} }
} else { } else {
if (self.type == "source") { if (self.type == "source") {
this.imageEditor.removeFilter("vintage"); this.imageEditor.removeFilter("vintage");
// let index = self.historys.indexOf("棕褐色"); // let index = self.historys.indexOf("棕褐色");
// self.historys.splice(index, 1); // self.historys.splice(index, 1);
self.historys.unshift('移除棕褐色') self.historys.unshift(self.$t('ImageEd.remove_Tan'))
} else { } else {
this.imageEditor2.removeFilter("vintage"); this.imageEditor2.removeFilter("vintage");
// let index = self.historys2.indexOf("棕褐色"); // let index = self.historys2.indexOf("棕褐色");
// self.historys2.splice(index, 1); // self.historys2.splice(index, 1);
self.historys2.unshift('移除棕褐色') self.historys2.unshift(self.$t('ImageEd.remove_Tan'))
} }
} }
}, },
...@@ -4827,7 +4827,7 @@ export default { ...@@ -4827,7 +4827,7 @@ export default {
console.log(err); console.log(err);
}) })
} }
this.$message.success("已清空!"); this.$message.success(this.$t('ImageEd.empty'));
}, },
/** /**
* @description: 清空 * @description: 清空
......
/* /*
* @Author: your name * @Author: your name
* @Date: 2022-03-25 16:36:01 * @Date: 2022-03-25 16:36:01
* @LastEditTime: 2022-04-05 22:21:47 * @LastEditTime: 2022-04-06 15:52:49
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \uuuz\founder_vue\src\i18n\zh-cn.js * @FilePath: \uuuz\founder_vue\src\i18n\zh-cn.js
...@@ -861,17 +861,34 @@ export default { ...@@ -861,17 +861,34 @@ export default {
rotate_according_features: '根据匹配特征旋正', rotate_according_features: '根据匹配特征旋正',
source_data_deleted_target_image_not_displayed: '源数据已删除,目标图像不显示', source_data_deleted_target_image_not_displayed: '源数据已删除,目标图像不显示',
Tan: '棕褐色', Tan: '棕褐色',
remove_Tan: '移除棕褐色',
horseshoe_mirror: '马蹄镜', horseshoe_mirror: '马蹄镜',
equalization: '均衡化', equalization: '均衡化',
remove_equalization: '移除均衡化',
sharpening: '锐化', sharpening: '锐化',
remove_sharpening: '移除锐化',
relief: '浮雕', relief: '浮雕',
remove_relief: '移除浮雕',
reversed_phase: '反相', reversed_phase: '反相',
remove_reversed_phase: '移除反相',
color_filter: '滤色器', color_filter: '滤色器',
remove_color_filter: '移除滤色器',
differentiation: '差异化', differentiation: '差异化',
remove_differentiation: '移除差异化',
positive_lamination: '正片叠底', positive_lamination: '正片叠底',
remove_positive_lamination: '移除正片叠底',
de_whitening: '去白', de_whitening: '去白',
remove_de_whitening: '移除去白',
brightness_contrast: '亮度/对比度', brightness_contrast: '亮度/对比度',
brightness: '亮度', brightness: '亮度',
contrast: '对比度' contrast: '对比度',
source_finger: '源数据指纹',
target_finger: '目标数据指纹',
palmprint_picture: '掌纹图片',
fingerprint_picture: '指纹图片',
failed_download_picture: '下载图片失败!',
remove_brightness: '移除亮度',
remove_contrast: '移除对比度',
empty: '已清空!'
} }
} }
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-09-07 09:57:48 * @Date: 2021-09-07 09:57:48
* @LastEditTime: 2022-03-22 12:53:50 * @LastEditTime: 2022-04-06 16:20:31
* @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
...@@ -119,12 +119,11 @@ _axios.interceptors.response.use( ...@@ -119,12 +119,11 @@ _axios.interceptors.response.use(
}).then(() => { }).then(() => {
// TODO 线上退出登录线上地址更改 // TODO 线上退出登录线上地址更改
// top.location.href = zzwxtCloud.logoutUrl; // top.location.href = zzwxtCloud.logoutUrl;
/*
localStorage.clear() localStorage.clear()
removeCookie() removeCookie()
top.location.href = zzwxtCloud.zzwxt router.replace('/Login')
*/
/*
axios({ axios({
method: 'get', method: 'get',
url: zzwxtCloud.logoutUrl, url: zzwxtCloud.logoutUrl,
...@@ -142,6 +141,7 @@ _axios.interceptors.response.use( ...@@ -142,6 +141,7 @@ _axios.interceptors.response.use(
// type: 'error' // type: 'error'
// }) // })
}) })
*/
// localStorage.removeItem('token') // localStorage.removeItem('token')
// localStorage.removeItem('userToken') // localStorage.removeItem('userToken')
// localStorage.removeItem('appToken') // localStorage.removeItem('appToken')
......
...@@ -271,12 +271,11 @@ let handleError = (response) => { ...@@ -271,12 +271,11 @@ let handleError = (response) => {
}).then(() => { }).then(() => {
// TODO 线上退出登录线上地址更改 // TODO 线上退出登录线上地址更改
// location.href = zzwxtCloud.logoutUrl; // location.href = zzwxtCloud.logoutUrl;
/*
localStorage.clear() localStorage.clear()
removeCookie() removeCookie()
top.location.href = zzwxtCloud.zzwxt router.replace('/Login')
*/
/*
axios({ axios({
method: 'get', method: 'get',
url: zzwxtCloud.logoutUrl, url: zzwxtCloud.logoutUrl,
...@@ -295,6 +294,7 @@ let handleError = (response) => { ...@@ -295,6 +294,7 @@ let handleError = (response) => {
// type: 'error' // type: 'error'
// }) // })
}) })
*/
// localStorage.removeItem('token') // localStorage.removeItem('token')
// localStorage.removeItem('userToken') // localStorage.removeItem('userToken')
// localStorage.removeItem('appToken') // localStorage.removeItem('appToken')
......
...@@ -830,7 +830,7 @@ export default { ...@@ -830,7 +830,7 @@ export default {
// type: 'success' // type: 'success'
// }); // });
// TODO 发查询操作日志记录 // TODO 发查询操作日志记录
this.sendLog() // this.sendLog()
let successBarcode = response.data.ret.successBarcode let successBarcode = response.data.ret.successBarcode
let failInfo = response.data.ret.failInfo let failInfo = response.data.ret.failInfo
......
...@@ -333,19 +333,20 @@ export default { ...@@ -333,19 +333,20 @@ export default {
}, },
exit () { exit () {
// TODO 退出日志记录 // TODO 退出日志记录
this.sendLog() // this.sendLog()
this.$axios this.$axios
.get("/security/logout") .get("/security/logout")
.then((res) => { .then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
// TODO 线上退出登录线上地址更改 // TODO 线上退出登录线上地址更改
// location.href = zzwxtCloud.logoutUrl; // location.href = zzwxtCloud.logoutUrl;
/*
this.$message.info("退出成功!"); this.$message.info("退出成功!");
localStorage.clear() localStorage.clear()
removeCookie() removeCookie()
top.location.href = zzwxtCloud.zzwxt this.$router.replace("/Login");
*/
/*
this.$axios({ this.$axios({
method: 'get', method: 'get',
url: zzwxtCloud.logoutUrl url: zzwxtCloud.logoutUrl
...@@ -363,6 +364,7 @@ export default { ...@@ -363,6 +364,7 @@ export default {
}).catch(err => { }).catch(err => {
// this.$message.error('退出失败!') // this.$message.error('退出失败!')
}) })
*/
} }
}) })
.catch((err) => { }); .catch((err) => { });
......
...@@ -326,21 +326,21 @@ export default { ...@@ -326,21 +326,21 @@ export default {
}, },
exit () { exit () {
// TODO 退出日志记录 // TODO 退出日志记录
this.sendLog() // this.sendLog()
this.$axios this.$axios
.get("/security/logout") .get("/security/logout")
.then((res) => { .then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
// TODO 线上退出登录线上地址更改 // TODO 线上退出登录线上地址更改
// location.href = zzwxtCloud.logoutUrl; // location.href = zzwxtCloud.logoutUrl;
/*
this.$message.info("退出成功!"); this.$message.info("退出成功!");
localStorage.clear() localStorage.clear()
removeCookie() removeCookie()
top.location.href = 'http://zzwxt.dsj.xz/' this.$router.replace("/Login");
*/
/*
this.$axios({ this.$axios({
method: 'get', method: 'get',
url: zzwxtCloud.logoutUrl url: zzwxtCloud.logoutUrl
...@@ -353,6 +353,7 @@ export default { ...@@ -353,6 +353,7 @@ export default {
}).catch(err => { }).catch(err => {
// this.$message.error('退出失败!') // this.$message.error('退出失败!')
}) })
*/
// localStorage.removeItem("token"); //删除名称为“token”的信息。 // localStorage.removeItem("token"); //删除名称为“token”的信息。
...@@ -361,7 +362,6 @@ export default { ...@@ -361,7 +362,6 @@ export default {
// localStorage.removeItem('userToken') // localStorage.removeItem('userToken')
// localStorage.removeItem('appToken') // localStorage.removeItem('appToken')
} }
}) })
.catch((err) => { }); .catch((err) => { });
......
...@@ -205,6 +205,7 @@ import Utils from "@/utils/util.js"; ...@@ -205,6 +205,7 @@ 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";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
// 正查 倒查 查重 // 正查 倒查 查重
name: "LT", name: "LT",
...@@ -328,7 +329,7 @@ export default { ...@@ -328,7 +329,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success(this.$t('LT.confirmation_completed')); this.$message.success(this.$t('LT.confirmation_completed'));
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
self.sendLog('认定完成') // self.sendLog('认定完成')
}); });
}, },
/** /**
...@@ -472,7 +473,7 @@ export default { ...@@ -472,7 +473,7 @@ export default {
this.$message.error(response.data.message) this.$message.error(response.data.message)
} }
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
}) })
.catch((err) => { .catch((err) => {
this.$message.error(this.$t('LT.fail_competition')); this.$message.error(this.$t('LT.fail_competition'));
......
...@@ -144,6 +144,7 @@ import Utils from "@/utils/util.js"; ...@@ -144,6 +144,7 @@ import Utils from "@/utils/util.js";
import LTSrc from "./modules/LTSrc.vue"; import LTSrc from "./modules/LTSrc.vue";
import LTCandidate from "./modules/LTCandidate.vue"; import LTCandidate from "./modules/LTCandidate.vue";
import ImageEd from "../../components/ImageEd.vue"; import ImageEd from "../../components/ImageEd.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
// 正查 倒查 查重 // 正查 倒查 查重
name: "LT", name: "LT",
...@@ -328,7 +329,7 @@ export default { ...@@ -328,7 +329,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success(this.$t('LT.confirmation_completed')); this.$message.success(this.$t('LT.confirmation_completed'));
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
} }
// if (type == "son") { // if (type == "son") {
// window.close(); // window.close();
...@@ -410,7 +411,7 @@ export default { ...@@ -410,7 +411,7 @@ export default {
this.$message.error(this.$t('LT.fail_competition')); this.$message.error(this.$t('LT.fail_competition'));
} }
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
}) })
.catch((err) => { .catch((err) => {
this.$message.error(this.$t('LT.fail_competition')); this.$message.error(this.$t('LT.fail_competition'));
......
...@@ -140,6 +140,7 @@ import Utils from "@/utils/util.js"; ...@@ -140,6 +140,7 @@ import Utils from "@/utils/util.js";
import ImageEd from "../../components/ImageEd.vue"; import ImageEd from "../../components/ImageEd.vue";
import TLSrc from "@/views/cxyrd/modules/TLSrc.vue"; import TLSrc from "@/views/cxyrd/modules/TLSrc.vue";
import TLCandidate from "@/views/cxyrd/modules/TLCandidate.vue"; import TLCandidate from "@/views/cxyrd/modules/TLCandidate.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
name: "TL", name: "TL",
components: { components: {
...@@ -325,7 +326,7 @@ export default { ...@@ -325,7 +326,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success(this.$t('LT.confirmation_completed')); this.$message.success(this.$t('LT.confirmation_completed'));
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
} }
// if (type == "son") { // if (type == "son") {
// window.close(); // window.close();
...@@ -410,7 +411,7 @@ export default { ...@@ -410,7 +411,7 @@ export default {
self.$message.error(this.$t('LT.fail_competition')) self.$message.error(this.$t('LT.fail_competition'))
} }
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
}) })
.catch(err => { .catch(err => {
this.$message.error(this.$t('LT.fail_competition')); this.$message.error(this.$t('LT.fail_competition'));
......
...@@ -1002,6 +1002,7 @@ import TTFace from "./modules/TTFace.vue"; ...@@ -1002,6 +1002,7 @@ import TTFace from "./modules/TTFace.vue";
import Utils from "@/utils/util.js"; import Utils from "@/utils/util.js";
import "@/icons/error.svg"; import "@/icons/error.svg";
import Swiper from "@/components/swiper.vue"; import Swiper from "@/components/swiper.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
name: "TT", name: "TT",
...@@ -1900,7 +1901,7 @@ export default { ...@@ -1900,7 +1901,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success(this.$t('LT.confirmation_completed')); this.$message.success(this.$t('LT.confirmation_completed'));
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
if (self.datatype == "son") { if (self.datatype == "son") {
// window.close(); // window.close();
} }
...@@ -1989,7 +1990,7 @@ export default { ...@@ -1989,7 +1990,7 @@ export default {
this.$message.success(this.$t('LT.success_competition')); this.$message.success(this.$t('LT.success_competition'));
//console.log(response); //console.log(response);
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
} }
}) })
.catch((err) => { .catch((err) => {
......
...@@ -526,6 +526,7 @@ ...@@ -526,6 +526,7 @@
<script> <script>
import '@/icons/tree_f.svg' import '@/icons/tree_f.svg'
import '@/icons/tree_c.svg' import '@/icons/tree_c.svg'
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
name: 'drFPTX', name: 'drFPTX',
...@@ -1157,6 +1158,7 @@ export default { ...@@ -1157,6 +1158,7 @@ export default {
NetUtil.drFptx.upload(formData, this.drlx, (progressEvent) => { NetUtil.drFptx.upload(formData, this.drlx, (progressEvent) => {
that.UploadPercent = Number((((progressEvent.loaded / 10 * 10) / progressEvent.total) * 100).toFixed(2)) that.UploadPercent = Number((((progressEvent.loaded / 10 * 10) / progressEvent.total) * 100).toFixed(2))
}).then(res => { }).then(res => {
console.log(res);
if (res.code === 0) { if (res.code === 0) {
if (this.drlx == 3 || this.drlx == 6) { if (this.drlx == 3 || this.drlx == 6) {
this.successCount = res.ret.successCount this.successCount = res.ret.successCount
...@@ -1187,14 +1189,16 @@ export default { ...@@ -1187,14 +1189,16 @@ export default {
this.showProgress = false this.showProgress = false
// TODO 导入日志记录 // TODO 导入日志记录
this.sendLog('导入') // this.sendLog('导入')
} else { } else {
debugger
this.$message.error(res.data.message) this.$message.error(res.data.message)
this.dialogVisible = false// 进度条弹窗 this.dialogVisible = false// 进度条弹窗
this.$bus.emit('isBlur', false) this.$bus.emit('isBlur', false)
this.UploadPercent = 0 this.UploadPercent = 0
} }
}).catch(() => { }).catch((err) => {
console.log(err);
this.$message.error(this.$t('Common.server_error')) this.$message.error(this.$t('Common.server_error'))
this.showProgress = false this.showProgress = false
this.UploadPercent = 0 this.UploadPercent = 0
......
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
// 注册 // 注册
// await this.systemInfoRegister() // await this.systemInfoRegister()
// 日志采集 // 日志采集
this.sendLog() // this.sendLog()
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
......
...@@ -205,6 +205,7 @@ import Utils from "@/utils/util.js"; ...@@ -205,6 +205,7 @@ 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";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
// 正查 倒查 查重 // 正查 倒查 查重
name: "LT", name: "LT",
...@@ -400,7 +401,7 @@ export default { ...@@ -400,7 +401,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success("认定完成!"); this.$message.success("认定完成!");
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
}); });
}, },
/** /**
...@@ -472,7 +473,7 @@ export default { ...@@ -472,7 +473,7 @@ export default {
this.$message.error(response.data.message); this.$message.error(response.data.message);
} }
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
}) })
.catch((err) => { .catch((err) => {
this.$message.error("比中失败!"); this.$message.error("比中失败!");
......
...@@ -157,6 +157,7 @@ import Utils from "@/utils/util.js"; ...@@ -157,6 +157,7 @@ import Utils from "@/utils/util.js";
import LTSrc from "./modules/LTSrc.vue"; import LTSrc from "./modules/LTSrc.vue";
import LTCandidate from "./modules/LTCandidate.vue"; import LTCandidate from "./modules/LTCandidate.vue";
import ImageEd from "@/components/ImageEd.vue"; import ImageEd from "@/components/ImageEd.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
// 正查 倒查 查重 // 正查 倒查 查重
name: "LT", name: "LT",
...@@ -341,7 +342,7 @@ export default { ...@@ -341,7 +342,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success("认定完成!"); this.$message.success("认定完成!");
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
} }
// if (type == "son") { // if (type == "son") {
// window.close(); // window.close();
...@@ -423,7 +424,7 @@ export default { ...@@ -423,7 +424,7 @@ export default {
this.$message.error("比中失败!"); this.$message.error("比中失败!");
} }
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
}) })
.catch((err) => { .catch((err) => {
this.$message.error("比中失败!"); this.$message.error("比中失败!");
......
...@@ -155,6 +155,7 @@ import Utils from "@/utils/util.js"; ...@@ -155,6 +155,7 @@ import Utils from "@/utils/util.js";
import ImageEd from "@/components/ImageEd.vue"; import ImageEd from "@/components/ImageEd.vue";
import TLSrc from "./modules/TLSrc.vue"; import TLSrc from "./modules/TLSrc.vue";
import TLCandidate from "./modules/TLCandidate.vue"; import TLCandidate from "./modules/TLCandidate.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
name: "TL", name: "TL",
components: { components: {
...@@ -338,7 +339,7 @@ export default { ...@@ -338,7 +339,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success("认定完成!"); this.$message.success("认定完成!");
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
} }
// if (type == "son") { // if (type == "son") {
// window.close(); // window.close();
...@@ -423,7 +424,7 @@ export default { ...@@ -423,7 +424,7 @@ export default {
self.$message.error("比中失败!"); self.$message.error("比中失败!");
} }
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
}) })
.catch((err) => { .catch((err) => {
this.$message.error("比中失败!"); this.$message.error("比中失败!");
......
...@@ -951,6 +951,7 @@ import TTFace from "@/views/cxyrd/modules/TTFace.vue"; ...@@ -951,6 +951,7 @@ import TTFace from "@/views/cxyrd/modules/TTFace.vue";
import Utils from "@/utils/util.js"; import Utils from "@/utils/util.js";
import "@/icons/error.svg"; import "@/icons/error.svg";
import Swiper from "@/components/swiper.vue"; import Swiper from "@/components/swiper.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
name: "TT", name: "TT",
...@@ -1796,7 +1797,7 @@ export default { ...@@ -1796,7 +1797,7 @@ export default {
//console.log(response); //console.log(response);
this.$message.success("认定完成!"); this.$message.success("认定完成!");
// TODO 认定完成操作日志记录 // TODO 认定完成操作日志记录
this.sendLog('认定完成') // this.sendLog('认定完成')
if (self.datatype == "son") { if (self.datatype == "son") {
window.close(); window.close();
...@@ -1886,7 +1887,7 @@ export default { ...@@ -1886,7 +1887,7 @@ export default {
this.$message.success("比中成功!"); this.$message.success("比中成功!");
//console.log(response); //console.log(response);
// TODO 比中操作日志记录 // TODO 比中操作日志记录
this.sendLog('比中') // this.sendLog('比中')
} }
}) })
.catch((err) => { .catch((err) => {
......
...@@ -281,6 +281,7 @@ import ryxx from "./modules/ryxx.vue"; ...@@ -281,6 +281,7 @@ import ryxx from "./modules/ryxx.vue";
import nyzw from "./modules/nyzw.vue"; import nyzw from "./modules/nyzw.vue";
import zw from "./modules/zw.vue"; import zw from "./modules/zw.vue";
import rx from "./modules/rx.vue"; import rx from "./modules/rx.vue";
import zzwxtCloud from '@/api/zzwxtCloud.js';
export default { export default {
components: { components: {
ryxx, ryxx,
...@@ -454,7 +455,7 @@ export default { ...@@ -454,7 +455,7 @@ export default {
// 提交结果 // 提交结果
tjjg () { tjjg () {
// TODO 质量检查操作日志记录 // TODO 质量检查操作日志记录
this.sendLog('质量检查') // this.sendLog('质量检查')
this.$message.success(this.$t('Common.save_success')); this.$message.success(this.$t('Common.save_success'));
this.$store.commit("layout/delcachePageName", "zljc"); this.$store.commit("layout/delcachePageName", "zljc");
......
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