13937891274
2022-05-16 eeda2785150e807e36391ebeeeb885973f495ffc
安全隐患台账
已修改2个文件
已添加4个文件
89 ■■■■■ 文件已修改
src/permission.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Issuedbysuperiors/superiorsSend.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyHazardAccount/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/safetyHazardAccount/superiorsSend.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/summaryPotentialSafetyHzards/index.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/permission.js
@@ -16,7 +16,7 @@
  if (!permissionRoles) return true
  return roles.some(role => permissionRoles.indexOf(role) >= 0)
}
const whiteList = ['/login', '/auth-redirect','/agreement','/register','/productionEquipment','/instrumentData','/oneFromanother','/hiddenDangerTroubleshootingList','/preview','/inspectionNotExist','/send','/Issuedbysuperiors','/oneFromanotherN']// no redirect whitelist
const whiteList = ['/login', '/auth-redirect','/agreement','/register','/productionEquipment','/instrumentData','/oneFromanother','/hiddenDangerTroubleshootingList','/preview','/inspectionNotExist','/send','/Issuedbysuperiors','/oneFromanotherN','/summaryPotentialSafetyHzards','/safetyHazardAccount','/superiorsSend']// no redirect whitelist
router.beforeEach((to, from, next) => {
  NProgress.start() // start progress bar
src/router/index.js
@@ -344,9 +344,9 @@
            },
              {
                  path: '/inspectionNotExist',
                  // name: '内部举一反三-待自查-不存在',
                  // name: '举一反三-待自查-不存在',
                  component: () => import('@/views/oneFromanother/inspectionNotExist'),
                  // meta: { title: '内部举一反三-待自查-不存在', icon: '' }
                  // meta: { title: '举一反三-待自查-不存在', icon: '' }
                  hidden: true
              },
              {
@@ -387,6 +387,37 @@
                component: () => import('@/views/oneFromanotherN'),
                meta: { title: '内部举一反三', icon: '' }
            },
              {
                  path: '/superiorsSend',
                  // name: '上级下达隐患-点击发送',
                  component: () => import('@/views/Issuedbysuperiors/superiorsSend'),
                  // meta: { title: '上级下达隐患-点击发送', icon: '' }
                  hidden: true
              },
              {
                  id: 10,
                  parentId: 0,
                  path: '/summaryPotentialSafetyHzards',
                  name: '安全隐患汇总',
                  component: () => import('@/views/summaryPotentialSafetyHzards'),
                  meta: { title: '安全隐患汇总', icon: '' }
              },
              {
                  id: 11,
                  parentId: 0,
                  path: '/safetyHazardAccount',
                  name: '安全隐患台账',
                  component: () => import('@/views/safetyHazardAccount'),
                  meta: { title: '安全隐患台账', icon: '' }
              },
              {
                  path: '/superiorsSend',
                  // name: '安全隐患台账-查看隐患单',
                  component: () => import('@/views/safetyHazardAccount/superiorsSend'),
                  // meta: { title: '安全隐患台账-查看隐患单', icon: '' }
                  hidden: true
              },
          ]
      }
]
src/views/Issuedbysuperiors/superiorsSend.vue
对比新文件
@@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
    name: "superiorsSend"
}
</script>
<style scoped>
</style>
src/views/safetyHazardAccount/index.vue
对比新文件
@@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
    name: "index"
}
</script>
<style scoped>
</style>
src/views/safetyHazardAccount/superiorsSend.vue
对比新文件
@@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
    name: "superiorsSend"
}
</script>
<style scoped>
</style>
src/views/summaryPotentialSafetyHzards/index.vue
对比新文件
@@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
    name: "index"
}
</script>
<style scoped>
</style>