From b24224d194991f4c6cf0c30f006b066f85560c63 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期一, 17 三月 2025 11:21:36 +0800
Subject: [PATCH] 隐藏工时查看
---
src/permission.js | 1 +
src/router/index.js | 2 +-
src/views/business/inspectionTask/index.vue | 20 ++++++++++----------
3 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/permission.js b/src/permission.js
index b66190b..7c1c209 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -19,6 +19,7 @@
NProgress.start()
if (getToken()) {
to.meta.title && store.dispatch('settings/setTitle', to.meta.title)
+ console.log(to.path)
/* has token*/
if (to.path === '/login') {
next({ path: '/' })
diff --git a/src/router/index.js b/src/router/index.js
index 9d4db52..e2b4cf6 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -74,7 +74,7 @@
hidden: true,
},
{
- path: "",
+ path: "/",
component: Layout,
redirect: "index",
children: [
diff --git a/src/views/business/inspectionTask/index.vue b/src/views/business/inspectionTask/index.vue
index c1b6a22..7f6d5db 100644
--- a/src/views/business/inspectionTask/index.vue
+++ b/src/views/business/inspectionTask/index.vue
@@ -384,16 +384,16 @@
return (row.userName == null || row.insState == 3 || row.insState == 5) && this.checkPermi(['update:product:onPlan'])
},
},
- {
- name: "鏌ョ湅宸ユ椂",
- type: "text",
- clickFun: (row) => {
- this.viewManHour(row);
- },
- showHide: (row) => {
- return this.checkPermi(['get:working:hours:byOrder'])
- },
- },
+ // {
+ // name: "鏌ョ湅宸ユ椂",
+ // type: "text",
+ // clickFun: (row) => {
+ // this.viewManHour(row);
+ // },
+ // showHide: (row) => {
+ // return this.checkPermi(['get:working:hours:byOrder'])
+ // },
+ // },
{
name: "妫�楠�",
type: "text",
--
Gitblit v1.9.3