治理修改
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<slot name="select"></slot>
|
||||
</el-form>
|
||||
</div>
|
||||
<template v-if="$slots.select">
|
||||
<template v-if="$slots.select || datePicker">
|
||||
<el-button @click="onComSearch" type="primary">查询</el-button>
|
||||
<el-button @click="onResetForm">重置</el-button>
|
||||
<div class="table-search-button-group" v-if="showUnfoldButton">
|
||||
|
||||
@@ -155,6 +155,7 @@ defineExpose({
|
||||
}
|
||||
|
||||
.table-pagination {
|
||||
height: 58px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
@@ -1 +1,33 @@
|
||||
<template>推送日志</template>
|
||||
<template>
|
||||
<div class="default-main">
|
||||
<TableHeader datePicker> </TableHeader>
|
||||
<Table ref="tableRef" />
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { Plus } from '@element-plus/icons-vue'
|
||||
import { ref, onMounted, provide } from 'vue'
|
||||
import TableStore from '@/utils/tableStore'
|
||||
import Table from '@/components/table/index.vue'
|
||||
import TableHeader from '@/components/table/header/index.vue'
|
||||
|
||||
defineOptions({
|
||||
name: 'govern/log/push'
|
||||
})
|
||||
const tableStore = new TableStore({
|
||||
url: '/cs-device-boot/csEventSendMsg/queryLog',
|
||||
method: 'POST',
|
||||
column: [
|
||||
{ title: '推送用户', field: 'userName', align: 'center' },
|
||||
{ title: '推送内容', field: 'showName', align: 'center' },
|
||||
{ title: '推送时间', field: 'sendTime', align: 'center' },
|
||||
]
|
||||
})
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
tableStore.table.params.searchState = 0
|
||||
onMounted(() => {
|
||||
tableStore.index()
|
||||
})
|
||||
const addMenu = () => {}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user