Merge branch 'master' of http://192.168.1.22:3000/frontend/pqs-9100_client
This commit is contained in:
@@ -39,7 +39,7 @@ import { type ProTableInstance, type ColumnProps } from '@/components/ProTable/i
|
||||
import DevicePopup from '@/views/machine/device/components/devicePopup.vue'
|
||||
import { CirclePlus, Delete, EditPen, Download, Upload } from '@element-plus/icons-vue'
|
||||
import { useDictStore } from '@/stores/modules/dict'
|
||||
import {getPqDevList, deletePqDev, exportPqDev, importPqDev} from '@/api/device/device.ts'
|
||||
import {getPqDevList, deletePqDev, exportPqDev, downloadTemplate,importPqDev} from '@/api/device/device.ts'
|
||||
import { reactive, ref } from 'vue'
|
||||
import { ElMessageBox } from 'element-plus'
|
||||
|
||||
@@ -159,8 +159,9 @@ const deviceImportExcel = ref<InstanceType<typeof ImportExcel> | null>(null)
|
||||
|
||||
const importFile=async ()=>{
|
||||
const params = {
|
||||
title: '设备',
|
||||
tempApi: exportPqDev,
|
||||
title: '被检设备',
|
||||
showCover: false,
|
||||
tempApi: downloadTemplate,
|
||||
importApi: importPqDev,
|
||||
getTableList: proTable.value?.getTableList,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user