Commit da376319 by cwq0219

修改

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