🎉 重构页面代码.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -47,5 +47,3 @@ export const operatorLogResultKey = 'operatorLogResult';
|
||||
|
||||
// 加载的字典值
|
||||
export const dictKeys = [operatorLogModuleKey, operatorLogTypeKey, operatorRiskLevelKey, operatorLogResultKey];
|
||||
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user