feat:情报论坛-市情报指有置顶功能
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import {
|
||||
getItem,
|
||||
setItem
|
||||
} from '@/utils/storage';
|
||||
} from '@/utils/storage';
|
||||
import {
|
||||
TOKEN_TIMEOUT_VSLUE,
|
||||
TIME_STAMP
|
||||
@ -75,3 +75,9 @@ export function spliceString(targetArr){
|
||||
}
|
||||
return currentStr
|
||||
}
|
||||
/** 是否是市情指(市情报指挥) */
|
||||
export function isShiQingZhi() {
|
||||
const { deptBizType, deptLevel } = getItem('deptId')?.[0] || {}
|
||||
const Jb = deptLevel?.[0] == '2' ? '01' : deptLevel?.[0] == '3' ? '02' : '03'
|
||||
return deptBizType == '23' && Jb == '01'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user