Commit a43098a9 by 张超军

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

parent 0ef7078e
/* /*
* @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”的信息。
...@@ -360,7 +361,6 @@ export default { ...@@ -360,7 +361,6 @@ export default {
// // this.$router.replace("/Login"); // // this.$router.replace("/Login");
// localStorage.removeItem('userToken') // localStorage.removeItem('userToken')
// localStorage.removeItem('appToken') // localStorage.removeItem('appToken')
} }
}) })
......
...@@ -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