feat:情报论坛-市情报指有置顶功能

This commit is contained in:
2025-12-13 17:17:00 +08:00
parent 93c9715e78
commit 5ab71f95b0
2 changed files with 50 additions and 10 deletions

View File

@ -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'
}