diff --git a/src/assets/css/element-plus.scss b/src/assets/css/element-plus.scss index a50bd51..9aa0756 100644 --- a/src/assets/css/element-plus.scss +++ b/src/assets/css/element-plus.scss @@ -1,17 +1,5 @@ -::v-deep .el-button--default { - color: #fff; - border: 1px solid #cccccc; - background: #818080; -} -::v-deep .el-button { - color: #fff; - border: 1px solid #cccccc; - --el-button-bg-color: #818080; -} -::v-deep .el-button:focus, -::v-deep .el-button:hover { - background-color: #818080; -} + + :v-deep .el-card { border: 1px solid #146bbe; background: #00143d; @@ -36,15 +24,7 @@ box-shadow: 0px 0px 8px #0a6bfc; } } -.el-button.is-disabled, -.el-button.is-disabled:focus, -.el-button.is-disabled:hover { - color: var(--el-button-disabled-text-color); - cursor: not-allowed; - background-image: none; - background-color: #808596; - border-color: var(--el-button-disabled-border-color); -} + ::v-deep .el-input-group__append { background-color: #ffffff; border: 1px solid #e9e9e9; @@ -120,14 +100,6 @@ background: transparent; } -::v-deep .el-button--primary { - background: #1983e5; - border: 1px solid #1983e5; - &:hover { - background: #0084ff; - border: 1px solid #0084ff; - } -} ::v-deep .el-dialog__title { color: #000; } @@ -271,3 +243,7 @@ width: 100%; } +::v-deep .el-link{ + margin: 5px; +} + diff --git a/src/assets/css/pulic.scss b/src/assets/css/pulic.scss index 412a1cb..7858e79 100644 --- a/src/assets/css/pulic.scss +++ b/src/assets/css/pulic.scss @@ -1,3 +1,19 @@ +.h-100{ + height: 100%; +} +.w-100{ + width: 100%; +} +.flexcc{ +display: flex; +justify-content: center; +align-items: center; +} +.flexcb{ + display: flex; + justify-content: space-between; + align-items: center; + } .font10 { font-size: 10px; } diff --git a/src/assets/images/bg12.png b/src/assets/images/bg12.png new file mode 100644 index 0000000..cd70dab Binary files /dev/null and b/src/assets/images/bg12.png differ diff --git a/src/assets/images/bg13.png b/src/assets/images/bg13.png new file mode 100644 index 0000000..06eaf82 Binary files /dev/null and b/src/assets/images/bg13.png differ diff --git a/src/assets/images/bg16.png b/src/assets/images/bg16.png new file mode 100644 index 0000000..b055bbb Binary files /dev/null and b/src/assets/images/bg16.png differ diff --git a/src/assets/images/databi/blue.png b/src/assets/images/databi/blue.png new file mode 100644 index 0000000..58cb260 Binary files /dev/null and b/src/assets/images/databi/blue.png differ diff --git a/src/assets/images/databi/cantainer.png b/src/assets/images/databi/cantainer.png new file mode 100644 index 0000000..0acdabd Binary files /dev/null and b/src/assets/images/databi/cantainer.png differ diff --git a/src/assets/images/databi/content-box-2.png b/src/assets/images/databi/content-box-2.png new file mode 100644 index 0000000..e3654e5 Binary files /dev/null and b/src/assets/images/databi/content-box-2.png differ diff --git a/src/assets/images/databi/content-box-3.png b/src/assets/images/databi/content-box-3.png new file mode 100644 index 0000000..2e9b945 Binary files /dev/null and b/src/assets/images/databi/content-box-3.png differ diff --git a/src/assets/images/databi/content-box-4.png b/src/assets/images/databi/content-box-4.png new file mode 100644 index 0000000..36b3479 Binary files /dev/null and b/src/assets/images/databi/content-box-4.png differ diff --git a/src/assets/images/databi/content-box-5.png b/src/assets/images/databi/content-box-5.png new file mode 100644 index 0000000..04c8313 Binary files /dev/null and b/src/assets/images/databi/content-box-5.png differ diff --git a/src/assets/images/databi/content-box.png b/src/assets/images/databi/content-box.png new file mode 100644 index 0000000..31550c6 Binary files /dev/null and b/src/assets/images/databi/content-box.png differ diff --git a/src/assets/images/databi/content-item.png b/src/assets/images/databi/content-item.png new file mode 100644 index 0000000..cdca513 Binary files /dev/null and b/src/assets/images/databi/content-item.png differ diff --git a/src/assets/images/databi/head-1.png b/src/assets/images/databi/head-1.png new file mode 100644 index 0000000..cbc50d6 Binary files /dev/null and b/src/assets/images/databi/head-1.png differ diff --git a/src/assets/images/databi/head-2.png b/src/assets/images/databi/head-2.png new file mode 100644 index 0000000..41e9364 Binary files /dev/null and b/src/assets/images/databi/head-2.png differ diff --git a/src/assets/images/databi/line.png b/src/assets/images/databi/line.png new file mode 100644 index 0000000..6eaed41 Binary files /dev/null and b/src/assets/images/databi/line.png differ diff --git a/src/assets/images/databi/main-top-item.png b/src/assets/images/databi/main-top-item.png new file mode 100644 index 0000000..fde71e8 Binary files /dev/null and b/src/assets/images/databi/main-top-item.png differ diff --git a/src/assets/images/databi/right-1.png b/src/assets/images/databi/right-1.png new file mode 100644 index 0000000..1be47d1 Binary files /dev/null and b/src/assets/images/databi/right-1.png differ diff --git a/src/assets/images/databi/right-2.png b/src/assets/images/databi/right-2.png new file mode 100644 index 0000000..c3f3b5b Binary files /dev/null and b/src/assets/images/databi/right-2.png differ diff --git a/src/assets/images/databi/right-3.png b/src/assets/images/databi/right-3.png new file mode 100644 index 0000000..8825973 Binary files /dev/null and b/src/assets/images/databi/right-3.png differ diff --git a/src/assets/images/databi/tianqi.png b/src/assets/images/databi/tianqi.png new file mode 100644 index 0000000..186ef28 Binary files /dev/null and b/src/assets/images/databi/tianqi.png differ diff --git a/src/assets/images/databi/time (4).png b/src/assets/images/databi/time (4).png new file mode 100644 index 0000000..10e0235 Binary files /dev/null and b/src/assets/images/databi/time (4).png differ diff --git a/src/assets/images/databi/time (5).png b/src/assets/images/databi/time (5).png new file mode 100644 index 0000000..96f98a2 Binary files /dev/null and b/src/assets/images/databi/time (5).png differ diff --git a/src/assets/images/databi/time.png b/src/assets/images/databi/time.png new file mode 100644 index 0000000..c942773 Binary files /dev/null and b/src/assets/images/databi/time.png differ diff --git a/src/assets/images/databi/title-box-2.png b/src/assets/images/databi/title-box-2.png new file mode 100644 index 0000000..0c4b258 Binary files /dev/null and b/src/assets/images/databi/title-box-2.png differ diff --git a/src/assets/images/databi/title-box.png b/src/assets/images/databi/title-box.png new file mode 100644 index 0000000..e2acb67 Binary files /dev/null and b/src/assets/images/databi/title-box.png differ diff --git a/src/assets/images/databi/top-1.png b/src/assets/images/databi/top-1.png new file mode 100644 index 0000000..239ebde Binary files /dev/null and b/src/assets/images/databi/top-1.png differ diff --git a/src/assets/images/databi/top-2.png b/src/assets/images/databi/top-2.png new file mode 100644 index 0000000..f92716f Binary files /dev/null and b/src/assets/images/databi/top-2.png differ diff --git a/src/assets/images/databi/top-3.png b/src/assets/images/databi/top-3.png new file mode 100644 index 0000000..89a3bd3 Binary files /dev/null and b/src/assets/images/databi/top-3.png differ diff --git a/src/assets/images/databi/top-4.png b/src/assets/images/databi/top-4.png new file mode 100644 index 0000000..df26dd7 Binary files /dev/null and b/src/assets/images/databi/top-4.png differ diff --git a/src/assets/images/databi/wendu.png b/src/assets/images/databi/wendu.png new file mode 100644 index 0000000..b6dbdbe Binary files /dev/null and b/src/assets/images/databi/wendu.png differ diff --git a/src/assets/images/icon100.png b/src/assets/images/icon100.png new file mode 100644 index 0000000..e199665 Binary files /dev/null and b/src/assets/images/icon100.png differ diff --git a/src/assets/images/imgIcon1.png b/src/assets/images/imgIcon1.png new file mode 100644 index 0000000..083edaf Binary files /dev/null and b/src/assets/images/imgIcon1.png differ diff --git a/src/assets/images/sircleIn.png b/src/assets/images/sircleIn.png new file mode 100644 index 0000000..3b77968 Binary files /dev/null and b/src/assets/images/sircleIn.png differ diff --git a/src/assets/images/sircleOut.png b/src/assets/images/sircleOut.png new file mode 100644 index 0000000..11f78ef Binary files /dev/null and b/src/assets/images/sircleOut.png differ diff --git a/src/assets/images/statis.png b/src/assets/images/statis.png new file mode 100644 index 0000000..43f7d6a Binary files /dev/null and b/src/assets/images/statis.png differ diff --git a/src/components/MyComponents/Pie3D.vue b/src/components/MyComponents/Pie3D.vue new file mode 100644 index 0000000..721f2b8 --- /dev/null +++ b/src/components/MyComponents/Pie3D.vue @@ -0,0 +1,109 @@ + + + + + \ No newline at end of file diff --git a/src/components/statis.vue b/src/components/statis.vue new file mode 100644 index 0000000..df7d680 --- /dev/null +++ b/src/components/statis.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/src/layout/components/SideBar/SideBarMenu.vue b/src/layout/components/SideBar/SideBarMenu.vue index 607a417..ddd9c49 100644 --- a/src/layout/components/SideBar/SideBarMenu.vue +++ b/src/layout/components/SideBar/SideBarMenu.vue @@ -59,6 +59,7 @@ const activeMenu = computed(() => { background-image: linear-gradient(to right,#2356d4 0% ,#8efbde 100%); margin: 0 14px; border-radius: 4px; + padding-left: 26px !important; } ::v-deep .el-sub-menu .el-menu-item { height: 48px; diff --git a/src/permission.js b/src/permission.js index 4038294..68c58e2 100644 --- a/src/permission.js +++ b/src/permission.js @@ -6,50 +6,50 @@ import { removeAllItem } from "@/utils/storage"; // 白名单 -const whiteList = ['/login','/', './FourColorWarning','/oatuh_login','/editPassword', '/404', '/401'] +const whiteList = ['/login','/', '/FourColorWarning','/oatuh_login','/editPassword', '/404', '/401'] /** * 路由前置守卫 * to 去哪里 * from 来自哪 * next 往下走 */ -let onRun = true; -router.beforeEach(async (to, from, next) => { - // 存在 token ,进入主页 - // if (store.state.user.token) { - // 快捷访问 - if (store.getters.token) { - // 判断用户资料是否获取 - // 若不存在用户信息,则需要获取用户信息 - // 触发获取用户信息的 action,并获取用户当前权限 - await store.commit('permission/setRouteReady', true) - // 添加完动态路由之后,需要在进行一次主动跳转 - const afterMenuList = await getItem('menusPermission'); - // 处理用户权限,筛选出需要添加的权限 - if (store.state.permission.routes == 0) { - const filterRoutes = await store.dispatch('permission/filterRoutes', afterMenuList) - filterRoutes.forEach(item => { - router.addRoute(item) - }) - next({ - ...to, - replace: true - }) - } else { - next() - } - // 利用 addRoute 循环添加 - } else { - const isOatuh = getItem('isOatuh') - // 没有token的情况下,可以进入白名单 - if (whiteList.indexOf(to.path) > -1) { - next() - } else { - if (isOatuh) { - next('/oatuh_login') - } else { - next('/login') - } - } - } -}) +// let onRun = true; +// router.beforeEach(async (to, from, next) => { +// // 存在 token ,进入主页 +// // if (store.state.user.token) { +// // 快捷访问 +// if (store.getters.token) { +// // 判断用户资料是否获取 +// // 若不存在用户信息,则需要获取用户信息 +// // 触发获取用户信息的 action,并获取用户当前权限 +// await store.commit('permission/setRouteReady', true) +// // 添加完动态路由之后,需要在进行一次主动跳转 +// const afterMenuList = await getItem('menusPermission'); +// // 处理用户权限,筛选出需要添加的权限 +// if (store.state.permission.routes == 0) { +// const filterRoutes = await store.dispatch('permission/filterRoutes', afterMenuList) +// filterRoutes.forEach(item => { +// router.addRoute(item) +// }) +// next({ +// ...to, +// replace: true +// }) +// } else { +// next() +// } +// // 利用 addRoute 循环添加 +// } else { +// const isOatuh = getItem('isOatuh') +// // 没有token的情况下,可以进入白名单 +// if (whiteList.indexOf(to.path) > -1) { +// next() +// } else { +// if (isOatuh) { +// next('/oatuh_login') +// } else { +// next('/login') +// } +// } +// } +// }) diff --git a/src/router/index.js b/src/router/index.js index 275ecaa..ec1bcb0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -39,15 +39,6 @@ export const publicRoutes = [ component: layout, redirect: "/FourColorWarning", children: [ - { - path: "/", - name:'home', - component: () => import("@/views/home/index"), //系统登录 - meta: { - title: "首页", - icon: "article" - } - }, { path: "/FourColorWarning", name: "FourColorWarning", @@ -71,111 +62,53 @@ export const publicRoutes = [ icon: "article" } }, + { + path: "/BehaviorLabels", + name: "BehaviorLabels", + component: () => import("@/views/backOfficeSystem/fourColorManage/BehaviorLabels/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: "/LockSmith", - name: "LockSmith", - meta: { title: "开锁行业", icon: "article" }, + path: "/IntelligentControl", + name: "IntelligentControl", + meta: { title: "智能布控", icon: "article" }, children: [ { - path: "/location", - name: "location", - component: () => import("@/views/backOfficeSystem/LockSmith/LocationGL/index"), + path: "/warningControl", + name: "warningControl", + component: () => import("@/views/backOfficeSystem/IntelligentControl/warningControl/index"), meta: { - title: "开锁业场所管理", + title: "预警布控", icon: "article" } }, { - path: "/business", - name: "business", - component: () => import("@/views/backOfficeSystem/LockSmith/BusinessGL/index"), + path: "/myControl", + name: "myControl", + component: () => import("@/views/backOfficeSystem/IntelligentControl/myControl/index"), meta: { - title: "开锁业务信息管理", + title: "我的布控", icon: "article" } - } + }, + { + path: "/ControlApproval", + name: "ControlApproval", + component: () => import("@/views/backOfficeSystem/IntelligentControl/ControlApproval/index"), + meta: { + title: "布控审批", + icon: "article" + } + }, ] }, + // ))))))))))))))))))))) { path: "/Pawnbroking", name: "Pawnbroking", diff --git a/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue b/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue deleted file mode 100644 index cfa835f..0000000 --- a/src/views/backOfficeManage/ControlManage/myControl/components/AddMx.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - - - diff --git a/src/views/backOfficeManage/ControlManage/myControl/components/drawer.vue b/src/views/backOfficeManage/ControlManage/myControl/components/drawer.vue deleted file mode 100644 index 2797277..0000000 --- a/src/views/backOfficeManage/ControlManage/myControl/components/drawer.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/backOfficeManage/ControlManage/myControl/components/editAddForm.vue b/src/views/backOfficeManage/ControlManage/myControl/components/editAddForm.vue deleted file mode 100644 index 4295ab1..0000000 --- a/src/views/backOfficeManage/ControlManage/myControl/components/editAddForm.vue +++ /dev/null @@ -1,367 +0,0 @@ - - - - - diff --git a/src/views/backOfficeManage/ControlManage/myControl/index.vue b/src/views/backOfficeManage/ControlManage/myControl/index.vue deleted file mode 100644 index 31ce0ed..0000000 --- a/src/views/backOfficeManage/ControlManage/myControl/index.vue +++ /dev/null @@ -1,295 +0,0 @@ - - - - - diff --git a/src/views/backOfficeManage/ControlManage/yjControl/index.vue b/src/views/backOfficeManage/ControlManage/yjControl/index.vue deleted file mode 100644 index e69de29..0000000 diff --git a/src/views/backOfficeManage/fourColorManage/IdentityManage/components/editAddForm.vue b/src/views/backOfficeManage/fourColorManage/IdentityManage/components/editAddForm.vue deleted file mode 100644 index f88735b..0000000 --- a/src/views/backOfficeManage/fourColorManage/IdentityManage/components/editAddForm.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - - - diff --git a/src/views/backOfficeManage/fourColorManage/IdentityManage/index.vue b/src/views/backOfficeManage/fourColorManage/IdentityManage/index.vue deleted file mode 100644 index c9b13e1..0000000 --- a/src/views/backOfficeManage/fourColorManage/IdentityManage/index.vue +++ /dev/null @@ -1,277 +0,0 @@ - - - - - diff --git a/src/views/backOfficeManage/fourColorManage/tagManage/components/editAddForm.vue b/src/views/backOfficeManage/fourColorManage/tagManage/components/editAddForm.vue deleted file mode 100644 index 3d11981..0000000 --- a/src/views/backOfficeManage/fourColorManage/tagManage/components/editAddForm.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - diff --git a/src/views/backOfficeManage/fourColorManage/tagManage/index.vue b/src/views/backOfficeManage/fourColorManage/tagManage/index.vue deleted file mode 100644 index bda909c..0000000 --- a/src/views/backOfficeManage/fourColorManage/tagManage/index.vue +++ /dev/null @@ -1,284 +0,0 @@ - - - - - diff --git a/src/views/backOfficeSystem/LockSmith/LocationGL/components/detailForm.vue b/src/views/backOfficeSystem/IntelligentControl/ControlApproval/components/detailForm.vue similarity index 100% rename from src/views/backOfficeSystem/LockSmith/LocationGL/components/detailForm.vue rename to src/views/backOfficeSystem/IntelligentControl/ControlApproval/components/detailForm.vue diff --git a/src/views/backOfficeSystem/LockSmith/LocationGL/index.vue b/src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue similarity index 98% rename from src/views/backOfficeSystem/LockSmith/LocationGL/index.vue rename to src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue index a84688b..cf9fe1a 100644 --- a/src/views/backOfficeSystem/LockSmith/LocationGL/index.vue +++ b/src/views/backOfficeSystem/IntelligentControl/ControlApproval/index.vue @@ -1,7 +1,7 @@