From 3ad392ef2eef4968e423c9c57c1fd4d8343238c8 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Fri, 12 Dec 2025 16:35:13 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20console=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=EF=BC=8C=E4=BF=A1=E6=81=AF=E5=A4=AA=E5=A4=9A=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/permission.js b/src/permission.js index afdf4da..351d352 100644 --- a/src/permission.js +++ b/src/permission.js @@ -21,9 +21,9 @@ router.beforeEach(async (to, from, next) => { // 存在 token ,进入主页 // if (store.state.user.token) { // 快捷访问 - console.log(store.getters.token); + // console.log(store.getters.token); if (store.getters.token) { - console.log("路由1"); + // console.log("路由1"); // 判断用户资料是否获取 // 若不存在用户信息,则需要获取用户信息 From ac0d801efb8aafaa46f6a05573e818c435bcbdc3 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Fri, 12 Dec 2025 16:36:26 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E6=B3=A8=E9=87=8Aconsole?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/permission.js b/src/permission.js index 351d352..d47c250 100644 --- a/src/permission.js +++ b/src/permission.js @@ -32,39 +32,39 @@ router.beforeEach(async (to, from, next) => { // 添加完动态路由之后,需要在进行一次主动跳转 const afterMenuList = getItem('menusPermission'); // 处理用户权限,筛选出需要添加的权限 - console.log(store.state.permission.routes); + // console.log(store.state.permission.routes); if (store.state.permission.routes.length === 0) { const filterRoutes = await store.dispatch('permission/filterRoutes', afterMenuList) filterRoutes.forEach(item => { router.addRoute(item) }) - console.log("已添加动态路由"); + // console.log("已添加动态路由"); next({ ...to, replace: true }) } else { - console.log('已存在路由'); + // console.log('已存在路由'); next() } // 利用 addRoute 循环添加 } else { // 没有token的情况下,可以进入白名单 if (whiteList.indexOf(to.path) > -1) { - console.log("路由2"); + // console.log("路由2"); next() } else { const cookie = getCookie("clientKey"); if (cookie) { - console.log("路由3"); + // console.log("路由3"); next(`/zeroTrust_login`) } else { - console.log("路由4"); + // console.log("路由4"); const isOatuh = getItem('isOatuh') // 没有token的情况下,可以进入白名单 if (isOatuh) { - console.log("路由5"); + // console.log("路由5"); const idEntityCard = getItem('idEntityCard') next(`/oatuh_login?token=${Base64.encode(idEntityCard)}`) } else { From ef30bcd03c5840fd49cf0660db94f83056d6325e Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Fri, 12 Dec 2025 16:53:24 +0800 Subject: [PATCH 3/4] =?UTF-8?q?feat:=20=E5=85=A8=E6=81=AF=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E4=B8=8D=E4=BA=86=E7=9A=84=E9=97=AE=E9=A2=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fourColorManage/warningControl/behaviorWarning/index.vue | 2 +- .../fourColorManage/warningControl/identityWarning/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue index 160e31d..0ca1135 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/behaviorWarning/index.vue @@ -211,7 +211,7 @@ const bqYs = (val) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + return holographicProfileJump(val?.sfzh) // 全息档案跳转 // assessShow.value = true; // dataList.value = val; } diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue index 78c93de..7206bdc 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/identityWarning/index.vue @@ -229,7 +229,7 @@ const handleQsFk = (val, type) => { const assessShow = ref(false) const dataList = ref() const pushAssess = (val) => { - return holographicProfileJump(val?.rysfzh) // 全息档案跳转 + return holographicProfileJump(val?.sfzh) // 全息档案跳转 // assessShow.value = true; // dataList.value = val; } From b3bb67c9d2fcf5caa2d9a0f7976af767823ea832 Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Fri, 12 Dec 2025 16:53:47 +0800 Subject: [PATCH 4/4] =?UTF-8?q?feat:=20=E8=AD=A6=E6=83=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E8=8F=9C=E5=8D=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index f529a78..ba420a9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -562,7 +562,16 @@ export const publicRoutes = [ title: "采集积分", icon: "article" } - } + }, + { + path: "/policeReport", + name: "policeReport", + component: () => import("@/views/backOfficeSystem/policeReport/index.vue"), + meta: { + title: "警情管理", + icon: "article" + } + }, // { // path: "/MakeAcomment", // name: "MakeAcomment", @@ -849,15 +858,15 @@ export const publicRoutes = [ // } // }, - { - path: "/policeReport", - name: "policeReport", - component: () => import("@/views/backOfficeSystem/policeReport/index.vue"), - meta: { - title: "警情管理", - icon: "article" - } - }, + // { + // path: "/policeReport", + // name: "policeReport", + // component: () => import("@/views/backOfficeSystem/policeReport/index.vue"), + // meta: { + // title: "警情管理", + // icon: "article" + // } + // }, ] },