|
|
@ -90,6 +90,7 @@ import { useUserStore } from '@/store/modules/user' |
|
|
|
import { selectAllFactoryArea } from '@/api/system/dept' |
|
|
|
import * as UserApi from '@/api/system/user' |
|
|
|
import * as DeviceAccountsApi from '@/api/eam/device/deviceAccounts' |
|
|
|
import * as DeviceMaintenanceMainApi from '@/api/eam/device/deviceMaintenanceMain' |
|
|
|
|
|
|
|
// import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
|
// import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
@ -217,6 +218,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
/** 添加/修改操作 */ |
|
|
|
const basicFormRef = ref() |
|
|
|
const openForm = async (type: string, row?: any) => { |
|
|
|
tableData.value = [] // 重置明细数据 |
|
|
|
const deviceListAll = await DeviceAccountsApi.getDeviceAccountsAllNoPage({}) |
|
|
|
const deviceList = await DeviceAccountsApi.getDeviceAccountsNoPage({}) |
|
|
|
if (type == 'update') { |
|
|
|