Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
曾琪
/
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 = {
meta
:
{
title
:
'系统监控'
,
authId
:
'101'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
component
:
_import
(
'systemMonitor'
),
auth
:
[{
...
...
@@ -70,11 +71,12 @@ export const resources = {
'102'
:
{
path
:
'/trafficManagement'
,
icon
:
'truck'
,
name
:
'
车辆管理
'
,
name
:
'
fimsTrafficManagement
'
,
meta
:
{
title
:
'车辆管理'
,
authId
:
'102'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
component
:
_import
(
'trafficManagement'
),
auth
:
[{
...
...
@@ -100,11 +102,12 @@ export const resources = {
'103'
:
{
path
:
'/subSysManagement'
,
icon
:
'cpu'
,
name
:
'
子系统管理
'
,
name
:
'
fimsSubSysManagement
'
,
meta
:
{
title
:
'子系统管理'
,
authId
:
'103'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
component
:
_import
(
'subSysManagement'
),
auth
:
[{
...
...
@@ -130,11 +133,12 @@ export const resources = {
'104'
:
{
path
:
'/deviceManagement'
,
icon
:
'takeaway-box'
,
name
:
'
物料管理
'
,
name
:
'
fimsDeviceManagement
'
,
meta
:
{
title
:
'物料管理'
,
authId
:
'104'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
component
:
_import
(
'deviceManagement'
),
auth
:
[{
...
...
@@ -167,11 +171,12 @@ export const resources = {
'105'
:
{
path
:
'materialList'
,
icon
:
'tickets'
,
name
:
'
物料列表
'
,
name
:
'
fimsMaterialList
'
,
meta
:
{
title
:
'物料列表'
,
authId
:
'105'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
component
:
_import
(
'materialList'
)
},
...
...
@@ -188,11 +193,12 @@ export const resources = {
'10601'
:
{
path
:
'/materiaOrderManagement'
,
icon
:
'document-copy'
,
name
:
'
物料订单管理
'
,
name
:
'
fimsMateriaOrderManagement
'
,
meta
:
{
title
:
'物料订单管理'
,
authId
:
'10601'
,
parentId
:
'106'
parentId
:
'106'
,
cache
:
true
},
component
:
_import
(
'materiaOrderManagement'
),
auth
:
[{
...
...
@@ -218,11 +224,12 @@ export const resources = {
'10602'
:
{
path
:
'/maintainManagement'
,
icon
:
'finished'
,
name
:
'
作业单管理
'
,
name
:
'
fimsMaintainManagement
'
,
meta
:
{
title
:
'作业单管理'
,
authId
:
'10602'
,
parentId
:
'106'
parentId
:
'106'
,
cache
:
true
},
component
:
_import
(
'maintainManagement'
),
auth
:
[{
...
...
src/views/deviceManagement/editDialog.vue
View file @
682abda
...
...
@@ -154,7 +154,7 @@ export default {
methods
:
{
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
})
// console.log(res)
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'
import
qs
from
'qs'
import
sign
from
'@api/sign'
export
default
{
name
:
'
d
eviceManagement'
,
name
:
'
fimsD
eviceManagement'
,
components
:
{
EditDialog
},
...
...
src/views/maintainManagement/index.vue
View file @
682abda
...
...
@@ -118,7 +118,7 @@ import { getListApi, removeApi, exportApi } from '@api/maintainManagement'
import
{
mapActions
}
from
'vuex'
import
notice
from
'@/common/notice'
export
default
{
name
:
'
m
aintainManagement'
,
name
:
'
fimsM
aintainManagement'
,
data
()
{
return
{
// 搜索
...
...
src/views/materiaOrderManagement/index.vue
View file @
682abda
...
...
@@ -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
:
'
m
ateriaOrderManagement'
,
name
:
'
fimsM
ateriaOrderManagement'
,
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
(()
=>
{
...
...
src/views/materialList/index.vue
View file @
682abda
...
...
@@ -65,7 +65,7 @@
import
{
getListApi
}
from
'@api/materialList'
import
notice
from
'@/common/notice'
export
default
{
name
:
'
m
aterialList'
,
name
:
'
fimsM
aterialList'
,
data
()
{
return
{
searchForm
:
{
...
...
src/views/subSysManagement/index.vue
View file @
682abda
...
...
@@ -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
:
'
s
ubSysManagement'
,
name
:
'
fimsS
ubSysManagement'
,
components
:
{
EditDialog
},
...
...
src/views/systemMonitor/index.vue
View file @
682abda
...
...
@@ -128,7 +128,7 @@ import { cloneDeep } from 'lodash'
// let echarts = require('echarts/lib/echarts')
export
default
{
name
:
'
systemMonitor
'
,
name
:
'
index
'
,
data
()
{
return
{
subSystemRadio
:
'全部'
,
...
...
src/views/trafficManagement/index.vue
View file @
682abda
...
...
@@ -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
:
'
t
rafficManagement'
,
name
:
'
fimsT
rafficManagement'
,
components
:
{
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