Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
SHR
/
tFIMS
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 682abdae
authored
Sep 09, 2019
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/glsx-web/tFIMS
2 parents
f1bad5d6
da376319
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
22 deletions
src/router/routes.js
src/views/deviceManagement/editDialog.vue
src/views/deviceManagement/index.vue
src/views/maintainManagement/index.vue
src/views/materiaOrderManagement/index.vue
src/views/materialList/index.vue
src/views/subSysManagement/index.vue
src/views/systemMonitor/index.vue
src/views/trafficManagement/index.vue
src/router/routes.js
View file @
682abda
...
@@ -24,7 +24,8 @@ export const home = {
...
@@ -24,7 +24,8 @@ export const home = {
meta
:
{
meta
:
{
title
:
'系统监控'
,
title
:
'系统监控'
,
authId
:
'101'
,
authId
:
'101'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
},
component
:
_import
(
'systemMonitor'
),
component
:
_import
(
'systemMonitor'
),
auth
:
[{
auth
:
[{
...
@@ -70,11 +71,12 @@ export const resources = {
...
@@ -70,11 +71,12 @@ export const resources = {
'102'
:
{
'102'
:
{
path
:
'/trafficManagement'
,
path
:
'/trafficManagement'
,
icon
:
'truck'
,
icon
:
'truck'
,
name
:
'
车辆管理
'
,
name
:
'
fimsTrafficManagement
'
,
meta
:
{
meta
:
{
title
:
'车辆管理'
,
title
:
'车辆管理'
,
authId
:
'102'
,
authId
:
'102'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
},
component
:
_import
(
'trafficManagement'
),
component
:
_import
(
'trafficManagement'
),
auth
:
[{
auth
:
[{
...
@@ -100,11 +102,12 @@ export const resources = {
...
@@ -100,11 +102,12 @@ export const resources = {
'103'
:
{
'103'
:
{
path
:
'/subSysManagement'
,
path
:
'/subSysManagement'
,
icon
:
'cpu'
,
icon
:
'cpu'
,
name
:
'
子系统管理
'
,
name
:
'
fimsSubSysManagement
'
,
meta
:
{
meta
:
{
title
:
'子系统管理'
,
title
:
'子系统管理'
,
authId
:
'103'
,
authId
:
'103'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
},
component
:
_import
(
'subSysManagement'
),
component
:
_import
(
'subSysManagement'
),
auth
:
[{
auth
:
[{
...
@@ -130,11 +133,12 @@ export const resources = {
...
@@ -130,11 +133,12 @@ export const resources = {
'104'
:
{
'104'
:
{
path
:
'/deviceManagement'
,
path
:
'/deviceManagement'
,
icon
:
'takeaway-box'
,
icon
:
'takeaway-box'
,
name
:
'
物料管理
'
,
name
:
'
fimsDeviceManagement
'
,
meta
:
{
meta
:
{
title
:
'物料管理'
,
title
:
'物料管理'
,
authId
:
'104'
,
authId
:
'104'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
},
component
:
_import
(
'deviceManagement'
),
component
:
_import
(
'deviceManagement'
),
auth
:
[{
auth
:
[{
...
@@ -167,11 +171,12 @@ export const resources = {
...
@@ -167,11 +171,12 @@ export const resources = {
'105'
:
{
'105'
:
{
path
:
'materialList'
,
path
:
'materialList'
,
icon
:
'tickets'
,
icon
:
'tickets'
,
name
:
'
物料列表
'
,
name
:
'
fimsMaterialList
'
,
meta
:
{
meta
:
{
title
:
'物料列表'
,
title
:
'物料列表'
,
authId
:
'105'
,
authId
:
'105'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
},
component
:
_import
(
'materialList'
)
component
:
_import
(
'materialList'
)
},
},
...
@@ -188,11 +193,12 @@ export const resources = {
...
@@ -188,11 +193,12 @@ export const resources = {
'10601'
:
{
'10601'
:
{
path
:
'/materiaOrderManagement'
,
path
:
'/materiaOrderManagement'
,
icon
:
'document-copy'
,
icon
:
'document-copy'
,
name
:
'
物料订单管理
'
,
name
:
'
fimsMateriaOrderManagement
'
,
meta
:
{
meta
:
{
title
:
'物料订单管理'
,
title
:
'物料订单管理'
,
authId
:
'10601'
,
authId
:
'10601'
,
parentId
:
'106'
parentId
:
'106'
,
cache
:
true
},
},
component
:
_import
(
'materiaOrderManagement'
),
component
:
_import
(
'materiaOrderManagement'
),
auth
:
[{
auth
:
[{
...
@@ -218,11 +224,12 @@ export const resources = {
...
@@ -218,11 +224,12 @@ export const resources = {
'10602'
:
{
'10602'
:
{
path
:
'/maintainManagement'
,
path
:
'/maintainManagement'
,
icon
:
'finished'
,
icon
:
'finished'
,
name
:
'
作业单管理
'
,
name
:
'
fimsMaintainManagement
'
,
meta
:
{
meta
:
{
title
:
'作业单管理'
,
title
:
'作业单管理'
,
authId
:
'10602'
,
authId
:
'10602'
,
parentId
:
'106'
parentId
:
'106'
,
cache
:
true
},
},
component
:
_import
(
'maintainManagement'
),
component
:
_import
(
'maintainManagement'
),
auth
:
[{
auth
:
[{
...
...
src/views/deviceManagement/editDialog.vue
View file @
682abda
...
@@ -154,7 +154,7 @@ export default {
...
@@ -154,7 +154,7 @@ export default {
methods
:
{
methods
:
{
async
isCodeExist
(
rule
,
value
,
callback
)
{
async
isCodeExist
(
rule
,
value
,
callback
)
{
if
(
this
.
deviceNum
===
value
&&
this
.
deviceName
=
==
this
.
editForm
.
deviceName
)
{
if
(
this
.
deviceNum
!==
value
&&
this
.
deviceName
!
==
this
.
editForm
.
deviceName
)
{
const
res
=
await
isExistApi
({
deviceNum
:
value
,
deviceName
:
this
.
editForm
.
deviceName
,
stationCode
:
this
.
editForm
.
stationCode
})
const
res
=
await
isExistApi
({
deviceNum
:
value
,
deviceName
:
this
.
editForm
.
deviceName
,
stationCode
:
this
.
editForm
.
stationCode
})
// console.log(res)
// console.log(res)
res
.
deviceNum
?
callback
(
new
Error
(
rule
.
message
))
:
callback
()
res
.
deviceNum
?
callback
(
new
Error
(
rule
.
message
))
:
callback
()
...
...
src/views/deviceManagement/index.vue
View file @
682abda
...
@@ -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
:
'
d
eviceManagement'
,
name
:
'
fimsD
eviceManagement'
,
components
:
{
components
:
{
EditDialog
EditDialog
},
},
...
...
src/views/maintainManagement/index.vue
View file @
682abda
...
@@ -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
:
'
m
aintainManagement'
,
name
:
'
fimsM
aintainManagement'
,
data
()
{
data
()
{
return
{
return
{
// 搜索
// 搜索
...
...
src/views/materiaOrderManagement/index.vue
View file @
682abda
...
@@ -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
:
'
m
ateriaOrderManagement'
,
name
:
'
fimsM
ateriaOrderManagement'
,
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
(()
=>
{
...
...
src/views/materialList/index.vue
View file @
682abda
...
@@ -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
:
'
m
aterialList'
,
name
:
'
fimsM
aterialList'
,
data
()
{
data
()
{
return
{
return
{
searchForm
:
{
searchForm
:
{
...
...
src/views/subSysManagement/index.vue
View file @
682abda
...
@@ -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
:
'
s
ubSysManagement'
,
name
:
'
fimsS
ubSysManagement'
,
components
:
{
components
:
{
EditDialog
EditDialog
},
},
...
...
src/views/systemMonitor/index.vue
View file @
682abda
...
@@ -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
:
'全部'
,
...
...
src/views/trafficManagement/index.vue
View file @
682abda
...
@@ -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
:
'
t
rafficManagement'
,
name
:
'
fimsT
rafficManagement'
,
components
:
{
components
:
{
EditDialog
EditDialog
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment