Commit da376319 by cwq0219

修改

1 parent bbb6b079
......@@ -25,7 +25,8 @@ export const home = {
auth: true,
title: '系统监控',
authId: '101',
parentId: '0'
parentId: '0',
cache: true
},
component: _import('systemMonitor'),
auth: [{
......@@ -72,12 +73,13 @@ export const resources = {
'102': {
path: '/trafficManagement',
icon: 'truck',
name: '车辆管理',
name: 'fimsTrafficManagement',
meta: {
auth: true,
title: '车辆管理',
authId: '102',
parentId: '0'
parentId: '0',
cache: true
},
component: _import('trafficManagement'),
auth: [{
......@@ -103,12 +105,13 @@ export const resources = {
'103': {
path: '/subSysManagement',
icon: 'cpu',
name: '子系统管理',
name: 'fimsSubSysManagement',
meta: {
auth: true,
title: '子系统管理',
authId: '103',
parentId: '0'
parentId: '0',
cache: true
},
component: _import('subSysManagement'),
auth: [{
......@@ -134,12 +137,13 @@ export const resources = {
'104': {
path: '/deviceManagement',
icon: 'takeaway-box',
name: '物料管理',
name: 'fimsDeviceManagement',
meta: {
auth: true,
title: '物料管理',
authId: '104',
parentId: '0'
parentId: '0',
cache: true
},
component: _import('deviceManagement'),
auth: [{
......@@ -172,12 +176,13 @@ export const resources = {
'105': {
path: 'materialList',
icon: 'tickets',
name: '物料列表',
name: 'fimsMaterialList',
meta: {
auth: true,
title: '物料列表',
authId: '105',
parentId: '0'
parentId: '0',
cache: true
},
component: _import('materialList')
},
......@@ -195,12 +200,13 @@ export const resources = {
'10601': {
path: '/materiaOrderManagement',
icon: 'document-copy',
name: '物料订单管理',
name: 'fimsMateriaOrderManagement',
meta: {
auth: true,
title: '物料订单管理',
authId: '10601',
parentId: '106'
parentId: '106',
cache: true
},
component: _import('materiaOrderManagement'),
auth: [{
......@@ -226,12 +232,13 @@ export const resources = {
'10602': {
path: '/maintainManagement',
icon: 'finished',
name: '作业单管理',
name: 'fimsMaintainManagement',
meta: {
auth: true,
title: '作业单管理',
authId: '10602',
parentId: '106'
parentId: '106',
cache: true
},
component: _import('maintainManagement'),
auth: [{
......
......@@ -121,7 +121,7 @@ import notice from '@/common/notice'
import qs from 'qs'
import sign from '@api/sign'
export default {
name: 'deviceManagement',
name: 'fimsDeviceManagement',
components: {
EditDialog
},
......
......@@ -118,7 +118,7 @@ import { getListApi, removeApi, exportApi } from '@api/maintainManagement'
import { mapActions } from 'vuex'
import notice from '@/common/notice'
export default {
name: 'maintainManagement',
name: 'fimsMaintainManagement',
data () {
return {
// 搜索
......
......@@ -120,7 +120,7 @@ import DetailDialog from './detailDialog'
import { getListApi, detailApi, removeApi, exportApi, downloadApi } from '@api/materiaOrderManagement'
import notice from '@/common/notice'
export default {
name: 'materiaOrderManagement',
name: 'fimsMateriaOrderManagement',
components: {
DetailDialog
},
......@@ -295,7 +295,7 @@ export default {
orderCode: row.orderCode
}).then(res => {
// console.log(res)
this.dialogTitle = row.orderType == 1 ? '物料申请' : '物料报废'
this.dialogTitle = row.orderType === 1 ? '物料申请' : '物料报废'
this.pdfUrl = res.url
this.detailVisible = !this.detailVisible
}).catch(() => {
......
......@@ -65,7 +65,7 @@
import { getListApi } from '@api/materialList'
import notice from '@/common/notice'
export default {
name: 'materialList',
name: 'fimsMaterialList',
data () {
return {
searchForm: {
......
......@@ -113,7 +113,7 @@ import { BaseData } from '@/common/constants'
import { getListApi, methods, editApi, removeApi } from '@api/subSysManagement'
import notice from '@/common/notice'
export default {
name: 'subSysManagement',
name: 'fimsSubSysManagement',
components: {
EditDialog
},
......
......@@ -128,7 +128,7 @@ import { cloneDeep } from 'lodash'
// let echarts = require('echarts/lib/echarts')
export default {
name: 'systemMonitor',
name: 'index',
data () {
return {
subSystemRadio: '全部',
......
......@@ -116,7 +116,7 @@ import { BaseData } from '@/common/constants'
import { getListApi, methods, editApi, removeApi } from '@api/trafficManagement'
import notice from '@/common/notice'
export default {
name: 'trafficManagement',
name: 'fimsTrafficManagement',
components: {
EditDialog
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!