🎉 重构页面代码.

This commit is contained in:
lijiahangmax
2025-06-25 14:50:25 +08:00
parent aa8b380289
commit 5ed513f472
43 changed files with 666 additions and 230 deletions

View File

@@ -5,7 +5,7 @@
<!-- 查询头组件 -->
<operator-log-query-header :model="formModel"
:visible-user="false"
@submit="() => table.fetchTableData()" />
@submit="() => table.reload()" />
</a-card>
<!-- 表格 -->
<a-card class="general-card table-card">
@@ -22,7 +22,7 @@
<operator-log-simple-table ref="table"
:current="!user"
:base-params="{ userId: user?.id }"
:model="formModel"/>
:model="formModel" />
</a-card>
</div>
</template>

View File

@@ -47,5 +47,3 @@ export const operatorLogResultKey = 'operatorLogResult';
// 加载的字典值
export const dictKeys = [operatorLogModuleKey, operatorLogTypeKey, operatorRiskLevelKey, operatorLogResultKey];

View File

@@ -207,7 +207,7 @@
import { useQueryOrder, ASC } from '@/hooks/query-order';
import TableAdjust from '@/components/app/table-adjust/index.vue';
const emits = defineEmits(['openAdd', 'openUpdate', 'openImport', 'openExport', 'openResetPassword', 'openGrantRole']);
const emits = defineEmits(['openAdd', 'openUpdate', 'openResetPassword', 'openGrantRole']);
const cacheStore = useCacheStore();
const rowSelection = useRowSelection();