Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
卡
卡车调度系统
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
caicaicai
卡车调度系统
Commits
0fc62e89
Commit
0fc62e89
authored
Oct 18, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c161b682
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
carsEZUIKitJs.vue
src/components/ezuikit/carsEZUIKitJs.vue
+9
-4
vue.config.js
vue.config.js
+1
-1
No files found.
src/components/ezuikit/carsEZUIKitJs.vue
View file @
0fc62e89
...
@@ -40,9 +40,9 @@
...
@@ -40,9 +40,9 @@
<div
id=
"echarts2"
class=
"echarts2"
style=
"margin-top:1vh"
></div>
<div
id=
"echarts2"
class=
"echarts2"
style=
"margin-top:1vh"
></div>
<div
class=
"aiAnalysisViews_1"
>
报警车辆信息
</div>
<div
class=
"aiAnalysisViews_1"
>
报警车辆信息
</div>
<el-table
:data=
"aiAnalysisTableData"
border
style=
"width: 98%"
height=
"24.5vh"
>
<el-table
:data=
"aiAnalysisTableData"
border
style=
"width: 98%"
height=
"24.5vh"
>
<el-table-column
prop=
"
carNo
"
label=
"车牌号"
align=
"center"
></el-table-column>
<el-table-column
prop=
"
vid
"
label=
"车牌号"
align=
"center"
></el-table-column>
<el-table-column
prop=
"
type
"
label=
"报警类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"
atpStr
"
label=
"报警类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"
createTime"
label=
"报警时间"
align=
"center
"
></el-table-column>
<el-table-column
prop=
"
stm"
label=
"报警时间"
align=
"center"
:formatter=
"changeTime1
"
></el-table-column>
<el-table-column
label=
"查看"
align=
"center"
>
<el-table-column
label=
"查看"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-image
style=
"width: 70px; height: 50px"
:src=
"imgSrcStart + 'avatar/' + scope.row.photo"
:preview-src-list=
"[imgSrcStart + 'avatar/' + scope.row.photo]"
></el-image>
<el-image
style=
"width: 70px; height: 50px"
:src=
"imgSrcStart + 'avatar/' + scope.row.photo"
:preview-src-list=
"[imgSrcStart + 'avatar/' + scope.row.photo]"
></el-image>
...
@@ -145,6 +145,7 @@ export default {
...
@@ -145,6 +145,7 @@ export default {
}
}
},
},
aiTabPositionFn
(){
aiTabPositionFn
(){
let
that
=
this
;
if
(
this
.
aiTabPosition
==
'
今天
'
){
if
(
this
.
aiTabPosition
==
'
今天
'
){
let
start
=
this
.
currentTime1
(
new
Date
(
new
Date
(
new
Date
().
toLocaleDateString
()).
getTime
()));
let
start
=
this
.
currentTime1
(
new
Date
(
new
Date
(
new
Date
().
toLocaleDateString
()).
getTime
()));
let
end
=
this
.
currentTime1
(
new
Date
(
new
Date
(
new
Date
().
toLocaleDateString
()).
getTime
()
+
24
*
60
*
60
*
1000
-
1
));
let
end
=
this
.
currentTime1
(
new
Date
(
new
Date
(
new
Date
().
toLocaleDateString
()).
getTime
()
+
24
*
60
*
60
*
1000
-
1
));
...
@@ -161,6 +162,7 @@ export default {
...
@@ -161,6 +162,7 @@ export default {
}
}
}).
then
(
function
(
response
)
{
}).
then
(
function
(
response
)
{
console
.
log
(
response
.
data
.
alarms
);
console
.
log
(
response
.
data
.
alarms
);
that
.
aiAnalysisTableData
=
response
.
data
.
alarms
;
})
})
}
}
...
@@ -345,6 +347,9 @@ export default {
...
@@ -345,6 +347,9 @@ export default {
let
currentFormatDate
=
year
+
"
-
"
+
month
+
"
-
"
+
day
+
"
"
+
hours
+
"
:
"
+
minutes
+
"
:
"
+
seconds
;
let
currentFormatDate
=
year
+
"
-
"
+
month
+
"
-
"
+
day
+
"
"
+
hours
+
"
:
"
+
minutes
+
"
:
"
+
seconds
;
return
currentFormatDate
;
return
currentFormatDate
;
},
},
changeTime1
(
row
){
return
this
.
currentTime1
(
row
.
stm
);
}
},
},
//销毁
//销毁
beforeDestroy
()
{
beforeDestroy
()
{
...
...
vue.config.js
View file @
0fc62e89
...
@@ -47,7 +47,7 @@ module.exports = {
...
@@ -47,7 +47,7 @@ module.exports = {
}
}
},
},
'
/jiankong
'
:
{
'
/jiankong
'
:
{
target
:
'
http://
120.224.103.84
:8088/StandardApiAction_queryAlarmDetail.action
'
,
target
:
'
http://
oa.gemho.cn
:8088/StandardApiAction_queryAlarmDetail.action
'
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'
^/jiankong
'
:
''
'
^/jiankong
'
:
''
...
...
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