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 @@