feat: 添加员工门户项目及相关后端改造

- 新增 hzhub-portal-employee 员工门户前端项目(基于 Vue3 + Element Plus)
- 后端登录接口增加返回 nickName 字段
- 移除 KnowledgeInfoController 的 @SaCheckPermission 注解
- 删除 hzhub-portal-company 旧门户项目
- 更新项目文档和架构说明
- 添加后台运行管理脚本(start-all.sh / status-all.sh / stop-all.sh)
- 更新 docker-compose 配置

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
大壮
2026-04-13 03:47:33 +00:00
parent 4e82f8e1e2
commit 278e507e8a
1310 changed files with 7243 additions and 1248 deletions

View File

@@ -0,0 +1,32 @@
import { defineStore } from 'pinia';
export const useKeepAliveStore = defineStore(
'keep-alive',
() => {
const keepAliveName = ref<string[]>([]);
const addKeepAliveName = (name: string) => {
if (!keepAliveName.value.includes(name)) {
keepAliveName.value.push(name);
}
};
const removeKeepAliveName = (name: string) => {
keepAliveName.value = keepAliveName.value.filter(item => item !== name);
};
const setKeepAliveName = (name: string[]) => {
keepAliveName.value = name;
};
return {
keepAliveName,
addKeepAliveName,
removeKeepAliveName,
setKeepAliveName,
};
},
{
persist: true,
},
);