|
|
@@ -5,22 +5,22 @@
|
|
|
<TabPane tab="实时监测" key="realtime">
|
|
|
<div class="board-info">
|
|
|
<div :key="index" v-for="(item, index) in boardData" class="board-item">
|
|
|
- <MiniBoard type="E" :label="item.label" :value="item.value" layout="label-top" />
|
|
|
+ <MiniBoard type="A" :label="item.label" :value="item.value" layout="label-top" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 实时数据表格 -->
|
|
|
<BasicTable @register="registerTable" :scroll="{ x: 'max-content' }" :style="{ padding: 0 }">
|
|
|
<template #action="{ record }">
|
|
|
- <div class="action-buttons">
|
|
|
- <!-- 操作按钮 -->
|
|
|
- <button @click="openModal(record, 'detail')" class="action-btn detail-btn" title="操作">
|
|
|
+ <!-- <div class="action-buttons"> -->
|
|
|
+ <!-- 操作按钮 -->
|
|
|
+ <!-- <button @click="openModal(record, 'detail')" class="action-btn detail-btn" title="操作">
|
|
|
<span class="action-text">详情</span>
|
|
|
- </button>
|
|
|
- <!-- 已解决按钮 -->
|
|
|
- <button @click="openModal(record, 'resolved')" class="action-btn resolved-btn" title="已解决">
|
|
|
- <span class="action-text">已解决</span>
|
|
|
- </button>
|
|
|
- </div>
|
|
|
+ </button> -->
|
|
|
+ <!-- 已解决按钮 -->
|
|
|
+ <button @click="openModal(record, 'resolved')" class="action-btn resolved-btn" title="已解决">
|
|
|
+ <span class="action-text">解决</span>
|
|
|
+ </button>
|
|
|
+ <!-- </div> -->
|
|
|
</template>
|
|
|
</BasicTable>
|
|
|
</TabPane>
|
|
|
@@ -123,7 +123,7 @@ const [registerTable] = useTable({
|
|
|
showIndexColumn: false,
|
|
|
canResize: false,
|
|
|
actionColumn: {
|
|
|
- width: 120,
|
|
|
+ width: 150,
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
slots: { customRender: 'action' },
|
|
|
@@ -216,8 +216,8 @@ const [registerHistoryTable] = useTable({
|
|
|
showAdvancedButton: false,
|
|
|
schemaGroupNames: ['常规查询'],
|
|
|
},
|
|
|
- pagination: false,
|
|
|
- striped: false,
|
|
|
+ pagination: true,
|
|
|
+ striped: true,
|
|
|
useSearchForm: true,
|
|
|
bordered: true,
|
|
|
showIndexColumn: false,
|