diff --git a/src/api/system/car.js b/src/api/system/car.js
new file mode 100644
index 0000000..7175929
--- /dev/null
+++ b/src/api/system/car.js
@@ -0,0 +1,64 @@
+import request from '@/utils/request'
+
+// 查询菜单列表
+export function list(data) {
+ return request({
+ url: '/system/car/list',
+ method: 'get',
+ data
+ })
+}
+
+export function selectFence(data) {
+ return request({
+ url: '/system/car/selectFence',
+ method: 'get',
+ data
+ })
+}
+
+export function exportA(data){
+ return request({
+ url: '/system/car/exportA',
+ method: 'post',
+ data,
+ responseType: 'blob' // 添加 responseType: 'blob',以处理文件下载
+ })
+}
+
+
+export function add(data) {
+ return request({
+ url: '/system/car/add',
+ method: 'post',
+ data
+ })
+}
+
+export function update(data) {
+ return request({
+ url: '/system/car/update',
+ method: 'post',
+ data
+ })
+}
+
+export function del(carIds) {
+ return request({
+ url: '/system/car/del/'+carIds,
+ method: 'post'
+ });
+}
+
+
+
+
+
+export function findById(carId) {
+ return request({
+ url: '/system/car/findById/' + carId,
+ method: 'get'
+ })
+}
+
+
diff --git a/src/api/test/goods.js b/src/api/test/goods.js
deleted file mode 100644
index f79159b..0000000
--- a/src/api/test/goods.js
+++ /dev/null
@@ -1,44 +0,0 @@
-import request from '@/utils/request'
-
-// 查询商品列表
-export function listGoods(query) {
- return request({
- url: '/test/goods/list',
- method: 'get',
- params: query
- })
-}
-
-// 查询商品详细
-export function getGoods(deptId) {
- return request({
- url: '/test/goods/' + deptId,
- method: 'get'
- })
-}
-
-// 新增商品
-export function addGoods(data) {
- return request({
- url: '/test/goods/save',
- method: 'post',
- data
- })
-}
-
-// 修改商品
-export function updateGoods(data) {
- return request({
- url: '/test/goods/edit',
- method: 'put',
- data
- })
-}
-
-// 删除商品
-export function delGoods(deptId) {
- return request({
- url: '/test/goods/' + deptId,
- method: 'delete'
- })
-}
diff --git a/src/router/index.js b/src/router/index.js
index 71907b6..bb897e5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -134,6 +134,7 @@ export const dynamicRoutes = [
}
]
},
+
{
path: '/monitor/job-log',
component: Layout,
diff --git a/src/views/system/car/index.vue b/src/views/system/car/index.vue
new file mode 100644
index 0000000..fd4e6f2
--- /dev/null
+++ b/src/views/system/car/index.vue
@@ -0,0 +1,422 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ fence.fenceName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index fdbdd3e..6ce4d86 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -1,16 +1,16 @@
-
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
- 修改
- 新增
- 删除
+ 修改
+ 新增
+ 删除
-
-
+
-
-
+
+
-
-
+
+
@@ -111,7 +137,7 @@
-
+
{
@@ -205,7 +231,7 @@ export default {
this.loading = false;
});
},
- /** 转换企业数据结构 */
+ /** 转换部门数据结构 */
normalizer(node) {
if (node.children && !node.children.length) {
delete node.children;
@@ -270,7 +296,7 @@ export default {
getDept(row.deptId).then(response => {
this.form = response.data;
this.open = true;
- this.title = "修改企业";
+ this.title = "修改部门";
});
listDeptExcludeChild(row.deptId).then(response => {
this.deptOptions = this.handleTree(response.data, "deptId");
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index ceb9164..99b774b 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -2,35 +2,31 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/src/views/test/goods/index.vue b/src/views/test/goods/index.vue
deleted file mode 100644
index 1ff4da6..0000000
--- a/src/views/test/goods/index.vue
+++ /dev/null
@@ -1,296 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 将文件拖到此处,或点击上传
- 只能上传jpg/png文件,且不超过500kb
-
-
-
-
-
-
-
-
-