代码修改
This commit is contained in:
parent
18bd30d68e
commit
4bf259e803
|
|
@ -57,6 +57,7 @@ import SizeSelect from '@/components/SizeSelect'
|
|||
import Search from '@/components/HeaderSearch'
|
||||
import RuoYiGit from '@/components/RuoYi/Git'
|
||||
import RuoYiDoc from '@/components/RuoYi/Doc'
|
||||
import { getSystemConfigApi } from '@/utils/systemConfig'
|
||||
|
||||
export default {
|
||||
emits: ['setLayout'],
|
||||
|
|
@ -103,7 +104,7 @@ export default {
|
|||
}).then(() => {
|
||||
this.$store.dispatch('LogOut').then(() => {
|
||||
location.href = process.env.VUE_APP_ENV === 'production'? '/smart-archiving/index': '/index'
|
||||
sessionStorage.removeItem('systemConfig')
|
||||
getSystemConfigApi();
|
||||
})
|
||||
}).catch(() => {})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ function getConfig(value) {
|
|||
if(config){
|
||||
const decryptArr = JSON.parse(decryptWithSM4(config));
|
||||
const result = decryptArr.find(item => item.configCode === value);
|
||||
console.error(result);
|
||||
return result.useStatus === '0';
|
||||
}else{
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,6 @@ export default {
|
|||
},
|
||||
/* 搜索操作 */
|
||||
handleQuery() {
|
||||
alert(1);
|
||||
this.$refs.proTableRef.getTableList()
|
||||
},
|
||||
/* 打开档案管理 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue