Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
b30b68f5
Commit
b30b68f5
authored
Dec 23, 2020
by
wangxiaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改注释
parent
80a16394
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
10 deletions
+15
-10
README.md
README.md
+3
-1
config-prod-81.js
src/config-prod-81.js
+0
-7
config-prod.js
src/config-prod.js
+2
-0
config.js
src/config.js
+1
-0
Home.vue
src/views/Home.vue
+1
-0
Overview.vue
src/views/Overview.vue
+1
-0
Registered.vue
src/views/Registered.vue
+2
-0
TrafficHistory.vue
src/views/TrafficHistory.vue
+2
-0
TrafficRemind.vue
src/views/TrafficRemind.vue
+1
-0
EquipmentCheck.vue
src/views/equipment/EquipmentCheck.vue
+1
-1
EquipmentList.vue
src/views/equipment/EquipmentList.vue
+1
-1
No files found.
README.md
View file @
b30b68f5
#
inspection-front
#
traffic-front 路端的前台页面
## 说明
公路平台前端,采用vue-cli + element + baidumap开发
## 安装插件
npm install 或 cnpm install
## 运行
npm run serve
## 打包
npm run build
src/config-prod-81.js
deleted
100644 → 0
View file @
80a16394
const
address
=
'/traffic/'
;
const
videoAddress
=
'http://152.136.233.116:8000'
;
const
photoAddress
=
'http://152.136.233.116:8000'
;
const
imgAddress
=
'/traffic/'
;
// 测试环境
export
{
address
,
photoAddress
,
imgAddress
,
videoAddress
,
};
src/config-prod.js
View file @
b30b68f5
...
...
@@ -5,3 +5,5 @@ const imgAddress = '/traffic/';// 测试环境
export
{
address
,
photoAddress
,
imgAddress
,
videoAddress
,
};
// 打包时候用这个配置
src/config.js
View file @
b30b68f5
...
...
@@ -5,3 +5,4 @@ const title = '公路平台';
export
{
address
,
photoAddress
,
title
,
videoAddress
,
};
// 这个是 本地配置 打包时把 config-prod.js的内容复制过来
src/views/Home.vue
View file @
b30b68f5
<!--主页-->
<
template
>
<div
class=
"home"
>
<el-container>
...
...
src/views/Overview.vue
View file @
b30b68f5
<!--实时交通检测-->
<
template
>
<div
class=
"traffic"
>
<div
class=
"monitor_header"
>
...
...
src/views/Registered.vue
View file @
b30b68f5
<!--注册 目前还没用到 需要的话要-->
<
template
>
<div
class=
"registered"
>
<div
class=
"wrap"
>
...
...
src/views/TrafficHistory.vue
View file @
b30b68f5
<!--交通事件历史-->
<
template
>
<div
class=
"trafficHistory"
>
<el-dialog
:visible
.
sync=
"isShowDetail"
width=
"400px"
top=
'50px'
:modal-append-to-body=
'false'
title=
"事件详情"
height=
"380px"
>
...
...
@@ -465,6 +466,7 @@ export default {
});
},
getDataByType
()
{
const
that
=
this
;
...
...
src/views/TrafficRemind.vue
View file @
b30b68f5
<!--实时交通提醒 (目前是嘉定的)-->
<
template
>
<div
class=
"trafficRemind"
>
...
...
src/views/equipment/EquipmentCheck.vue
View file @
b30b68f5
...
...
@@ -3,7 +3,7 @@
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"待审核"
name=
"first"
>
<div
class=
"box"
>
<!--
停车视频
表 -->
<!--
设备
表 -->
<div
class=
"detail-table"
>
<el-table
:data=
"tableData"
...
...
src/views/equipment/EquipmentList.vue
View file @
b30b68f5
...
...
@@ -99,7 +99,7 @@
</el-form>
</el-col>
</el-row>
<!--
停车视频
表 -->
<!--
设备
表 -->
<div
class=
"detail-table"
>
<el-table
:data=
"tableData"
...
...
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