提交代码
This commit is contained in:
parent
ca707233fb
commit
f150a25e63
|
|
@ -31,6 +31,7 @@ import { onMounted, ref } from 'vue';
|
||||||
|
|
||||||
import { importPriceByExcel } from "@/api/mediaLibrary"
|
import { importPriceByExcel } from "@/api/mediaLibrary"
|
||||||
|
|
||||||
|
const emit = defineEmits(['handleReloadList']);
|
||||||
const { proxy } = getCurrentInstance()
|
const { proxy } = getCurrentInstance()
|
||||||
const title = ref('导入报价')
|
const title = ref('导入报价')
|
||||||
const open = ref(false)
|
const open = ref(false)
|
||||||
|
|
@ -54,6 +55,7 @@ const requestDocUpload = (options) => {
|
||||||
proxy.$modal.msgSuccess("导入成功")
|
proxy.$modal.msgSuccess("导入成功")
|
||||||
proxy.$modal.closeLoading()
|
proxy.$modal.closeLoading()
|
||||||
open.value = false
|
open.value = false
|
||||||
|
emit('handleReloadList')
|
||||||
} else {
|
} else {
|
||||||
proxy.$modal.closeLoading()
|
proxy.$modal.closeLoading()
|
||||||
proxy.$modal.msgError(res.msg);
|
proxy.$modal.msgError(res.msg);
|
||||||
|
|
|
||||||
|
|
@ -267,13 +267,13 @@
|
||||||
<media-form ref="mediaFormRef" v-if="showForm" @handleShowList="handleShowList" />
|
<media-form ref="mediaFormRef" v-if="showForm" @handleShowList="handleShowList" />
|
||||||
<media-detail ref="mediaDetailRef" v-if="showDetail" @handleShowList="handleCloseDetail" />
|
<media-detail ref="mediaDetailRef" v-if="showDetail" @handleShowList="handleCloseDetail" />
|
||||||
<media-logs ref="mediaLogsRef" v-if="showLogs" @handleShowList="handleCloseLogs" />
|
<media-logs ref="mediaLogsRef" v-if="showLogs" @handleShowList="handleCloseLogs" />
|
||||||
<abolish-dialog ref="abolishRef" @handleReloadList="getMediaPageList" />
|
<abolish-dialog ref="abolishRef" @handleReloadList="handleQuery" />
|
||||||
<history-data ref="historyDataRef" />
|
<history-data ref="historyDataRef" />
|
||||||
<down-files ref="downFileRef" @downBack="handleDownBack" />
|
<down-files ref="downFileRef" @downBack="handleDownBack" />
|
||||||
<view-file-dialog ref="viewFileRef" />
|
<view-file-dialog ref="viewFileRef" />
|
||||||
<export-dialog ref="exportDialogRef" />
|
<export-dialog ref="exportDialogRef" />
|
||||||
<export-p-p-t-dialog ref="exportPPTDialogRef" />
|
<export-p-p-t-dialog ref="exportPPTDialogRef" />
|
||||||
<importPrice ref="importPriceRef" />
|
<importPrice ref="importPriceRef" @handleReloadList="handleQuery"/>
|
||||||
<down-records ref="downRecordsRef" />
|
<down-records ref="downRecordsRef" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user