diff --git a/src/api/table.js b/src/api/table.js
new file mode 100644
index 0000000..2ef3668
--- /dev/null
+++ b/src/api/table.js
@@ -0,0 +1,45 @@
+import request from '@/utils/request'
+export function listCarType() {
+ return request({
+ url: '/history/car/listCarType',
+ method: 'get'
+ })
+}
+
+export function getCarList(form) {
+ return request({
+ url: '/history/car/listCar',
+ method: 'post',
+ data:form
+ })
+}
+
+export function delCar(carVin) {
+ return request({
+ url: '/history/car/deleteCar?carVin='+carVin,
+ method: 'post'
+ })
+}
+
+export function updateCar(carForm) {
+ return request({
+ url: '/history/car/updateCar',
+ method: 'post',
+ data:carForm
+ })
+}
+
+export function listFence() {
+ return request({
+ url: '/history/car/listFence',
+ method: 'get'
+ })
+}
+
+export function insertCar(carInsert) {
+ return request({
+ url: '/history/car/insertCar',
+ method: 'post',
+ data:carInsert
+ })
+}
diff --git a/src/utils/request.js b/src/utils/request.js
index 26330b3..0700502 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
- timeout: 10000
+ timeout: 50000
})
// request拦截器
diff --git a/src/views/electronicFence/MapContainer.vue b/src/views/electronicFence/MapContainer.vue
index dab0329..19ece64 100644
--- a/src/views/electronicFence/MapContainer.vue
+++ b/src/views/electronicFence/MapContainer.vue
@@ -31,7 +31,7 @@ import AMapLoader from '@amap/amap-jsapi-loader';
methods: {
initAMap() {
AMapLoader.load({
- key: "164dc573bc4daf5bf1f1ebcebdae0717", // 申请好的Web端开发者Key,首次调用 load 时必填
+ key: "0b5f26b194361cbc9571101bc2856962", // 申请好的Web端开发者Key,首次调用 load 时必填
version: "2.0", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
plugins: ['AMap.MouseTool'], // 需要使用的的插件列表,如比例尺'AMap.Scale'等
})
diff --git a/src/views/vehicle/car.vue b/src/views/vehicle/car.vue
new file mode 100644
index 0000000..da67a92
--- /dev/null
+++ b/src/views/vehicle/car.vue
@@ -0,0 +1,886 @@
+
+
+
+
+
+
+
+
+ 车辆VIN: |
+
+
+ |
+
+ 车辆名称: |
+
+
+ |
+
+ 车辆类型: |
+
+
+
+
+ |
+
+ 电子围栏: |
+
+
+ |
+
+ 车辆状态: |
+
+
+ 在线
+ 离线
+
+ |
+
+
+ 车辆品牌: |
+ |
+
+ 搜索
+ |
+
+ 重置
+ |
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row.carId}}
+
+
+
+
+ {{scope.row.carVin}}
+
+
+
+
+ {{scope.row.carName}}
+
+
+
+
+ {{scope.row.carBrand}}
+
+
+
+
+ {{scope.row.carTypeName}}
+
+
+
+
+ {{scope.row.fenceName}}
+
+
+
+
+ 离线
+ 在线
+
+
+
+
+ 修改
+ 删除
+ 实时轨迹
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
添加车辆
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/vehicle/record.vue b/src/views/vehicle/record.vue
new file mode 100644
index 0000000..762e8b7
--- /dev/null
+++ b/src/views/vehicle/record.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+