Lvtianfang
吕天方 4 months ago
parent 58adcdcfb7
commit 14d7411a11

@ -2,9 +2,9 @@
# @Descripttion:
# @version:
# @Author: JC9527
# @Date: 2024-01-25 11:41:56
# @Date: 2024-03-12 17:22:56
# @LastEditors: JC9527
# @LastEditTime: 2024-03-12 16:51:26
# @LastEditTime: 2024-09-04 09:18:37
###
# 页面标题
VUE_APP_TITLE = 数字高新驾驶舱-算法预警服务平台
@ -14,7 +14,7 @@ ENV = 'development'
# 若依管理系统/开发环境
# VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = 'http://192.168.0.104:9102/api'
VUE_APP_BASE_API = 'http://192.168.0.105:9102/api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="14" height="14" viewBox="0 0 14 14"><defs><clipPath id="master_svg0_2_29"><rect x="0" y="0" width="14" height="14" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_2_29)"><g><path d="M7.07259,2.45188C7.07259,2.71403,6.84763,2.9265499999999998,6.57013,2.9265499999999998C6.29389,2.9265499999999998,6.06974,2.71415,6.06768,2.45252L6.06768,1.474676C6.06768,1.21252,6.29264,1,6.57013,1C6.84763,1,7.07259,1.21252,7.07259,1.474676L7.07259,2.45188ZM3.37514,4.2068200000000004C3.16381,4.3776399999999995,2.84538,4.35199,2.66773,4.14983L2.22422,3.53852C2.06521,3.33701,2.10003,3.05332,2.30364,2.89154C2.50725,2.7297599999999997,2.80906,2.74596,2.99196,2.9285L3.43683,3.53852C3.61495,3.73922,3.58734,4.03828,3.37514,4.2068200000000004ZM10.2813,4.16278C10.1863,4.2595,10.0529,4.3144100000000005,9.91319,4.31432C9.71385,4.31324,9.53398,4.20108,9.45457,4.02833C9.37517,3.85559,9.41121,3.65485,9.54646,3.5165L10.051,2.95764C10.2397,2.7658300000000002,10.5572,2.7549,10.7602,2.93323C10.9632,3.11156,10.9746,3.41159,10.7858,3.60327L10.2813,4.16278ZM6.24796,3.76905L6.52969,3.76905C8.57837,3.7712,10.2386,5.33963,10.2408,7.27506L10.2408,11.1359L2.79797,11.1359L2.79797,7.02833C2.80061,5.22932,4.34368,3.77155,6.24796,3.76905ZM3.8015,10.18787L9.23731,10.18787L9.23731,7.27506C9.23505,5.86298,8.02371,4.7189,6.529,4.71711L6.24796,4.71711C4.89826,4.71711,3.8015,5.75324,3.8015,7.02833L3.8015,10.18787ZM1.93987,6.4922C1.89805,6.7213,1.68611,6.88768,1.44004,6.88457C1.38452,6.88457,1.32762,6.87679,1.27347,6.85737L0.333686,6.33412C0.0728458,6.24668,-0.0635701,5.97603,0.0289921,5.72961C0.121554,5.48319,0.408043,5.35431,0.668883,5.44176L1.60798,5.96435C1.84095,6.03927,1.98168,6.26309,1.93987,6.4922ZM12.3775,5.44305C12.6467,5.37954,12.9193,5.53488,12.9855,5.78951C13.0512,6.04341,12.8874,6.30016,12.6188,6.36326L11.6324,6.73821C11.3635,6.80136,11.0914,6.64654,11.0247,6.39248C10.958,6.13843,11.1221,5.88145,11.3911,5.81865L12.3775,5.44305ZM6.70928,7.1164L7.38722,7.54575C7.47188,7.59882,7.53683,7.67558,7.57298,7.76528C7.68266,7.95567,7.64153,8.19722,7.4633,8.346160000000001L6.24316,9.36027C6.14856,9.43992,6.02998,9.47878,5.91208,9.47878C5.70384,9.47762,5.51787,9.3554,5.44432,9.17135C5.37076,8.987300000000001,5.42483,8.77946,5.58031,8.648579999999999L6.33433,8.020430000000001L5.65639,7.59108C5.43274,7.44891,5.36822,7.16506,5.51039,6.94868C5.53307,6.90755,5.56142,6.86944,5.5947,6.83535L6.6613,5.80894C6.8551,5.62173,7.17287,5.61847,7.37094,5.80165C7.569,5.98483,7.5723,6.28504,7.37831,6.47206L6.70928,7.1164ZM1.50105,12.051L11.5988,12.051C11.8834,12.041,12.1198,12.2563,12.1198,12.5253C12.1198,12.7944,11.8834,13.0096,11.5988,12.9997L1.50105,12.9997C1.23096,12.9902,1.01716,12.7806,1.01716,12.5253C1.01716,12.27,1.23096,12.0604,1.50105,12.051Z" fill-rule="evenodd" fill="#FFFFFF" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="14" height="13.999999046325684" viewBox="0 0 14 13.999999046325684"><defs><clipPath id="master_svg0_2_25"><rect x="0" y="13.999999046325684" width="14" height="13.999999046325684" rx="0"/></clipPath></defs><g transform="matrix(1,0,0,-1,0,27.999998092651367)" clip-path="url(#master_svg0_2_25)"><g><path d="M12.6254,14.874999046325684C12.901,14.874999046325684,13.125,15.098999046325684,13.125,15.374624046325684L13.125,26.626299046325684C13.125,26.902199046325684,12.9013,27.125899046325685,12.6254,27.125899046325685L1.373751,27.125899046325685C1.097815,27.125399046325683,0.874517012,26.901299046325683,0.875000667572,26.625399046325683L0.875000667572,15.373749046325683C0.875000667572,15.098999046325684,1.099001,14.874999046325684,1.3746260000000001,14.874999046325684L12.6263,14.874999046325684L12.6254,14.874999046325684ZM12.25,15.749999046325684L1.7500010000000001,15.749999046325684L1.7500010000000001,26.249999046325684L12.25,26.249999046325684L12.25,15.749999046325684ZM10.0625,23.624999046325684C10.30413,23.624999046325684,10.5,23.820879046325686,10.5,24.062499046325684C10.5,24.30411904632568,10.30413,24.499999046325684,10.0625,24.499999046325684L3.9375,24.499999046325684C3.69588,24.499999046325684,3.5,24.30411904632568,3.5,24.062499046325684C3.5,23.820879046325686,3.69588,23.624999046325684,3.9375,23.624999046325684L10.0625,23.624999046325684ZM7.89075,21.577499046325684C8.13237,21.577499046325684,8.32825,21.773379046325683,8.32825,22.014999046325684C8.32825,22.25661904632568,8.13237,22.452499046325684,7.89075,22.452499046325684L3.9375,22.452499046325684C3.69588,22.452499046325684,3.5,22.25661904632568,3.5,22.014999046325684C3.5,21.773379046325683,3.69588,21.577499046325684,3.9375,21.577499046325684L7.89075,21.577499046325684ZM10.0625,21.577499046325684C10.30413,21.577499046325684,10.5,21.773379046325683,10.5,22.014999046325684C10.5,22.25661904632568,10.30413,22.452499046325684,10.0625,22.452499046325684C9.82088,22.452499046325684,9.625,22.25661904632568,9.625,22.014999046325684C9.625,21.773379046325683,9.82088,21.577499046325684,10.0625,21.577499046325684ZM10.0625,17.499999046325684C10.30413,17.499999046325684,10.5,17.695879046325683,10.5,17.937499046325684L10.5,20.562499046325684C10.5,20.804119046325685,10.30413,20.999999046325684,10.0625,20.999999046325684C9.82088,20.999999046325684,9.625,20.804119046325685,9.625,20.562499046325684L9.625,17.937499046325684C9.625,17.695879046325683,9.82088,17.499999046325684,10.0625,17.499999046325684ZM7.89075,19.547499046325683C8.13237,19.547499046325683,8.32825,19.743369046325682,8.32825,19.984999046325683C8.32825,20.226619046325684,8.13237,20.422499046325683,7.89075,20.422499046325683L3.9375,20.422499046325683C3.69588,20.422499046325683,3.5,20.226619046325684,3.5,19.984999046325683C3.5,19.743369046325682,3.69588,19.547499046325683,3.9375,19.547499046325683L7.89075,19.547499046325683ZM7.89075,17.499999046325684C8.13237,17.499999046325684,8.32825,17.695879046325683,8.32825,17.937499046325684C8.32825,18.179119046325685,8.13237,18.374999046325684,7.89075,18.374999046325684L3.9375,18.374999046325684C3.69588,18.374999046325684,3.5,18.179119046325685,3.5,17.937499046325684C3.5,17.695879046325683,3.69588,17.499999046325684,3.9375,17.499999046325684L7.89075,17.499999046325684Z" fill="#FFFFFF" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="14" height="14" viewBox="0 0 14 14"><defs><clipPath id="master_svg0_2_20"><rect x="0" y="0" width="14" height="14" rx="0"/></clipPath></defs><g clip-path="url(#master_svg0_2_20)"><g><path d="M12.5465,13.18999755859375L0.453488,13.18999755859375C0.203034,13.18999755859375,0,12.97119755859375,0,12.70129755859375L0,1.29868055859375C5.97131e-8,1.02878855859375,0.203034,0.80999755859375,0.453488,0.80999755859375L12.5465,0.80999755859375C12.797,0.80999759076745,13,1.02878855859375,13,1.29868055859375L13,12.70129755859375C13,12.97119755859375,12.797,13.18999755859375,12.5465,13.18999755859375ZM0.906977,12.21259755859375L12.093,12.21259755859375L12.093,1.78736355859375L0.906977,1.78736355859375L0.906977,12.21259755859375Z" fill="#FFFFFF" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M5.20582,9.4295L6.92423,5.79765L7.6386,6.300879999999999L5.92019,9.93273L5.20582,9.4295ZM8.52804,10L7.94447,9.28793L9.11092,7.86461L7.94447,6.4413L8.52804,5.72921L10.2774,7.86461L8.52804,10ZM4.3159,10L2.56656,7.86461L4.3159,5.72921L4.89946,6.4413L3.73301,7.86461L4.89946,9.28793L4.3159,10ZM0,3L13,3L13,3.503235L0,3.503235L0,3Z" fill="#FFFFFF" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

