Commit b30b68f5 authored by wangxiaoming's avatar wangxiaoming

修改注释

parent 80a16394
# inspection-front # traffic-front 路端的前台页面
## 说明 ## 说明
公路平台前端,采用vue-cli + element + baidumap开发 公路平台前端,采用vue-cli + element + baidumap开发
## 安装插件 ## 安装插件
npm install 或 cnpm install npm install 或 cnpm install
## 运行 ## 运行
npm run serve npm run serve
## 打包
npm run build
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,
};
...@@ -5,3 +5,5 @@ const imgAddress = '/traffic/';// 测试环境 ...@@ -5,3 +5,5 @@ const imgAddress = '/traffic/';// 测试环境
export { export {
address, photoAddress, imgAddress, videoAddress, address, photoAddress, imgAddress, videoAddress,
}; };
// 打包时候用这个配置
...@@ -5,3 +5,4 @@ const title = '公路平台'; ...@@ -5,3 +5,4 @@ const title = '公路平台';
export { export {
address, photoAddress, title, videoAddress, address, photoAddress, title, videoAddress,
}; };
// 这个是 本地配置 打包时把 config-prod.js的内容复制过来
<!--主页-->
<template> <template>
<div class="home"> <div class="home">
<el-container> <el-container>
......
<!--实时交通检测-->
<template> <template>
<div class="traffic" > <div class="traffic" >
<div class="monitor_header"> <div class="monitor_header">
......
<!--注册 目前还没用到 需要的话要-->
<template> <template>
<div class="registered"> <div class="registered">
<div class="wrap"> <div class="wrap">
......
<!--交通事件历史-->
<template> <template>
<div class="trafficHistory"> <div class="trafficHistory">
<el-dialog :visible.sync="isShowDetail" width="400px" top='50px' :modal-append-to-body='false' title="事件详情" height="380px" > <el-dialog :visible.sync="isShowDetail" width="400px" top='50px' :modal-append-to-body='false' title="事件详情" height="380px" >
...@@ -465,6 +466,7 @@ export default { ...@@ -465,6 +466,7 @@ export default {
}); });
}, },
getDataByType() { getDataByType() {
const that = this; const that = this;
......
<!--实时交通提醒 (目前是嘉定的)-->
<template> <template>
<div class="trafficRemind"> <div class="trafficRemind">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-tabs v-model="activeName" type="card" @tab-click="handleClick"> <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="待审核" name="first"> <el-tab-pane label="待审核" name="first">
<div class="box"> <div class="box">
<!-- 停车视频表 --> <!-- 设备表 -->
<div class="detail-table"> <div class="detail-table">
<el-table <el-table
:data="tableData" :data="tableData"
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</el-form> </el-form>
</el-col> </el-col>
</el-row> </el-row>
<!-- 停车视频表 --> <!-- 设备表 -->
<div class="detail-table"> <div class="detail-table">
<el-table <el-table
:data="tableData" :data="tableData"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment