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
dc7f3396
Commit
dc7f3396
authored
Oct 14, 2019
by
车宾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into feature-electrophoresis
parents
ad40b9a6
f1191a7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
327 additions
and
128 deletions
+327
-128
list.vue
src/views/DeviceRunning/DeviceFaultRecord/list.vue
+4
-4
list.vue
src/views/DeviceRunning/DeviceRunningTime/list.vue
+8
-8
SealedAnticorrosion.vue
src/views/Monitor/components/SealedAnticorrosion.vue
+275
-99
Tooltip.vue
src/views/Monitor/components/Tooltip.vue
+40
-17
No files found.
src/views/DeviceRunning/DeviceFaultRecord/list.vue
View file @
dc7f3396
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
this
.
searchList
=
searchValue
this
.
searchList
=
searchValue
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
},
// 点击搜索组件重置按钮
// 点击搜索组件重置按钮
doResetClick
(
searchValue
)
{
doResetClick
(
searchValue
)
{
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
pageSize
=
20
this
.
tableConfig
.
paginationConfig
.
pageSize
=
20
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
},
// 获取表格数据
// 获取表格数据
getTableList
()
{
getTableList
()
{
...
@@ -136,13 +136,13 @@
...
@@ -136,13 +136,13 @@
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
pageSize
=
pageSize
this
.
tableConfig
.
paginationConfig
.
pageSize
=
pageSize
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
},
// 当前分页页数发生了变化
// 当前分页页数发生了变化
onCurrentChange
(
currentPage
)
{
onCurrentChange
(
currentPage
)
{
this
.
tableConfig
.
paginationConfig
.
currentPage
=
currentPage
this
.
tableConfig
.
paginationConfig
.
currentPage
=
currentPage
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/views/DeviceRunning/DeviceRunningTime/list.vue
View file @
dc7f3396
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
// 点击刷新按钮
// 点击刷新按钮
doRefreshClick
()
{
doRefreshClick
()
{
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
().
then
(
response
=>
{
this
.
getTableL
i
st
().
then
(
response
=>
{
this
.
$message
.
success
(
'刷新成功!'
)
this
.
$message
.
success
(
'刷新成功!'
)
})
})
},
},
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
this
.
searchList
=
searchValue
this
.
searchList
=
searchValue
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
},
// 点击搜索组件重置按钮
// 点击搜索组件重置按钮
doResetClick
(
searchValue
)
{
doResetClick
(
searchValue
)
{
...
@@ -85,10 +85,10 @@
...
@@ -85,10 +85,10 @@
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
pageSize
=
20
this
.
tableConfig
.
paginationConfig
.
pageSize
=
20
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
},
// 获取表格数据
// 获取表格数据
getTableL
I
st
()
{
getTableL
i
st
()
{
let
queryParams
=
{
let
queryParams
=
{
searchCode
:
this
.
searchList
.
searchCode
||
'MACHINE_RUNTIME_RECORD'
,
searchCode
:
this
.
searchList
.
searchCode
||
'MACHINE_RUNTIME_RECORD'
,
filters
:
this
.
searchList
.
filters
||
[],
filters
:
this
.
searchList
.
filters
||
[],
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
if
(
response
.
list
.
length
===
0
&&
response
.
pageNum
!==
1
)
{
if
(
response
.
list
.
length
===
0
&&
response
.
pageNum
!==
1
)
{
this
.
tableConfig
.
paginationConfig
.
currentPage
-=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
-=
1
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
}
else
{
}
else
{
this
.
tableConfig
.
data
=
_
.
cloneDeep
(
response
.
list
)
this
.
tableConfig
.
data
=
_
.
cloneDeep
(
response
.
list
)
this
.
tableConfig
.
paginationConfig
.
total
=
_
.
cloneDeep
(
response
.
total
)
this
.
tableConfig
.
paginationConfig
.
total
=
_
.
cloneDeep
(
response
.
total
)
...
@@ -116,20 +116,20 @@
...
@@ -116,20 +116,20 @@
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
currentPage
=
1
this
.
tableConfig
.
paginationConfig
.
pageSize
=
pageSize
this
.
tableConfig
.
paginationConfig
.
pageSize
=
pageSize
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
},
// 当前分页页数发生了变化
// 当前分页页数发生了变化
onCurrentChange
(
currentPage
)
{
onCurrentChange
(
currentPage
)
{
this
.
tableConfig
.
paginationConfig
.
currentPage
=
currentPage
this
.
tableConfig
.
paginationConfig
.
currentPage
=
currentPage
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
}
}
},
},
mounted
()
{
mounted
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
tableConfig
.
height
=
document
.
querySelector
(
'.page-pack'
).
offsetHeight
-
180
this
.
tableConfig
.
height
=
document
.
querySelector
(
'.page-pack'
).
offsetHeight
-
180
// 获取表格数据
// 获取表格数据
this
.
getTableL
I
st
()
this
.
getTableL
i
st
()
},
0
)
},
0
)
}
}
}
}
...
...
src/views/Monitor/components/SealedAnticorrosion.vue
View file @
dc7f3396
This diff is collapsed.
Click to expand it.
src/views/Monitor/components/Tooltip.vue
View file @
dc7f3396
<
template
>
<
template
>
<div
<div
class=
"tooltip"
class=
"tooltip"
ref=
"tooltip"
ref=
"tooltip"
>
>
<p>
<p><span>
销售订单号:
</span><span>
{{
query
.
saleOrderNo
}}
</span></p>
<span>
销售订单号:
</span>
<p><span>
主计划工单号:
</span><span>
{{
query
.
planOrderNo
}}
</span></p>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'saleOrderNo'
)
&&
carStationInfo
.
saleOrderNo
!==
null
?
carStationInfo
.
saleOrderNo
:
'暂无'
}}
</span>
<p><span>
车间计划工单号:
</span><span>
{{
query
.
code
}}
</span></p>
</p>
<p><span>
车型:
</span><span>
{{
query
.
busType
}}
</span></p>
<p>
<p><span>
订单数量:
</span><span>
{{
query
.
orderSize
}}
</span></p>
<span>
主计划工单号:
</span>
<p><span>
单位:
</span><span>
{{
query
.
unit
}}
</span></p>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'planOrderNo'
)
&&
carStationInfo
.
planOrderNo
!==
null
?
carStationInfo
.
planOrderNo
:
'暂无'
}}
</span>
<p><span>
车间:
</span><span>
{{
query
.
shop
}}
</span></p>
</p>
<p><span>
产线:
</span><span>
{{
query
.
line
}}
</span></p>
<p>
<span>
车间计划工单号:
</span>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'code'
)
&&
carStationInfo
.
code
!==
null
?
carStationInfo
.
code
:
'暂无'
}}
</span>
</p>
<p>
<span>
车型:
</span>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'busType'
)
&&
carStationInfo
.
busType
!==
null
?
carStationInfo
.
busType
:
'暂无'
}}
</span>
</p>
<p>
<span>
订单数量:
</span>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'orderSize'
)
&&
carStationInfo
.
orderSize
!==
null
?
carStationInfo
.
orderSize
:
'暂无'
}}
</span>
</p>
<p>
<span>
单位:
</span>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'unit'
)
&&
carStationInfo
.
unit
!==
null
?
carStationInfo
.
unit
:
'暂无'
}}
</span>
</p>
<p>
<span>
车间:
</span>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'shop'
)
&&
carStationInfo
.
shop
!==
null
?
carStationInfo
.
shop
:
'暂无'
}}
</span>
</p>
<p>
<span>
产线:
</span>
<span>
{{
carStationInfo
.
hasOwnProperty
(
'line'
)
&&
carStationInfo
.
line
!==
null
?
arStationInfo
.
line
:
'暂无'
}}
</span>
</p>
<!--
<p><span>
计划完工时间:
</span><span>
{{
query
.
saleOrderNo
}}
</span></p>
-->
<!--
<p><span>
计划完工时间:
</span><span>
{{
query
.
saleOrderNo
}}
</span></p>
-->
<div
<div
class=
"close-btn"
class=
"close-btn"
@
click=
"closeTooltip"
@
click=
"closeTooltip"
>
>
<i
class=
"el-icon-circle-close"
></i>
<i
class=
"el-icon-circle-close"
></i>
</div>
</div>
</div>
</div>
...
@@ -34,16 +56,17 @@ export default {
...
@@ -34,16 +56,17 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
data
:
{}
carStationInfo
:
{}
}
}
},
},
watch
:
{
watch
:
{
query
(
v
)
{
query
:
{
this
.
data
=
_
.
cloneDeep
(
v
)
handler
(
newVal
,
oldVal
)
{
this
.
carStationInfo
=
_
.
cloneDeep
(
newVal
)
},
deep
:
true
}
}
},
},
methods
:
{
methods
:
{
closeTooltip
()
{
closeTooltip
()
{
this
.
$refs
.
tooltip
.
style
.
visibility
=
'hidden'
this
.
$refs
.
tooltip
.
style
.
visibility
=
'hidden'
...
...
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