代码修改

This commit is contained in:
cwchen 2025-09-29 09:22:05 +08:00
parent 18bd30d68e
commit 4bf259e803
3 changed files with 3 additions and 2 deletions

View File

@ -57,6 +57,7 @@ import SizeSelect from '@/components/SizeSelect'
import Search from '@/components/HeaderSearch' import Search from '@/components/HeaderSearch'
import RuoYiGit from '@/components/RuoYi/Git' import RuoYiGit from '@/components/RuoYi/Git'
import RuoYiDoc from '@/components/RuoYi/Doc' import RuoYiDoc from '@/components/RuoYi/Doc'
import { getSystemConfigApi } from '@/utils/systemConfig'
export default { export default {
emits: ['setLayout'], emits: ['setLayout'],
@ -103,7 +104,7 @@ export default {
}).then(() => { }).then(() => {
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {
location.href = process.env.VUE_APP_ENV === 'production'? '/smart-archiving/index': '/index' location.href = process.env.VUE_APP_ENV === 'production'? '/smart-archiving/index': '/index'
sessionStorage.removeItem('systemConfig') getSystemConfigApi();
}) })
}).catch(() => {}) }).catch(() => {})
} }

View File

@ -31,6 +31,7 @@ function getConfig(value) {
if(config){ if(config){
const decryptArr = JSON.parse(decryptWithSM4(config)); const decryptArr = JSON.parse(decryptWithSM4(config));
const result = decryptArr.find(item => item.configCode === value); const result = decryptArr.find(item => item.configCode === value);
console.error(result);
return result.useStatus === '0'; return result.useStatus === '0';
}else{ }else{
return false; return false;

View File

@ -82,7 +82,6 @@ export default {
}, },
/* 搜索操作 */ /* 搜索操作 */
handleQuery() { handleQuery() {
alert(1);
this.$refs.proTableRef.getTableList() this.$refs.proTableRef.getTableList()
}, },
/* 打开档案管理 */ /* 打开档案管理 */