Browse Source

巡检项添加设备类别查询

lipenghui 2 months ago
parent
commit
954c990a39
2 changed files with 4 additions and 2 deletions
  1. 0 1
      src/permission.ts
  2. 4 1
      src/views/pms/dingding.vue

+ 0 - 1
src/permission.ts

@@ -88,7 +88,6 @@ router.beforeEach(async (to, from, next) => {
     if (to.path === '/login') {
     if (to.path === '/login') {
       next({ path: '/' })
       next({ path: '/' })
     } else {
     } else {
-      debugger
       // 获取所有字典
       // 获取所有字典
       const dictStore = useDictStoreWithOut()
       const dictStore = useDictStoreWithOut()
       const userStore = useUserStoreWithOut()
       const userStore = useUserStoreWithOut()

+ 4 - 1
src/views/pms/dingding.vue

@@ -40,7 +40,8 @@ const businessRoutes: Record<string, string> = {
   'failureReport': 'BpmProcessInstanceDetail',
   'failureReport': 'BpmProcessInstanceDetail',
   'maintainOut': 'BpmProcessInstanceDetail',
   'maintainOut': 'BpmProcessInstanceDetail',
   'generateOperation' :'',
   'generateOperation' :'',
-  'generateMaintenance' : ''
+  'generateMaintenance' : '',
+  'generateMaintain':''
 }
 }
 
 
 const href = ref('')
 const href = ref('')
@@ -78,6 +79,7 @@ onMounted(async () => {
     }
     }
     authUtil.setToken(res)
     authUtil.setToken(res)
     // PC端路由跳转
     // PC端路由跳转
+    debugger
     if (type === 'generateInspect') {
     if (type === 'generateInspect') {
       push({ name:'InspectOrderWrite', params:{id} })
       push({ name:'InspectOrderWrite', params:{id} })
     }else if(type === 'failureReport') {
     }else if(type === 'failureReport') {
@@ -88,6 +90,7 @@ onMounted(async () => {
         }
         }
       })
       })
     } else if (type === 'generateMaintain') {
     } else if (type === 'generateMaintain') {
+      debugger
       push({ name: 'MaintainEdit', params: {id } })
       push({ name: 'MaintainEdit', params: {id } })
     } else if (type === 'maintainOut') {
     } else if (type === 'maintainOut') {
       push({
       push({