@ -118,6 +118,15 @@
.el-table__cell {
padding: 0;
}
.columnFactor {
div {
overflow:hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
}
}
}
}
.L_tabs {
@ -195,6 +204,43 @@
}
}
}
//
header {
padding: 0 20px;
font-size: 18px;
font-weight: bold;
}
.tabs-header {
margin-top: 10px;
.tabs-title {
width: 100%;
border-bottom: 1px solid #DEE2EE;
display: flex;
margin-bottom: 20px;
.await-audit,.already-affirm {
cursor: pointer;
padding: 8px 30px;
border-top: 1px solid #DEE2EE;
border-right: 1px solid #DEE2EE;
}
.await-audit {
border-left: 1px solid #DEE2EE;
}
.active-tab {
background-color: #3f3f3f;
color: #fefefe;
}
}
.el-form {
padding: 0 20px;
}
.tabs-line {
width: 100%;
height: 1px;
background: #DEE2EE;
margin: 20px 0;
}
}
}
.app-container::-webkit-scrollbar {
display: none;
@ -218,64 +264,59 @@
}
.el-dialog {
background: #FFFFFF;
border-radius: 8px;
.el-dialog__header {
border-radius: 8px 8px 0 0;
background: #F8F9FA;
height: 40px;
padding: 10px;
.el-dialog__title {
font-size: 14px;
font-size: 18px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #333333;
}
}
.el-dialog__body {
padding: 10px;
.dialog-foot {
.el-form-item__content {
padding: 10px 20px;
.audit-generalize {
.grid-content {
display: flex;
justify-content: flex-end;
align-items: center;
.designate,.save,.resetFields,.el-button {
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0 15px;
background-color: #F88129;
border-radius: 4px;
margin: 0 10px;
img {
width: 14px;
margin-right: 4px;
}
span {
font-size: 12px;
font-family: Source Han Sans CN;
font-weight: 400;
color: #FFFFFF;
line-height: 30px;
}
margin: 10px 0;
.grid-title {
font-size: 14px;
}
.resetFields {
background-color: #FFFFFF;
border: 1px solid #DEE2EE;
span {
color: #4D5158;
}
.grid-value {
flex: 1;
}
.resetFields:hover {
color: #4D5158 !important;
// value
.warning-type {
color: #d9011c;
}
.save {
margin-right: 0;
background-color: #1E80EB;
// value
.grid-value-btn {
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 10px;
.grid-value-value {
flex: 1;
}
}
}
}
.audit-table {
.table-box {
padding: 0;
}
}
}
.dialog-footer {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
.el-button {
margin: 0 10px;
}
}
}
@ -284,9 +325,9 @@
margin: 20px;
background-color: #fff;
border-radius: 5px;
height: calc(100vh - 40px);
height: calc(100vh - 80px);
width: calc(100% - 40px);
overflow-y: scroll;
// overflow-y: scroll;
position: relative;
.warning-list {
position: absolute;
@ -301,6 +342,8 @@
font-weight: bold;
}
.warning-list-content {
height: calc(100vh - 130px);
overflow-y: scroll;
padding: 10px;
.warning-list-search {
display: flex;
@ -316,6 +359,8 @@
grid-row-gap: 10px;
padding: 5px;
.lists {
border: 1px solid #ccc;
border-radius: 10px;
padding: 5px;
.hearder {
display: flex;
@ -339,11 +384,21 @@
margin: 10px 0 0 0;
.content-left {
flex: 1;
font-size: 14px;
color: #7f7f7f;
}
.content-right {
margin-left: 5px;
.audit{
font-size: 14px;
color: #7f7f7f;
}
.detailInfo{
font-size: 14px;
color: #1890ff;
}
.el-button {
height: 100%;
height: 90%;
width: 80px;
}
}

@ -76,6 +76,12 @@
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: nowrap !important;
line-height: 40px;
height: 40px;
}
.cesileiming {
background-color: rgba(100,113,129,0.5);
}
// menu hover

@ -9,9 +9,12 @@ $yellow:#FEC171;
$panGreen: #30B08F;
//
$base-menu-color:#bfcbd9;
// $base-menu-color:#bfcbd9;
$base-menu-color:#FFFFFF;
$base-menu-color-active:#f4f4f5;
$base-menu-background:#304156;
// $base-menu-background:#304156;
// $base-menu-background:rgba(100,113,129,0.5);
$base-menu-background: #314158;
$base-logo-title-color: #ffffff;
$base-menu-light-color:rgba(0,0,0,.70);
@ -19,6 +22,7 @@ $base-menu-light-background:#ffffff;
$base-logo-light-title-color: #001529;
$base-sub-menu-background:#1f2d3d;
// $base-sub-menu-background:rgba(100,113,129,0.5);
$base-sub-menu-hover:#001528;
//
@ -36,7 +40,8 @@ $base-sub-menu-background:#000c17;
$base-sub-menu-hover:#001528;
*/
$base-sidebar-width: 200px;
// $base-sidebar-width: 200px;
$base-sidebar-width: 220px;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass

@ -171,8 +171,8 @@ export default {
<style lang="scss">
.topmenu-container.el-menu--horizontal > .el-menu-item {
float: left;
height: 50px !important;
line-height: 50px !important;
height: 40px !important;
line-height: 40px !important;
color: #999093 !important;
padding: 0 5px !important;
margin: 0 10px !important;

@ -15,9 +15,10 @@ export default {
render(h, context) {
const { icon, title } = context.props
const vnodes = []
if (icon) {
if (icon && icon !== '#') {
vnodes.push(<svg-icon icon-class={icon}/>)
} else if (icon && icon == '#'){
vnodes.push(<svg-icon display="none" icon-class={icon}/>)
}
if (title) {

@ -1,14 +1,14 @@
<template>
<div v-if="!item.hidden">
<template v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path, onlyOneChild.query)">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path, onlyOneChild.query)" :class="(onlyOneChild.path == 'index' || onlyOneChild.path == 'warningAppear') ? 'cesileiming' : ''">
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
<item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
</el-menu-item>
</app-link>
</template>
<el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body>
<el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body class="cesileiming">
<template slot="title">
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
</template>

@ -44,7 +44,8 @@ export default {
return path;
},
showLogo() {
return this.$store.state.settings.sidebarLogo;
// return this.$store.state.settings.sidebarLogo;
return false;
},
variables() {
return variables;

@ -1,7 +1,7 @@
<template>
<div :class="classObj" class="app-wrapper" :style="{'--current-color': theme}">
<header class="app-header">
<div class="header-title">数字高新驾驶舱-算法预警服务平台</div>
<div class="header-title"> <img src="@/assets/images/logo@2x.png" alt=""> <span>数字高新驾驶舱-算法预警服务平台</span></div>
<div class="right-menu">
<el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
<div class="avatar-wrapper">
@ -107,6 +107,7 @@ export default {
width: 100%;
.app-header {
background-color: #304156;
background-color: #3f3f3f;
height: 40px;
padding: 0px 20px;
box-sizing: border-box;
@ -114,8 +115,16 @@ export default {
align-items: center;
justify-content: space-between;
.header-title {
display: flex;
align-items: center;
height: 40px;
line-height: 40px;
color: #fff;
img {
width: 20px;
height: 20px;
margin-right: 10px;
}
}
.right-menu {
float: right;

@ -2,6 +2,7 @@ import store from '@/store'
const { body } = document
const WIDTH = 992 // refer to Bootstrap's responsive design
// const WIDTH = 100 // refer to Bootstrap's responsive design
export default {
watch: {
@ -34,11 +35,13 @@ export default {
$_resizeHandler() {
if (!document.hidden) {
const isMobile = this.$_isMobile()
store.dispatch('app/toggleDevice', isMobile ? 'mobile' : 'desktop')
if (isMobile) {
store.dispatch('app/closeSideBar', { withoutAnimation: true })
}
// 设置侧边栏不会随着尺寸变小不收起
// store.dispatch('app/toggleDevice', isMobile ? 'mobile' : 'desktop')
// if (isMobile) {
// store.dispatch('app/closeSideBar', { withoutAnimation: true })
// }
}
}
}

@ -4,7 +4,7 @@
* @Author: JC9527
* @Date: 2024-01-25 11:41:56
* @LastEditors: JC9527
* @LastEditTime: 2024-02-22 14:39:44
* @LastEditTime: 2024-09-02 11:09:54
*/
import router from './router'
import store from './store'

@ -2,7 +2,9 @@ import Cookies from 'js-cookie'
const state = {
sidebar: {
opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
// opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
// 默认侧边栏打开
opened: true,
withoutAnimation: false,
hide: false
},

@ -6,6 +6,7 @@ const storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''
const state = {
title: '',
theme: storageSetting.theme || '#409EFF',
// theme: storageSetting.theme || '#fff',
sideTheme: storageSetting.sideTheme || sideTheme,
showSettings: showSettings,
topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,

@ -0,0 +1,171 @@
<template>
<el-dialog
:visible.sync="showCK"
width="50%"
:title="title"
@close="close"
:close-on-click-modal="false"
:close-on-press-escape="false"
custom-class="travel"
>
<div class="audit-generalize">
<el-row>
<el-col :span="14">
<div class="grid-content">
<div class="grid-title">概括名称</div>
<div class="grid-value grid-value-btn">
<div class="grid-value-value">{{ audioInfo.title }}</div>
<el-button type="danger" size="mini">修改标题</el-button>
</div>
</div>
</el-col>
<el-col :span="8">
<div class="grid-content">
<div class="grid-title">预警时间</div>
<div class="grid-value">{{ audioInfo.time }}</div>
</div>
</el-col>
</el-row>
<el-row>
<el-col :span="14">
<div class="grid-content">
<div class="grid-title">预警因素</div>
<div class="grid-value">{{ audioInfo.factor }}</div>
</div>
</el-col>
<el-col :span="8">
<div class="grid-content">
<div class="grid-title">预警类别</div>
<div class="grid-value warning-type">{{ audioInfo.type ? audioInfo.type : "预警类别" }}</div>
</div>
</el-col>
</el-row>
<el-row>
<el-col :span="14">
<div class="grid-content">
<div class="grid-title">事件数量</div>
<div class="grid-value">{{ audioInfo.number }}</div>
</div>
</el-col>
</el-row>
</div>
<div class="audit-table">
<section class="table-box">
<div class="table-item">
<el-table v-loading="loading" :data="tableData" :cell-class-name="addStyle" border>
<el-table-column
type="index"
label="序号"
width="55"
align="center"
/>
<el-table-column label="工单编号" align="center" prop="id">
</el-table-column>
<el-table-column label="案件描述" align="center" prop="factor">
</el-table-column>
<el-table-column label="地点" align="center" prop="address">
</el-table-column>
<el-table-column label="上报时间" align="center" prop="time">
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<button @click="toDetail(scope.row)" class="sqbtn sqbtn1">
查看详情
</button>
<span>非同一事件</span>
</template>
</el-table-column>
</el-table>
</div>
</section>
<div class="my-pagination">
<pagination
:total="total"
:page="pages.current"
:limit="pages.size"
@pagination="getPagination"
:current-page.sync="pages.current"
></pagination>
</div>
</div>
<div slot="footer" class="dialog-footer">
<el-button type="primary">上报驾驶舱</el-button>
<el-button type="info">不上报</el-button>
<el-button type="danger">退回重训练</el-button>
</div>
</el-dialog>
</template>
<script>
export default {
data() {
return {
showCK:false,
audioInfo:{},
loading:false,
tableData:[
{
id:"C23123101322",
factor:"服务对象来电称12月31日21:49左右高新区大阳山植物园虎丘区阳山南路8号拥堵……",
address:"虎丘区大阳山植物园景区",
time:"2023-07-30 14:26:30",
},{
id:"C23123101322",
factor:"服务对象来电称12月31日21:49左右高新区大阳山植物园虎丘区阳山南路8号拥堵……",
address:"虎丘区大阳山植物园景区",
time:"2023-07-30 14:26:30",
},{
id:"C23123101322",
factor:"服务对象来电称12月31日21:49左右高新区大阳山植物园虎丘区阳山南路8号拥堵……",
address:"虎丘区大阳山植物园景区",
time:"2023-07-30 14:26:30",
},{
id:"C23123101322",
factor:"服务对象来电称12月31日21:49左右高新区大阳山植物园虎丘区阳山南路8号拥堵……",
address:"虎丘区大阳山植物园景区",
time:"2023-07-30 14:26:30",
},{
id:"C23123101322",
factor:"服务对象来电称12月31日21:49左右高新区大阳山植物园虎丘区阳山南路8号拥堵……",
address:"虎丘区大阳山植物园景区",
time:"2023-07-30 14:26:30",
},{
id:"C23123101322",
factor:"服务对象来电称12月31日21:49左右高新区大阳山植物园虎丘区阳山南路8号拥堵……",
address:"虎丘区大阳山植物园景区",
time:"2023-07-30 14:26:30",
},
],
total:0,
pages: {
current: 1,
size: 10
}
}
},
props:["title"],
methods:{
//
open(row){
this.audioInfo = row;
this.showCK = true;
},
//
close(){
this.showCK = false;
},
//
getPagination(pages) {
this.pages.current = pages.page;
this.pages.size = pages.limit;
},
//
addStyle({row, column, rowIndex, columnIndex}) {
console.log(columnIndex);
if(columnIndex === 2) {
console.log(column);
return "columnFactor"
}
}
},
}
</script>

@ -5,10 +5,10 @@
<div class="searchP">查询条件</div>
</div>
<el-form :inline="true" :model="form" ref="formOne">
<el-form-item label="事件标题:" prop="incidentName">
<el-form-item label="事件标题:" prop="title">
<el-input v-model="form.title" placeholder="请输入名称"></el-input>
</el-form-item>
<el-form-item label="事件类型:" prop="incidentType">
<el-form-item label="事件类型:" prop="msgTypeName">
<!-- <el-select v-model="form.msgTypeName" placeholder="请选择类型">
<el-option label="暴漏垃圾" value="shanghai"></el-option>
<el-option label="市容环境" value="beijing"></el-option>

@ -38,12 +38,12 @@
</template>
<script>
import tabContent from "./components/algorithmTime"
// import tabContent from "./components/algorithmTime"
import { getEventLogs } from "@/api/platform/index"
export default {
components:{
tabContent
},
// components:{
// tabContent
// },
name: "Index",
data() {
return {

@ -9,7 +9,7 @@
<el-button type="primary" size="medium" @click="query"></el-button>
</div>
<div class="warning-list-list">
<div class="lists" v-for="(item,index) in 5">
<div class="lists" v-for="(item,index) in total">
<div class="hearder">
<div class="warning-title">虎丘区馨泰花苑76号楼发生火灾或存在发生火灾的隐患</div>
<div class="anniu">群体事件</div>
@ -20,15 +20,21 @@
<div>2023-07-30 14:26:30</div>
</div>
<div class="content-right">
<div v-if="index != 0"></div>
<div v-if="index != 0"></div>
<div class="audit" v-if="index != 0"></div>
<div class="detailInfo" v-if="index != 0"></div>
<el-button v-else type="primary" size="mini" @click="audit"></el-button>
</div>
</div>
</div>
</div>
<div class="warning-list-footer">
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
</div>
</div>
</div>
@ -71,7 +77,12 @@ export default {
text:"重点人员",
color:"#8400ff"
},
]
],
queryParams:{
pageNum: 1,
pageSize: 5,
},
total: 15,
}
},
methods:{
@ -83,6 +94,10 @@ export default {
audit(){
},
//
getList(){
console.log(this.queryParams);
},
},
}
</script>

@ -0,0 +1 @@
<!-- 驾驶舱重点人员事件 -->

@ -0,0 +1,292 @@
<!-- 驾驶舱群体事件 -->
<template>
<div class="L-app-container">
<header>驾驶舱群体事件</header>
<div class="tabs-header">
<div class="tabs-title" @click="changeTab">
<div class="await-audit" :class="activeTab == 1 ? 'active-tab' : ''" data-info="awaitAudit">待审核</div>
<div class="already-affirm" :class="activeTab == 2 ? 'active-tab' : ''" data-info="alreadyAffirm">已确认</div>
</div>
<el-form :inline="true" :model="form" ref="formOne">
<el-form-item label="事件标题:" prop="title">
<el-input v-model="form.title" placeholder="请输入事件标题"></el-input>
</el-form-item>
<el-form-item label="预警时间:" prop="time">
<el-date-picker
v-model="form.time"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="请选择预警时间">
</el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" size="mini" icon="el-icon-search" @click="onSubmit('formOne')" class="onSubmit">查询</el-button>
<el-button size="mini" icon="el-icon-refresh-left" @click="reset('formOne')" class="reset">重置</el-button>
</el-form-item>
</el-form>
<div class="tabs-line"></div>
<!-- 待审核 -->
<div v-if="activeTab == 1">
<section class="table-box">
<div class="table-item">
<el-table v-loading="loading" :data="auditData" border>
<el-table-column
type="index"
label="序号"
width="55"
align="center"
/>
<el-table-column label="事件标题" align="center" prop="title">
</el-table-column>
<el-table-column label="预警时间" align="center" prop="time">
</el-table-column>
<el-table-column label="预警因素" align="center" prop="factor">
</el-table-column>
<el-table-column label="事件数量" align="center" prop="number">
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<button @click="audit(scope.row)" class="sqbtn sqbtn1">
审核
</button>
</template>
</el-table-column>
</el-table>
</div>
</section>
<div class="my-pagination">
<pagination
:total="auditTotal"
:page="pages.current"
:limit="pages.size"
@pagination="getPagination"
:current-page.sync="pages.current"
></pagination>
</div>
</div>
<!-- 已确认 -->
<div v-if="activeTab == 2">
<section class="table-box">
<div class="table-item">
<el-table v-loading="loading" :data="affirmData" border>
<el-table-column
type="index"
label="序号"
width="55"
align="center"
/>
<el-table-column label="事件标题" align="center" prop="title">
</el-table-column>
<el-table-column label="预警时间" align="center" prop="time">
</el-table-column>
<el-table-column label="预警因素" align="center" prop="factor">
</el-table-column>
<el-table-column label="事件数量" align="center" prop="number">
</el-table-column>
<el-table-column label="审核状态" align="center">
<template slot-scope="scope">
<span v-if="scope.row.status == 1"></span>
<span v-if="scope.row.status == 2"></span>
</template>
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<button @click="toDetail(scope.row)" class="sqbtn sqbtn1">
查看详情
</button>
</template>
</el-table-column>
</el-table>
</div>
</section>
<div class="my-pagination">
<pagination
:total="affirmTotal"
:page="affirmPages.current"
:limit="affirmPages.size"
@pagination="getPaginationAffirm"
:current-page.sync="affirmPages.current"
></pagination>
</div>
</div>
</div>
<event-audit title="事件审核" ref="eventAudit"></event-audit>
</div>
</template>
<script>
import EventAudit from '@/views/components/eventAudit.vue'
export default {
components:{
EventAudit,
},
data() {
return {
activeTab: 1,
form:{
time: '',
title: '',
},
pages: {
current: 1,
size: 10,
},
affirmPages: {
current: 1,
size: 10,
},
auditTotal:1,
affirmTotal:1,
loading:false,
auditData:[
{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
},
],
affirmData:[
{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
status:1,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
status:2,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
status:1,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
status:2,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
status:1,
},{
title:"关于137****1620李某某7天内多次投诉各种事件",
time:"2024-02-22 09:00:02",
factor:"137****1620李某某",
number:8,
status:2,
},
],
}
},
methods:{
//
onSubmit(formRef){
if(this.activeTab == 1) {
this.pages = {
current: 1,
size: 10
}
this.pages = {...this.pages,...this.form}
this.getList(1,this.pages);
} else if(this.activeTab == 2) {
this.affirmPages = {
current: 1,
size: 10
}
this.affirmPages = {...this.affirmPages,...this.form}
this.getList(2,this.affirmPages);
}
},
//
reset(formRef){
this.$refs[formRef].resetFields();
this.form = {
time: '',
title: '',
}
if(this.activeTab == 1) {
this.pages = {
current: 1,
size: 10
}
this.getList(1,this.pages);
} else if(this.activeTab == 2) {
this.affirmPages = {
current: 1,
size: 10
}
this.getList(2,this.affirmPages);
}
},
// tab
changeTab(e){
if(e.target.getAttribute("data-info") == "awaitAudit"){
this.activeTab = 1;
}else if(e.target.getAttribute("data-info") == "alreadyAffirm"){
this.activeTab = 2;
}
},
//
getPagination(pages){
this.pages.current = pages.page;
this.pages.size = pages.limit;
this.getList(1,this.pages);
},
//
getPaginationAffirm(pages){
this.affirmPages.current = pages.page;
this.affirmPages.size = pages.limit;
this.getList(2,this.affirmPages);
},
//
getList(id,page){
// this.loading = true;
},
//
audit(row) {
this.$refs.eventAudit.open(row);
},
//
toDetail(row) {
},
},
mounted() {
this.getList(1,this.pages)
},
}
</script>

@ -0,0 +1 @@
<!-- 驾驶舱一人多诉事件 -->

@ -0,0 +1 @@
<!-- 驾驶舱同人同述事件 -->

@ -0,0 +1 @@
<!-- 驾驶舱相似同类事件 -->
Loading…
Cancel
Save