|
@@ -2,30 +2,24 @@
|
|
<div class="event-container">
|
|
<div class="event-container">
|
|
<div class="container-header">
|
|
<div class="container-header">
|
|
<div class="common-title-box">事件接报</div>
|
|
<div class="common-title-box">事件接报</div>
|
|
- <div class="more" @click="showMoreEventManageList">查看更多 >></div>
|
|
|
|
|
|
+<!-- <div class="more" @click="showMoreEventManageList">查看更多 >></div>-->
|
|
</div>
|
|
</div>
|
|
<!-- 表格组件 -->
|
|
<!-- 表格组件 -->
|
|
<div class="common-table">
|
|
<div class="common-table">
|
|
<div class="table-header">
|
|
<div class="table-header">
|
|
<div class="td">事件标题</div>
|
|
<div class="td">事件标题</div>
|
|
- <div class="td">事件类型</div>
|
|
|
|
<div class="td">事发地点</div>
|
|
<div class="td">事发地点</div>
|
|
- <div class="td">事发时间</div>
|
|
|
|
<div class="td">事发状态</div>
|
|
<div class="td">事发状态</div>
|
|
<div class="td">操作</div>
|
|
<div class="td">操作</div>
|
|
</div>
|
|
</div>
|
|
<div v-for="(item, index) in eventList" :key="index" class="tr">
|
|
<div v-for="(item, index) in eventList" :key="index" class="tr">
|
|
- <div class="td" @click="handleShowDetail(item)">{{ item.event_title }}</div>
|
|
|
|
- <div class="td">
|
|
|
|
- <dict-tag :class="['0', '1'].includes(item.event_type) ? 'primary-tag' : 'success-tag'" :options="mm_event_type" :value="item.event_type" />
|
|
|
|
- </div>
|
|
|
|
- <div class="td">
|
|
|
|
|
|
+ <div class="td" :title="item.event_title" @click="handleShowDetail(item)">{{ item.event_title }}</div>
|
|
|
|
+ <div class="td" :title="item.address">
|
|
<div class="address-box">
|
|
<div class="address-box">
|
|
<i class="address-icon" />
|
|
<i class="address-icon" />
|
|
<div class="address-text">{{ item.address }}</div>
|
|
<div class="address-text">{{ item.address }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="td">{{ item.event_time }}</div>
|
|
|
|
<div class="td">
|
|
<div class="td">
|
|
<dict-tag :class="getEventStatusClass(item.event_status)" :options="mm_event_state" :value="item.event_status" />
|
|
<dict-tag :class="getEventStatusClass(item.event_status)" :options="mm_event_state" :value="item.event_status" />
|
|
</div>
|
|
</div>
|
|
@@ -65,7 +59,7 @@ const { mm_event_type, mm_event_level, mm_event_state, region } = toRefs<any>(
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
const queryParams = reactive({
|
|
const queryParams = reactive({
|
|
page: 1,
|
|
page: 1,
|
|
- page_size: 7
|
|
|
|
|
|
+ page_size: 15
|
|
});
|
|
});
|
|
// 事件接报
|
|
// 事件接报
|
|
const eventManageState = reactive({
|
|
const eventManageState = reactive({
|
|
@@ -122,7 +116,7 @@ const getEventStatusClass = (value) => {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
align-items: center;
|
|
- margin-bottom: 30px;
|
|
|
|
|
|
+ margin-bottom: 18px;
|
|
.more {
|
|
.more {
|
|
font-size: 36px;
|
|
font-size: 36px;
|
|
color: #00e8ff;
|
|
color: #00e8ff;
|
|
@@ -137,35 +131,31 @@ const getEventStatusClass = (value) => {
|
|
flex: unset;
|
|
flex: unset;
|
|
text-align: left;
|
|
text-align: left;
|
|
&:nth-child(1) {
|
|
&:nth-child(1) {
|
|
- width: 305px;
|
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
+ width: 150px;
|
|
}
|
|
}
|
|
&:nth-child(2) {
|
|
&:nth-child(2) {
|
|
- min-width: 200px;
|
|
|
|
flex: 1;
|
|
flex: 1;
|
|
}
|
|
}
|
|
&:nth-child(3) {
|
|
&:nth-child(3) {
|
|
- width: 610px;
|
|
|
|
- max-width: 610px;
|
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
+ width: 80px;
|
|
|
|
+ max-width: 80px;
|
|
min-width: 0;
|
|
min-width: 0;
|
|
}
|
|
}
|
|
&:nth-child(4) {
|
|
&:nth-child(4) {
|
|
- width: 400px;
|
|
|
|
- }
|
|
|
|
- &:nth-child(5) {
|
|
|
|
- width: 200px;
|
|
|
|
- }
|
|
|
|
- &:nth-child(6) {
|
|
|
|
- width: 250px;
|
|
|
|
|
|
+ width: 90px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.address-box {
|
|
.address-box {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
.address-icon {
|
|
.address-icon {
|
|
- min-width: 46px;
|
|
|
|
- width: 46px;
|
|
|
|
- height: 53px;
|
|
|
|
|
|
+ min-width: 14px;
|
|
|
|
+ width: 14px;
|
|
|
|
+ height: 16px;
|
|
background: url('@/assets/images/routineCommandMap/eventReport/address.png') no-repeat;
|
|
background: url('@/assets/images/routineCommandMap/eventReport/address.png') no-repeat;
|
|
|
|
+ background-size: 100% 100%;
|
|
margin-right: 8px;
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
.address-text {
|
|
.address-text {
|
|
@@ -192,26 +182,26 @@ const getEventStatusClass = (value) => {
|
|
}
|
|
}
|
|
.tag1 {
|
|
.tag1 {
|
|
background-color: #38c95a;
|
|
background-color: #38c95a;
|
|
- border-radius: 8px;
|
|
|
|
- padding: 12px;
|
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ padding: 4px 5px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.tag2 {
|
|
.tag2 {
|
|
background-color: #ff2b34;
|
|
background-color: #ff2b34;
|
|
- border-radius: 8px;
|
|
|
|
- padding: 12px;
|
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ padding: 4px 5px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.tag3 {
|
|
.tag3 {
|
|
background-color: #247dff;
|
|
background-color: #247dff;
|
|
- border-radius: 8px;
|
|
|
|
- padding: 12px;
|
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ padding: 4px 5px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.tag4 {
|
|
.tag4 {
|
|
background-color: #3e5185;
|
|
background-color: #3e5185;
|
|
- border-radius: 8px;
|
|
|
|
- padding: 12px;
|
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ padding: 4px 5px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.btn-box {
|
|
.btn-box {
|
|
@@ -221,27 +211,25 @@ const getEventStatusClass = (value) => {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
.start-icon {
|
|
.start-icon {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- width: 50px;
|
|
|
|
- height: 50px;
|
|
|
|
|
|
+ width: 15px;
|
|
|
|
+ height: 15px;
|
|
background: url('@/assets/images/routineCommandMap/eventReport/start.png') no-repeat;
|
|
background: url('@/assets/images/routineCommandMap/eventReport/start.png') no-repeat;
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
- margin-right: 8px;
|
|
|
|
}
|
|
}
|
|
.record-icon {
|
|
.record-icon {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- width: 46px;
|
|
|
|
- height: 50px;
|
|
|
|
|
|
+ width: 14px;
|
|
|
|
+ height: 15px;
|
|
background: url('@/assets/images/routineCommandMap/eventReport/record.png') no-repeat;
|
|
background: url('@/assets/images/routineCommandMap/eventReport/record.png') no-repeat;
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
- margin-right: 8px;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.common-table {
|
|
.common-table {
|
|
.table-header {
|
|
.table-header {
|
|
- width: 1848px;
|
|
|
|
|
|
+ width: 511px;
|
|
}
|
|
}
|
|
.tr {
|
|
.tr {
|
|
- width: 1848px;
|
|
|
|
|
|
+ width: 511px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|