Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中通客车项目
zhongtong-avi-web
Commits
bb0152fe
Commit
bb0152fe
authored
Sep 18, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(制件车间): 报表导出功能开发
parent
2db19791
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
221 additions
and
62 deletions
+221
-62
index.vue
src/components/PreviewTable/index.vue
+2
-2
apis.js
src/interface/apis.js
+2
-2
route.js
src/lang/zh/route.js
+1
-1
list.vue
src/views/Workshop/Chassis/list.vue
+15
-8
list.vue
src/views/Workshop/Final/list.vue
+19
-10
list.vue
src/views/Workshop/Painting/list.vue
+17
-9
list.vue
src/views/Workshop/Parts/list.vue
+143
-18
list.vue
src/views/Workshop/Trial/list.vue
+11
-6
list.vue
src/views/Workshop/Welding/list.vue
+11
-6
No files found.
src/components/PreviewTable/index.vue
View file @
bb0152fe
...
@@ -28,10 +28,10 @@
...
@@ -28,10 +28,10 @@
show-overflow-tooltip
show-overflow-tooltip
v-bind=
"judgeTableColumnAttribute(item)"
>
v-bind=
"judgeTableColumnAttribute(item)"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"item.dat
a
Type === 'DATETIME'"
>
<span
v-if=
"item.dat
e
Type === 'DATETIME'"
>
{{
scope
.
row
[
item
.
value
]
===
null
||
scope
.
row
[
item
.
value
]
===
''
||
scope
.
row
[
item
.
value
]
===
undefined
?
'暂无'
:
format
(
scope
.
row
[
item
.
value
],
'yyyy-MM-dd hh:mm:ss'
)
}}
{{
scope
.
row
[
item
.
value
]
===
null
||
scope
.
row
[
item
.
value
]
===
''
||
scope
.
row
[
item
.
value
]
===
undefined
?
'暂无'
:
format
(
scope
.
row
[
item
.
value
],
'yyyy-MM-dd hh:mm:ss'
)
}}
</span>
</span>
<span
v-
if=
"item.data
Type === 'NUMBER'"
>
<span
v-
else-if=
"item.date
Type === 'NUMBER'"
>
{{
scope
.
row
[
item
.
value
]
===
null
||
scope
.
row
[
item
.
value
]
===
''
||
scope
.
row
[
item
.
value
]
===
undefined
?
'暂无'
:
(
scope
.
row
[
item
.
value
]).
toFix
(
2
)
}}
{{
scope
.
row
[
item
.
value
]
===
null
||
scope
.
row
[
item
.
value
]
===
''
||
scope
.
row
[
item
.
value
]
===
undefined
?
'暂无'
:
(
scope
.
row
[
item
.
value
]).
toFix
(
2
)
}}
</span>
</span>
<span
v-else
>
<span
v-else
>
...
...
src/interface/apis.js
View file @
bb0152fe
...
@@ -47,9 +47,9 @@
...
@@ -47,9 +47,9 @@
}
}
},
},
"equipment-controller"
:
{
"equipment-controller"
:
{
"data-
ge
t"
:
{
"data-
pos
t"
:
{
"url"
:
"/api/equipment/realTime/data"
,
"url"
:
"/api/equipment/realTime/data"
,
"method"
:
"
ge
t"
"method"
:
"
pos
t"
}
}
},
},
"show-field-controller"
:
{
"show-field-controller"
:
{
...
...
src/lang/zh/route.js
View file @
bb0152fe
...
@@ -9,7 +9,7 @@ export default {
...
@@ -9,7 +9,7 @@ export default {
UserView
:
'人员信息视图'
,
UserView
:
'人员信息视图'
,
Workbench
:
'工作台'
,
Workbench
:
'工作台'
,
// 车间(设备数据)
// 车间(设备数据)
Workshop
:
'设备数据'
,
Workshop
:
'设备
采集
数据'
,
Parts
:
'制件车间'
,
Parts
:
'制件车间'
,
Welding
:
'焊装车间'
,
Welding
:
'焊装车间'
,
Painting
:
'涂装车间'
,
Painting
:
'涂装车间'
,
...
...
src/views/Workshop/Chassis/list.vue
View file @
bb0152fe
...
@@ -70,27 +70,33 @@
...
@@ -70,27 +70,33 @@
sortTreeData
:
[
sortTreeData
:
[
{
{
id
:
1
,
id
:
1
,
label
:
'旋转辊床'
label
:
'旋转辊床'
,
code
:
'ROTARY_ROLLER_BED'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
'过程扫码设备'
label
:
'过程扫码设备'
,
code
:
'PROCESS_SCAN_CODE'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
'智能扭力钣手'
label
:
'智能扭力钣手'
,
code
:
'INTELLIGENT_TORQUE_WRENCH'
},
},
{
{
id
:
4
,
id
:
4
,
label
:
'润滑油集中加注'
label
:
'润滑油集中加注'
,
code
:
'LUBRICATING_OIL_CONCENTRATE'
},
},
{
{
id
:
5
,
id
:
5
,
label
:
'四轮定位'
label
:
'四轮定位'
,
code
:
'WHEEL_ALIGNMENT'
},
},
{
{
id
:
6
,
id
:
6
,
label
:
'铆接设备'
label
:
'铆接设备'
,
code
:
'RIVETING_EQUIPMENT'
}
}
],
],
// 设备分类树高度
// 设备分类树高度
...
@@ -144,7 +150,7 @@
...
@@ -144,7 +150,7 @@
// 左侧类别树
// 左侧类别树
.tree-pack
{
.tree-pack
{
position
:
absolute
;
position
:
absolute
;
width
:
30
0px
;
width
:
25
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -158,10 +164,11 @@
...
@@ -158,10 +164,11 @@
// 显示区域
// 显示区域
.view-pack
{
.view-pack
{
margin-left
:
31
0px
;
margin-left
:
26
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
overflow-y
:
auto
;
.title-pack
{
.title-pack
{
height
:
38px
;
height
:
38px
;
...
...
src/views/Workshop/Final/list.vue
View file @
bb0152fe
...
@@ -70,35 +70,43 @@
...
@@ -70,35 +70,43 @@
sortTreeData
:
[
sortTreeData
:
[
{
{
id
:
1
,
id
:
1
,
label
:
'板链'
label
:
'板链'
,
code
:
'PLATE_CHAIN'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
'过程扫码设备'
label
:
'过程扫码设备'
,
code
:
'PROCESS_SCAN_CODE'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
'智能扭力钣手'
label
:
'智能扭力钣手'
,
code
:
'INTELLIGENT_TORQUE_WRENCH'
},
},
{
{
id
:
4
,
id
:
4
,
label
:
'集中加注冷媒'
label
:
'集中加注冷媒'
,
code
:
'FOCUS_ADDING_REFRIGERANT'
},
},
{
{
id
:
5
,
id
:
5
,
label
:
'集中加注离合器'
label
:
'集中加注离合器'
,
code
:
'CENTRALIZED_FILLING_CLUTCH'
},
},
{
{
id
:
6
,
id
:
6
,
label
:
'集中加注助力油'
label
:
'集中加注助力油'
,
code
:
'FOCUS_BOOSTER_OIL'
},
},
{
{
id
:
7
,
id
:
7
,
label
:
'地板革热熔胶涂布设备'
label
:
'地板革热熔胶涂布设备'
,
code
:
'FLOOR_LEATHER_HOT'
},
},
{
{
id
:
8
,
id
:
8
,
label
:
'新能源在线检测点'
label
:
'新能源在线检测点'
,
code
:
'NEW_ENERGY'
}
}
],
],
// 设备分类树高度
// 设备分类树高度
...
@@ -152,7 +160,7 @@
...
@@ -152,7 +160,7 @@
// 左侧类别树
// 左侧类别树
.tree-pack
{
.tree-pack
{
position
:
absolute
;
position
:
absolute
;
width
:
30
0px
;
width
:
25
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -166,10 +174,11 @@
...
@@ -166,10 +174,11 @@
// 显示区域
// 显示区域
.view-pack
{
.view-pack
{
margin-left
:
31
0px
;
margin-left
:
26
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
overflow-y
:
auto
;
.title-pack
{
.title-pack
{
height
:
38px
;
height
:
38px
;
...
...
src/views/Workshop/Painting/list.vue
View file @
bb0152fe
...
@@ -70,31 +70,38 @@
...
@@ -70,31 +70,38 @@
sortTreeData
:
[
sortTreeData
:
[
{
{
id
:
1
,
id
:
1
,
label
:
'整车前处理电泳'
label
:
'整车前处理电泳'
,
code
:
'VEHICLE_PRETREATMENT_ELECTROPHORESIS'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
'整车电泳输出'
label
:
'整车电泳输出'
,
code
:
'VEHICLE_ELECTROPHORESIS_OUTPUT'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
'电泳整流'
label
:
'电泳整流'
,
code
:
'ELECTROPHORESIS_RECTIFICATION'
},
},
{
{
id
:
4
,
id
:
4
,
label
:
'喷漆室'
label
:
'喷漆室'
,
code
:
'SPRAY_BOOTH'
},
},
{
{
id
:
5
,
id
:
5
,
label
:
'烘干室'
label
:
'烘干室'
,
code
:
'DRYING_ROOM'
},
},
{
{
id
:
6
,
id
:
6
,
label
:
'打磨室'
label
:
'打磨室'
,
code
:
'POLISHING_ROOM'
},
},
{
{
id
:
7
,
id
:
7
,
label
:
'喷涂机器人'
label
:
'喷涂机器人'
,
code
:
'PAINTING_ROBOT'
}
}
],
],
// 设备分类树高度
// 设备分类树高度
...
@@ -148,7 +155,7 @@
...
@@ -148,7 +155,7 @@
// 左侧类别树
// 左侧类别树
.tree-pack
{
.tree-pack
{
position
:
absolute
;
position
:
absolute
;
width
:
30
0px
;
width
:
25
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -162,10 +169,11 @@
...
@@ -162,10 +169,11 @@
// 显示区域
// 显示区域
.view-pack
{
.view-pack
{
margin-left
:
31
0px
;
margin-left
:
26
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
overflow-y
:
auto
;
.title-pack
{
.title-pack
{
height
:
38px
;
height
:
38px
;
...
...
src/views/Workshop/Parts/list.vue
View file @
bb0152fe
This diff is collapsed.
Click to expand it.
src/views/Workshop/Trial/list.vue
View file @
bb0152fe
...
@@ -70,19 +70,23 @@
...
@@ -70,19 +70,23 @@
sortTreeData
:
[
sortTreeData
:
[
{
{
id
:
1
,
id
:
1
,
label
:
'检测线'
label
:
'检测线'
,
code
:
'CHECK_LINE'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
'充电桩'
label
:
'充电桩'
,
code
:
'CHARGING_PILE'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
'动静态测试'
label
:
'动静态测试'
,
code
:
'DYNAMIC_STATIC_TEST'
},
},
{
{
id
:
4
,
id
:
4
,
label
:
'加氢站'
label
:
'加氢站'
,
code
:
'HYDROGEN_STATIONVoc'
}
}
],
],
// 设备分类树高度
// 设备分类树高度
...
@@ -136,7 +140,7 @@
...
@@ -136,7 +140,7 @@
// 左侧类别树
// 左侧类别树
.tree-pack
{
.tree-pack
{
position
:
absolute
;
position
:
absolute
;
width
:
30
0px
;
width
:
25
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -150,10 +154,11 @@
...
@@ -150,10 +154,11 @@
// 显示区域
// 显示区域
.view-pack
{
.view-pack
{
margin-left
:
31
0px
;
margin-left
:
26
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
overflow-y
:
auto
;
.title-pack
{
.title-pack
{
height
:
38px
;
height
:
38px
;
...
...
src/views/Workshop/Welding/list.vue
View file @
bb0152fe
...
@@ -70,19 +70,23 @@
...
@@ -70,19 +70,23 @@
sortTreeData
:
[
sortTreeData
:
[
{
{
id
:
1
,
id
:
1
,
label
:
'车顶自动点焊'
label
:
'车顶自动点焊'
,
code
:
'AUTOMATIC_SPOT_WELDING'
},
},
{
{
id
:
2
,
id
:
2
,
label
:
'PLC数控合装胎'
label
:
'PLC数控合装胎'
,
code
:
'PLC_CONTROL_TIRE'
},
},
{
{
id
:
3
,
id
:
3
,
label
:
'板链'
label
:
'板链'
,
code
:
'PLATE_CHAIN'
},
},
{
{
id
:
4
,
id
:
4
,
label
:
'旋转辊床'
label
:
'旋转辊床'
,
code
:
'ROTARY_ROLLER_BED'
}
}
],
],
// 设备分类树高度
// 设备分类树高度
...
@@ -136,7 +140,7 @@
...
@@ -136,7 +140,7 @@
// 左侧类别树
// 左侧类别树
.tree-pack
{
.tree-pack
{
position
:
absolute
;
position
:
absolute
;
width
:
30
0px
;
width
:
25
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -150,10 +154,11 @@
...
@@ -150,10 +154,11 @@
// 显示区域
// 显示区域
.view-pack
{
.view-pack
{
margin-left
:
31
0px
;
margin-left
:
26
0px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#d2d3d5
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
background-color
:
#fff
;
overflow-y
:
auto
;
.title-pack
{
.title-pack
{
height
:
38px
;
height
:
38px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment