Commit a43098a9 by 张超军

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

parent 0ef7078e
/*
* @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”的信息。
......@@ -361,7 +362,6 @@ export default {
// localStorage.removeItem('userToken')
// localStorage.removeItem('appToken')
}
})
.catch((err) => { });
......
......@@ -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