|
@@ -1,14 +1,14 @@
|
|
|
<template>
|
|
|
|
|
|
- <div class="layout_display_flex_y">
|
|
|
- <div style="margin-bottom: 8px">
|
|
|
+ <div class="layout_container">
|
|
|
+ <header class="round-header">
|
|
|
<el-button type="primary" icon="Edit" @click="modifyReport" :disabled="report.handled === 1">修改此报告</el-button>
|
|
|
<el-button type="primary" icon="Upload" @click="dealReport" :disabled="report.handled === 1">提交处理内容</el-button>
|
|
|
<el-button type="primary" icon="Printer" @click="toPrintPage" :disabled="report.handled !== 1">打印</el-button>
|
|
|
- </div>
|
|
|
- <div class="layout_display_flex">
|
|
|
- <div>
|
|
|
- <el-table :data="reports" stripe highlight-current-row height="100%" @row-click="fetchReportDetail">
|
|
|
+ </header>
|
|
|
+ <div class="layout_main layout_container layout-horizontal">
|
|
|
+ <aside>
|
|
|
+ <el-table :data="reports" stripe highlight-current-row @row-click="fetchReportDetail">
|
|
|
<el-table-column prop="occurDatetime" label="发生时间"></el-table-column>
|
|
|
<el-table-column prop="userName" label="提交人" width="70"></el-table-column>
|
|
|
<el-table-column prop="submitDatetime" label="提交时间"></el-table-column>
|
|
@@ -24,9 +24,9 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- </div>
|
|
|
+ </aside>
|
|
|
|
|
|
- <div class="layout_flex_1-x">
|
|
|
+ <div class="layout_main">
|
|
|
<el-tag>事件信息</el-tag>
|
|
|
<div class="report-column-div">
|
|
|
事件类型:{{ report.category }} <span style="margin-left: 20px">发生时间:{{ report.occurDatetime }}</span>
|