|
@ -813,15 +813,15 @@ const detailRef = ref() |
|
|
const openDetail = async (row: any, titleName: any, titleValue: any) => { |
|
|
const openDetail = async (row: any, titleName: any, titleValue: any) => { |
|
|
const userListAll = await UserApi.getSimpleUserList() |
|
|
const userListAll = await UserApi.getSimpleUserList() |
|
|
const factoryList = await selectAllFactoryArea() |
|
|
const factoryList = await selectAllFactoryArea() |
|
|
const moldAllList = await MoldAccountsApi.getMoldAccountsAllNoPage({}) |
|
|
const deviceListAll = await DeviceAccountsApi.getDeviceAccountsAllNoPage({}) |
|
|
const deviceMoldTypeList = getStrDictOptions(DICT_TYPE.APP_DEVICE_MOLD_TYPE) |
|
|
const deviceMoldTypeList = getStrDictOptions(DICT_TYPE.APP_DEVICE_MOLD_TYPE) |
|
|
row.typeDetail = deviceMoldTypeList.find((account) => account.value == row.type)?.label |
|
|
row.typeDetail = deviceMoldTypeList.find((account) => account.value == row.type)?.label |
|
|
row.deviceNumberDetail = moldAllList.find((account) => account.number == row.deviceNumber)?.name |
|
|
row.deviceNumberDetail = deviceListAll.find((account) => account.number == row.deviceNumber)?.name |
|
|
row.factoryAreaNumberDetail = factoryList.find((account) => account.id == row.factoryAreaNumber)?.name |
|
|
row.factoryAreaNumberDetail = factoryList.find((account) => account.id == row.factoryAreaNumber)?.name |
|
|
row.maintenanceDetail = userListAll.find((account) => account.id == row.maintenance)?.nickname |
|
|
row.maintenanceDetail = userListAll.find((account) => account.id == row.maintenance)?.nickname |
|
|
row.declarerDetail = userListAll.find((account) => account.id == row.declarer)?.nickname |
|
|
row.declarerDetail = userListAll.find((account) => account.id == row.declarer)?.nickname |
|
|
row.verifyerDetail = userListAll.find((account) => account.id == row.verifyer)?.nickname |
|
|
row.verifyerDetail = userListAll.find((account) => account.id == row.verifyer)?.nickname |
|
|
console.log(row) |
|
|
row.classes = row.classes+'' |
|
|
operatRecord.value = row; |
|
|
operatRecord.value = row; |
|
|
detailRef.value.openDetail(row, titleName, titleValue,'DeviceMaintenanceMain') |
|
|
detailRef.value.openDetail(row, titleName, titleValue,'DeviceMaintenanceMain') |
|
|
} |
|
|
} |
|
@ -918,6 +918,7 @@ function confirmFinish(row) { |
|
|
// 验证 |
|
|
// 验证 |
|
|
function verifyOrder(row) { |
|
|
function verifyOrder(row) { |
|
|
openRowValue.value = row |
|
|
openRowValue.value = row |
|
|
|
|
|
verifyFormValue.value.verifyContent = '' |
|
|
verifyDialogVisible.value = true |
|
|
verifyDialogVisible.value = true |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -946,6 +947,7 @@ function verifyCancel(row) { |
|
|
// 确认 |
|
|
// 确认 |
|
|
function confirmOrder(row) { |
|
|
function confirmOrder(row) { |
|
|
openRowValue.value = row |
|
|
openRowValue.value = row |
|
|
|
|
|
verifyFormValue.value.verifyContent = '' |
|
|
confirmDialogVisible.value = true |
|
|
confirmDialogVisible.value = true |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|