From 49cfd7e64fbf00ea50d022e34434c761885598d0 Mon Sep 17 00:00:00 2001
From: zy_zr <985512818@qq.com>
Date: Mon, 14 Apr 2025 11:32:57 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/css/layout.scss | 8 +
src/components/MyComponents/index.js | 2 -
.../FormMessage}/index.vue | 0
src/permission.js | 2 +-
src/router/index.js | 172 +++++------
src/views/SentrySystem/index.vue | 13 -
.../myControl/components/AddMx.vue | 16 +-
.../myControl/components/drawer.vue | 9 +-
.../myControl/components/editAddForm.vue | 18 +-
.../IdentityManage/components/editAddForm.vue | 10 +-
.../tagManage/components/editAddForm.vue | 9 +-
.../SecurityInformation/components/baxx.vue | 206 -------------
.../components/editAddForm.vue | 151 ----------
.../components/hospital.vue | 59 ----
.../SecurityInformation/components/mbkf.vue | 60 ----
.../SecurityInformation/components/school.vue | 52 ----
.../SecurityInformation/components/ylcs.vue | 52 ----
.../IdentityManage/components/editAddForm.vue | 189 ++++++++++++
.../IdentityManage}/index.vue | 23 +-
.../tagManage/components/editAddForm.vue | 195 ++++++++++++
.../fourColorManage/tagManage/index.vue | 284 ++++++++++++++++++
21 files changed, 796 insertions(+), 734 deletions(-)
rename src/components/{MyComponents/FormItem => aboutTable/FormMessage}/index.vue (100%)
delete mode 100644 src/views/SentrySystem/index.vue
delete mode 100644 src/views/backOfficeSystem/SecurityInformation/components/baxx.vue
delete mode 100644 src/views/backOfficeSystem/SecurityInformation/components/editAddForm.vue
delete mode 100644 src/views/backOfficeSystem/SecurityInformation/components/hospital.vue
delete mode 100644 src/views/backOfficeSystem/SecurityInformation/components/mbkf.vue
delete mode 100644 src/views/backOfficeSystem/SecurityInformation/components/school.vue
delete mode 100644 src/views/backOfficeSystem/SecurityInformation/components/ylcs.vue
create mode 100644 src/views/backOfficeSystem/fourColorManage/IdentityManage/components/editAddForm.vue
rename src/views/backOfficeSystem/{SecurityInformation => fourColorManage/IdentityManage}/index.vue (89%)
create mode 100644 src/views/backOfficeSystem/fourColorManage/tagManage/components/editAddForm.vue
create mode 100644 src/views/backOfficeSystem/fourColorManage/tagManage/index.vue
diff --git a/src/assets/css/layout.scss b/src/assets/css/layout.scss
index 2e59c7a..6d5fc9e 100644
--- a/src/assets/css/layout.scss
+++ b/src/assets/css/layout.scss
@@ -125,6 +125,14 @@ header {
}
}
+ .form_cnt{
+ padding-top: 10px;
+ box-sizing: border-box;
+ height: calc(100vh - 223px);
+ overflow: hidden;
+ overflow-y: auto;
+ }
+
&::v-deep .el-form--inline {
display: flex;
flex-wrap: wrap;
diff --git a/src/components/MyComponents/index.js b/src/components/MyComponents/index.js
index 068b964..1521f55 100644
--- a/src/components/MyComponents/index.js
+++ b/src/components/MyComponents/index.js
@@ -5,7 +5,6 @@ import Phone from "./Phone/index.vue";
import IdentityCard from "./IdentityCard/index.vue";
import Email from "./Email/index.vue";
import Other from "./Other/index.vue";
-import FormItem from "./FormItem/index.vue";
import Sex from "./Sex/index.vue";
import Select from "./Select/index.vue";
import CheckBox from "./CheckBox/index.vue";
@@ -30,7 +29,6 @@ export {
Select,
CheckBox,
Upload,
- FormItem,
FrameWork2,
Department,
DepartmentTree,
diff --git a/src/components/MyComponents/FormItem/index.vue b/src/components/aboutTable/FormMessage/index.vue
similarity index 100%
rename from src/components/MyComponents/FormItem/index.vue
rename to src/components/aboutTable/FormMessage/index.vue
diff --git a/src/permission.js b/src/permission.js
index 745cf1e..4038294 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -6,7 +6,7 @@ import {
removeAllItem
} from "@/utils/storage";
// 白名单
-const whiteList = ['/login','/', '/oatuh_login','/editPassword', '/404', '/401']
+const whiteList = ['/login','/', './FourColorWarning','/oatuh_login','/editPassword', '/404', '/401']
/**
* 路由前置守卫
* to 去哪里
diff --git a/src/router/index.js b/src/router/index.js
index a3cfdf2..275ecaa 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -37,26 +37,26 @@ export const publicRoutes = [
{
path: "/editPassword",// 注意:带有路径“/”的记录中的组件“默认”是一个不返回 Promise 的函数
component: layout,
- redirect: "/securityInformation",
+ redirect: "/FourColorWarning",
children: [
- {
- path: "/securityInformation",
- name: "securityInformation",
- component: () => import("@/views/backOfficeSystem/SecurityInformation/index"),
+ {
+ path: "/",
+ name:'home',
+ component: () => import("@/views/home/index"), //系统登录
meta: {
- title: "单位保安信息",
+ title: "首页",
icon: "article"
}
},
{
- path: "/EntertainmentManagemnet",
- name: "EntertainmentManagemnet",
+ path: "/FourColorWarning",
+ name: "FourColorWarning",
meta: { title: "四色预警管理", icon: "article" },
children: [
{
path: "/IdentityManage",
name: "IdentityManage",
- component: () => import("@/views/backOfficeManage/fourColorManage/IdentityManage/index"),
+ component: () => import("@/views/backOfficeSystem/fourColorManage/IdentityManage/index"),
meta: {
title: "身份标签管理",
icon: "article"
@@ -65,7 +65,7 @@ export const publicRoutes = [
{
path: "/tagManage",
name: "tagManage",
- component: () => import("@/views/backOfficeManage/fourColorManage/tagManage/index"),
+ component: () => import("@/views/backOfficeSystem/fourColorManage/tagManage/index"),
meta: {
title: "标签组合管理",
icon: "article"
@@ -73,84 +73,84 @@ export const publicRoutes = [
},
],
},
- {
- path: "/Mechanics",
- name: "Mechanics",
- meta: { title: "智能布控", icon: "article" },
- children: [
- {
- path: "/yjControl",
- name: "yjControl",
- component: () => import("@/views/backOfficeManage/ControlManage/yjControl/index"),
- meta: {
- title: "预警布控",
- icon: "article"
- }
- },
- {
- path: "/myControl",
- name: "myControl",
- component: () => import("@/views/backOfficeManage/ControlManage/myControl/index"),
- meta: {
- title: "我的布控",
- icon: "article"
- }
- },
- {
- path: "/VehicleAccessories",
- name: "VehicleAccessories",
- component: () => import("@/views/backOfficeSystem/Mechanics/VehicleAccessories/index"),
- meta: {
- title: "车辆配件业务登记信息",
- icon: "article"
- }
- },
- {
- path: "/VehicleRepairs",
- name: "VehicleRepairs",
- component: () => import("@/views/backOfficeSystem/Mechanics/VehicleRepairs/index"),
- meta: {
- title: "机动车修理业务信息",
- icon: "article"
- }
- },
+ // {
+ // path: "/Mechanics",
+ // name: "Mechanics",
+ // meta: { title: "智能布控", icon: "article" },
+ // children: [
+ // {
+ // path: "/yjControl",
+ // name: "yjControl",
+ // component: () => import("@/views/backOfficeManage/ControlManage/yjControl/index"),
+ // meta: {
+ // title: "预警布控",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/myControl",
+ // name: "myControl",
+ // component: () => import("@/views/backOfficeManage/ControlManage/myControl/index"),
+ // meta: {
+ // title: "我的布控",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/VehicleAccessories",
+ // name: "VehicleAccessories",
+ // component: () => import("@/views/backOfficeSystem/Mechanics/VehicleAccessories/index"),
+ // meta: {
+ // title: "车辆配件业务登记信息",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/VehicleRepairs",
+ // name: "VehicleRepairs",
+ // component: () => import("@/views/backOfficeSystem/Mechanics/VehicleRepairs/index"),
+ // meta: {
+ // title: "机动车修理业务信息",
+ // icon: "article"
+ // }
+ // },
- {
- path: "/CarIntersectionInfo",
- name: "CarIntersectionInfo",
- component: () => import("@/views/backOfficeSystem/Mechanics/CarIntersectionInfo/index"),
- meta: {
- title: "承接车辆交接信息",
- icon: "article"
- }
- },
- {
- path: "/CarBasicInfo",
- name: "CarBasicInfo",
- component: () => import("@/views/backOfficeSystem/Mechanics/CarBasicInfo/index"),
- meta: {
- title: "承接车辆基本信息",
- icon: "article"
- }
- },
- {
- path: "/Practitioners",
- name: "Practitioners",
- component: () => import("@/views/backOfficeSystem/EntertainmentManagemnet/Practitioners/index"),
- meta: {
- title: "从业人员",
- icon: "article"
- }
- },
- {
- path: "/MachineRepair",
- name: "MachineRepair",
- component: () => import("@/views/backOfficeSystem/Mechanics/MachineRepair/index"),
- meta: { title: "机修场所信息管理",icon: "article" }
- },
+ // {
+ // path: "/CarIntersectionInfo",
+ // name: "CarIntersectionInfo",
+ // component: () => import("@/views/backOfficeSystem/Mechanics/CarIntersectionInfo/index"),
+ // meta: {
+ // title: "承接车辆交接信息",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/CarBasicInfo",
+ // name: "CarBasicInfo",
+ // component: () => import("@/views/backOfficeSystem/Mechanics/CarBasicInfo/index"),
+ // meta: {
+ // title: "承接车辆基本信息",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/Practitioners",
+ // name: "Practitioners",
+ // component: () => import("@/views/backOfficeSystem/EntertainmentManagemnet/Practitioners/index"),
+ // meta: {
+ // title: "从业人员",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/MachineRepair",
+ // name: "MachineRepair",
+ // component: () => import("@/views/backOfficeSystem/Mechanics/MachineRepair/index"),
+ // meta: { title: "机修场所信息管理",icon: "article" }
+ // },
- ],
- },
+ // ],
+ // },
{
path: "/LockSmith",
name: "LockSmith",
diff --git a/src/views/SentrySystem/index.vue b/src/views/SentrySystem/index.vue
deleted file mode 100644
index ea115f6..0000000
--- a/src/views/SentrySystem/index.vue
+++ /dev/null
@@ -1,13 +0,0 @@
-
- 灵芝岗哨
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue b/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue
index 7edcfde..cfa835f 100644
--- a/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue
+++ b/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue
@@ -1,17 +1,6 @@
-
-
-
+
+