修改操作日志 模块改成当前机构查询

This commit is contained in:
lxd 2024-12-23 11:38:18 +08:00
parent 3933f2e539
commit 1b873209f3
2 changed files with 6 additions and 4 deletions

View File

@ -18,6 +18,7 @@ export type OperateLogVO = {
creator: string creator: string
creatorName: string creatorName: string
createTime: Date createTime: Date
orgId:string
} }
// 查询操作日志列表 // 查询操作日志列表

View File

@ -76,7 +76,8 @@
</el-form> </el-form>
<el-form-item> <el-form-item>
<el-button @click="handleQuery" style=" margin-right: 0px; <el-button
@click="handleQuery" style=" margin-right: 0px;
margin-left: auto; background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button> margin-left: auto; background-color: rgb(56, 119, 246); font-size: 14px; color: rgb(255, 255, 255);"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button> <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
<el-button <el-button
@ -93,7 +94,8 @@
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
<el-table v-loading="loading" :data="list" :header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' }" <el-table
v-loading="loading" :data="list" :header-cell-style="{ background: 'rgb(235, 241, 250)',height:'56px' }"
:row-style="{height:'56px'}"> :row-style="{height:'56px'}">
<el-table-column label="日志编号" align="center" prop="id" width="100" /> <el-table-column label="日志编号" align="center" prop="id" width="100" />
<el-table-column label="操作人" align="center" prop="userName" width="120" /> <el-table-column label="操作人" align="center" prop="userName" width="120" />
@ -115,7 +117,6 @@
link link
type="primary" type="primary"
@click="openDetail(scope.row)" @click="openDetail(scope.row)"
v-hasPermi="['infra:operate-log:query']"
> >
详情 详情
</el-button> </el-button>