|
@@ -135,8 +135,9 @@ import { ComponentTypeApi } from '/@/api/admin/productionManagement/ComponentTyp
|
|
|
import dayjs from 'dayjs'
|
|
|
import eventBus from '/@/utils/mitt'
|
|
|
import { isImage } from '/@/utils/test'
|
|
|
-import {PageInputFileGetPageDto} from "/@/api/admin/productionManagement/ComopnentDto";
|
|
|
import {FileGetPageOutput} from "/@/api/admin/data-contracts";
|
|
|
+import {PageInputFileGetPageDto} from "/@/api/admin/productionManagement/ComopnentDto";
|
|
|
+import {ComponentGetPageDto} from "/@/api/admin/productionManagement/ComponentTypeDto";
|
|
|
//import commonFunction from '/@/utils/commonFunction'
|
|
|
|
|
|
// const { proxy } = getCurrentInstance() as any
|
|
@@ -150,12 +151,12 @@ const state = reactive({
|
|
|
loading: false,
|
|
|
fileFormTitle: '',
|
|
|
filterModel: {
|
|
|
- fileName: '',
|
|
|
+ // fileName: '',
|
|
|
bomType: '',
|
|
|
bomName: '',
|
|
|
bomProNo: '',
|
|
|
- bomMateNo: '',
|
|
|
- },
|
|
|
+ // bomMateNo: '',
|
|
|
+ } as ComponentGetPageDto,
|
|
|
total: 0,
|
|
|
pageInput: {
|
|
|
currentPage: 1,
|
|
@@ -181,7 +182,7 @@ onMounted(() => {
|
|
|
onQuery()
|
|
|
eventBus.off('refreshFile')
|
|
|
eventBus.on('refreshFile', async () => {
|
|
|
- onQuery()
|
|
|
+ await onQuery()
|
|
|
})
|
|
|
})
|
|
|
|