|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div style="overflow-y: auto">
|
|
|
<a-layout>
|
|
|
- <myResources pageType="economize" @handlerAudit="handlerAudit" />
|
|
|
+ <myResources ref="myResourcesRef" pageType="economize" @handlerAudit="handlerAudit" />
|
|
|
</a-layout>
|
|
|
<a-modal v-model:visible="modalVisible" :title="'资源审核'" width="1210px" :footer="null" :destroyOnClose="true">
|
|
|
<resourceDetails ref="resourceDetailsRef" :isState="1" :isAudit="1" @auditComplete="closeModal" />
|
|
|
@@ -19,6 +19,7 @@
|
|
|
const resourceDetailsRef = ref(null)
|
|
|
const currentAuditData = ref(null)
|
|
|
const auditStore = resourceAuditStore()
|
|
|
+ const myResourcesRef = ref(null)
|
|
|
|
|
|
const handlerAudit = (data) => {
|
|
|
currentAuditData.value = data
|
|
|
@@ -28,6 +29,7 @@
|
|
|
}
|
|
|
|
|
|
const closeModal = () => {
|
|
|
+ myResourcesRef.value.getListData()
|
|
|
modalVisible.value = false
|
|
|
}
|
|
|
</script>
|