Merge branch 'main' of http://192.168.1.22:3000/zcy/canneng-admin
This commit is contained in:
39
src/views/govern/log/operate.vue
Normal file
39
src/views/govern/log/operate.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<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/cslog/queryLog',
|
||||
method: 'POST',
|
||||
column: [
|
||||
{ title: '操作日期', field: 'createTime', align: 'center' },
|
||||
{ title: '操作描述', field: 'operate', align: 'center', width: '400' },
|
||||
{ title: '用户名称', field: 'userName', align: 'center' },
|
||||
{ title: '更新时间', field: 'updateTime', align: 'center' },
|
||||
{ title: '失败原因', field: 'failReason', align: 'center' },
|
||||
{ title: '状态', field: 'result', align: 'center' },
|
||||
{ title: '登录名', field: 'loginName', align: 'center' }
|
||||
]
|
||||
})
|
||||
|
||||
provide('tableStore', tableStore)
|
||||
tableStore.table.params.searchState = 0
|
||||
tableStore.table.params.sortBy = ''
|
||||
tableStore.table.params.orderBy = ''
|
||||
onMounted(() => {
|
||||
tableStore.index()
|
||||
})
|
||||
const addMenu = () => {}
|
||||
</script>
|
||||
@@ -30,4 +30,4 @@ onMounted(() => {
|
||||
tableStore.index()
|
||||
})
|
||||
const addMenu = () => {}
|
||||
</script>
|
||||
</script>
|
||||
Reference in New Issue
Block a user