|
@ -111,6 +111,7 @@ import * as DeviceMaintainOrderMainApi from '@/api/eam/device/deviceMaintainOrde |
|
|
import * as DeviceMaintainOrderDetailApi from '@/api/eam/device/deviceMaintainOrderDetail' |
|
|
import * as DeviceMaintainOrderDetailApi from '@/api/eam/device/deviceMaintainOrderDetail' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
import { useUserStore } from '@/store/modules/user' |
|
|
|
|
|
import * as UserApi from '@/api/system/user' |
|
|
|
|
|
|
|
|
defineOptions({ name: 'DeviceMaintainOrderMain' }) |
|
|
defineOptions({ name: 'DeviceMaintainOrderMain' }) |
|
|
const message = useMessage() // 消息弹窗 |
|
|
const message = useMessage() // 消息弹窗 |
|
@ -280,7 +281,9 @@ const openForm = (type: string, row?: any) => { |
|
|
|
|
|
|
|
|
/** 详情操作 */ |
|
|
/** 详情操作 */ |
|
|
const detailRef = ref() |
|
|
const detailRef = ref() |
|
|
const openDetail = (row: any, titleName: any, titleValue: any) => { |
|
|
const openDetail =async (row: any, titleName: any, titleValue: any) => { |
|
|
|
|
|
const userListAll = await UserApi.getSimpleUserList() |
|
|
|
|
|
row.maintenanceName = userListAll.find((account) => account.id == row.maintenance)?.nickname |
|
|
detailRef.value.openDetail(row, titleName, titleValue,'DeviceMaintainOrderMain') |
|
|
detailRef.value.openDetail(row, titleName, titleValue,'DeviceMaintainOrderMain') |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|