|
@@ -113,6 +113,7 @@ export const useUserStore = defineStore('admin-user', {
|
|
|
return null
|
|
return null
|
|
|
}
|
|
}
|
|
|
this.isBusiness = localStorage.getItem("identity") ? (localStorage.getItem("identity") == '0' ? false : true) : false // 身份 企业,机构
|
|
this.isBusiness = localStorage.getItem("identity") ? (localStorage.getItem("identity") == '0' ? false : true) : false // 身份 企业,机构
|
|
|
|
|
+ console.log("企业还是机构:",this.isBusiness)
|
|
|
|
|
|
|
|
// let userInfo = wsCache.get(CACHE_KEY.USER)
|
|
// let userInfo = wsCache.get(CACHE_KEY.USER)
|
|
|
// if (!userInfo || val) {
|
|
// if (!userInfo || val) {
|
|
@@ -250,7 +251,7 @@ export const useUserStore = defineStore('admin-user', {
|
|
|
async getLoginAllTenantIds(){
|
|
async getLoginAllTenantIds(){
|
|
|
const arr: any = [], temp: any[] = []
|
|
const arr: any = [], temp: any[] = []
|
|
|
const result = await getGroupTenantByUser()
|
|
const result = await getGroupTenantByUser()
|
|
|
- console.log("态度不行",result)
|
|
|
|
|
|
|
+ console.log("result",result)
|
|
|
// // 如果大于一条数据就显示级联显示器,不是就显示单个
|
|
// // 如果大于一条数据就显示级联显示器,不是就显示单个
|
|
|
if(result){
|
|
if(result){
|
|
|
result.map(item => {
|
|
result.map(item => {
|