wupengfei
2025-04-07 c8fe05eb089226a8f1f36e403f25f99f99831954
src/views/MaterialReview/MaterialReview.vue
@@ -71,6 +71,7 @@
import * as informationServices from '@/services/api/Information';
import _ from 'lodash';
import { ModelValueType } from 'element-plus';
import { useGlobalEventContext } from '@/hooks';
defineOptions({
  name: 'MaterialReview',
@@ -147,6 +148,12 @@
const state = reactive({ ...BaseState });
const eventContext = useGlobalEventContext();
eventContext.addEvent('materialReviewAudit:audit', () => {
  getList(paginationState.pageIndex);
});
onMounted(async () => {
  await getList();
  state.loading = false;