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
023de4a4
Commit
023de4a4
authored
Aug 15, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
2dea6f2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
.env.development
.env.development
+3
-3
index.vue
src/views/DeviceManage/callPolice/index.vue
+4
-7
No files found.
.env.development
View file @
023de4a4
...
...
@@ -2,10 +2,10 @@ ENV = 'development'
# 接口地址
#VUE_APP_BASE_API = 'http://localhost:8000'
VUE_APP_BASE_API = 'http://192.168.0.1
11:9090
'
VUE_APP_BASE_API = 'http://192.168.0.1
08:8001
'
VUE_APP_WS_API = 'ws://8.143.203.103:9090/webSocket'
VUE_APP_LOCAL_API = 'http://192.168.0.1
11:9090
'
VUE_APP_LOCAL_API2 = 'http://192.168.0.1
11:9090
'
VUE_APP_LOCAL_API = 'http://192.168.0.1
08:8001
'
VUE_APP_LOCAL_API2 = 'http://192.168.0.1
08:8001
'
# 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/views/DeviceManage/callPolice/index.vue
View file @
023de4a4
...
...
@@ -23,7 +23,7 @@
<!--
<el-button
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
@
click=
"toAdd"
>
新增
</el-button>
-->
</div>
<div
class=
"content"
>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width:auto"
:row-class-name=
"tableRowClassName"
>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width:auto"
:row-class-name=
"tableRowClassName"
height=
"64vh"
>
<el-table-column
prop=
"name"
label=
"设备编号"
align=
"center"
></el-table-column>
<el-table-column
prop=
"alarmTime"
label=
"报警时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"type"
label=
"报警类型"
align=
"center"
:formatter=
"baojingleixingChange"
></el-table-column>
...
...
@@ -120,10 +120,7 @@ export default {
}
},
mounted
()
{
var
that
=
this
;
this
.
$nextTick
(()
=>
{
this
.
loadData
();
})
this
.
loadData
();
},
methods
:
{
loadData
()
{
...
...
@@ -137,8 +134,8 @@ export default {
//获取报警信息
HttpReq
.
truckDispatching
.
callPoliceHistroyQuery
(
param
).
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
tableData
=
res
;
this
.
total
=
res
.
length
;
this
.
tableData
=
res
.
content
;
this
.
total
=
res
.
totalElements
;
})
})
...
...
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