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
89358622
Commit
89358622
authored
Jan 15, 2020
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(AVI大屏): 工作区详情车体没有工单号时进行提示
parent
04d8a011
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
126 additions
and
99 deletions
+126
-99
list.vue
src/views/DeviceRunning/DeviceFaultRecord/list.vue
+1
-2
ComplexionPaint.vue
src/views/Monitor/components/ComplexionPaint.vue
+18
-14
Electrophoresis.vue
src/views/Monitor/components/Electrophoresis.vue
+18
-14
FinishedCar.vue
src/views/Monitor/components/FinishedCar.vue
+18
-14
MiddleCoat.vue
src/views/Monitor/components/MiddleCoat.vue
+18
-14
Putty.vue
src/views/Monitor/components/Putty.vue
+18
-14
SealedAnticorrosion.vue
src/views/Monitor/components/SealedAnticorrosion.vue
+16
-12
SheetMetalCar.vue
src/views/Monitor/components/SheetMetalCar.vue
+19
-15
No files found.
src/views/DeviceRunning/DeviceFaultRecord/list.vue
View file @
89358622
...
...
@@ -63,8 +63,7 @@
data
:
[],
fieldList
:
[
{
label
:
'车间'
,
value
:
'workshopCode'
},
{
label
:
'设备编号'
,
value
:
'equipCode'
},
{
label
:
'设备名称'
,
value
:
'alias'
},
{
label
:
'设备名称'
,
value
:
'equipCode'
},
{
label
:
'故障信息'
,
value
:
'warningInfo'
},
{
label
:
'时间'
,
value
:
'beginTime'
,
slot
:
'beginTime'
}
],
...
...
src/views/Monitor/components/ComplexionPaint.vue
View file @
89358622
...
...
@@ -706,20 +706,24 @@ export default {
}
},
doCarStationClick
(
busWorkOrderNo
)
{
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
)
}
})
.
catch
(
error
=>
{
reject
(
error
)
});
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
)
}
})
.
catch
(
error
=>
{
reject
(
error
)
});
}
},
// 查询车辆定位
getCarPostion
()
{
...
...
src/views/Monitor/components/Electrophoresis.vue
View file @
89358622
...
...
@@ -480,20 +480,24 @@ export default {
methods
:
{
// 点击车位弹出车体信息
doCarStationClick
(
busWorkOrderNo
)
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
}
},
// 查询电泳实时信息
getElectrophoresisInformation
()
{
...
...
src/views/Monitor/components/FinishedCar.vue
View file @
89358622
...
...
@@ -198,20 +198,24 @@ export default {
},
// 点击车位弹出车体信息
doCarStationClick
(
busWorkOrderNo
)
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
}
},
// 解析车体类型及车体定位样式
judgeCarTypeAndcarStationstyle
(
outOrIn
,
station
)
{
...
...
src/views/Monitor/components/MiddleCoat.vue
View file @
89358622
...
...
@@ -247,20 +247,24 @@ export default {
},
// 点击车位弹出车体信息
doCarStationClick
(
busWorkOrderNo
)
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
}
},
// 解析车体类型及车体定位样式
judgeCarTypeAndcarStationstyle
(
outOrIn
,
station
)
{
...
...
src/views/Monitor/components/Putty.vue
View file @
89358622
...
...
@@ -284,20 +284,24 @@ export default {
},
// 点击车辆工位
doCarStationClick
(
busWorkOrderNo
)
{
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
`
${
top
-
100
}
px`
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
`
${
left
}
px`
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
`
${
top
-
100
}
px`
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
`
${
left
}
px`
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
}
},
// 查询车辆定位
getCarPostion
()
{
...
...
src/views/Monitor/components/SealedAnticorrosion.vue
View file @
89358622
...
...
@@ -342,19 +342,23 @@ export default {
},
// 点击工位
doCarStationClick
(
busWorkOrderNo
)
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
let
queryParams
=
{
busNo
:
busWorkOrderNo
};
this
.
$fetch
(
'area-controller/busNo-get'
,
queryParams
).
then
(
response
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
top
-
100
+
'px'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
left
-
100
+
'px'
;
let
queryParams
=
{
busNo
:
busWorkOrderNo
};
this
.
$fetch
(
'area-controller/busNo-get'
,
queryParams
).
then
(
response
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
}
}
);
);
}
},
// 获取密封防腐作业区实时数据
getSealedAnticorrosionRealTimeData
()
{
...
...
src/views/Monitor/components/SheetMetalCar.vue
View file @
89358622
...
...
@@ -2,7 +2,7 @@
<!-- 钣金车存放区 -->
<div
class=
"page-pack"
>
<div
class=
"container-pack"
>
<div
class=
"return-pack"
@
click=
"doReturnMonitorIndex"
></div>
<div
class=
"return-pack"
@
click=
"doReturnMonitorIndex"
></div>
<!--第一行-->
<div
class=
"sheet-row-1-1"
...
...
@@ -349,20 +349,24 @@ export default {
},
// 点击车辆工位
doCarStationClick
(
busWorkOrderNo
)
{
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
`
${
top
-
100
}
px`
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
`
${
left
}
px`
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
if
(
busWorkOrderNo
===
null
||
busWorkOrderNo
===
''
)
{
this
.
$message
.
warning
(
'此车体无对应工单号'
);
}
else
{
let
left
=
window
.
event
.
clientX
;
let
top
=
window
.
event
.
clientY
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
visibility
=
'visible'
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
top
=
`
${
top
-
100
}
px`
;
this
.
$refs
.
toolRef
.
$refs
.
tooltip
.
style
.
left
=
`
${
left
}
px`
;
this
.
$fetch
(
'area-controller/busNo-get'
,
{
busNo
:
busWorkOrderNo
})
.
then
(
res
=>
{
if
(
!
Array
.
isArray
(
res
))
{
this
.
BusInformation
=
_
.
cloneDeep
(
res
);
}
})
.
catch
(
error
=>
{
reject
(
error
);
});
}
},
// 解析车体类型及车体定位样式
judgeCarTypeAndcarStationstyle
(
outOrIn
,
station
)
{
...
...
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