完成:黄家明项目的开发并存档

This commit is contained in:
2025-06-18 15:58:26 +08:00
parent 26db77ee12
commit f83b856438
7 changed files with 233 additions and 197 deletions

View File

@@ -43,6 +43,14 @@ const Header = (props: any) => {
if(data.certification){
Taro.setStorageSync('Certification','1')
}
// 安装人员
const isInstaller = data.roles?.findIndex(item => item.roleCode == 'Installer')
if(isInstaller != -1){
setRoleName('安装人员')
Taro.setStorageSync('RoleName', '安装人员')
Taro.setStorageSync('RoleCode', 'Installer')
return false;
}
// 管理员
const isKdy = data.roles?.findIndex(item => item.roleCode == 'admin')
if(isKdy != -1){