From b3f2a8eada63deec3c920de15725491a2c508677 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期三, 18 六月 2025 16:33:52 +0800 Subject: [PATCH] 1、设备TEEP页面新增故障率、故障时间以及加工时间(去除故障时间)字段的展示与筛选查询 2、设备管理页面新增设备与配送小组关联用于配送小组利用率图表页面 --- src/permission.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/permission.js b/src/permission.js index ddd93e2..5aaa878 100644 --- a/src/permission.js +++ b/src/permission.js @@ -72,7 +72,9 @@ } else { // 璺宠浆鍒扮洰鐨勮矾鐢� - if (to.path !== '/terminal/login' && from.path !== '/' && from.path.split('/') [1] !== 'terminal' && to.path.split('/')[1] === 'terminal') { + const postCode = store.getters.userInfo.post + // 濡傛灉闈炴搷浣滃伐鐢ㄦ埛涓旇璁块棶鎿嶄綔宸ラ〉闈㈠垯蹇呴』鍏堣烦杞嚦缁堢鐧诲綍椤电櫥褰曞矖浣嶄负鎿嶄綔宸ョ敤鎴锋柟鍙闂� + if (to.path !== '/terminal/login' && to.path.split('/')[1] === 'terminal' && postCode !== 'PCR0001') { next({ path: '/terminal/login' }) } else { next() -- Gitblit v1.9.3