From 5ab71f95b0cbccdf403e42be1ea931f546eb4148 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Sat, 13 Dec 2025 17:17:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=83=85=E6=8A=A5=E8=AE=BA=E5=9D=9B-?= =?UTF-8?q?=E5=B8=82=E6=83=85=E6=8A=A5=E6=8C=87=E6=9C=89=E7=BD=AE=E9=A1=B6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/auth.js | 8 +++- src/views/forumPost/components/theRight.vue | 52 +++++++++++++++++---- 2 files changed, 50 insertions(+), 10 deletions(-) diff --git a/src/utils/auth.js b/src/utils/auth.js index dfa5df5..9d49f3c 100644 --- a/src/utils/auth.js +++ b/src/utils/auth.js @@ -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' +} diff --git a/src/views/forumPost/components/theRight.vue b/src/views/forumPost/components/theRight.vue index 7bc3275..7b96b78 100644 --- a/src/views/forumPost/components/theRight.vue +++ b/src/views/forumPost/components/theRight.vue @@ -21,7 +21,8 @@