Commit a43098a9 by 张超军

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

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