|
|
@ -774,9 +774,9 @@ const openFormSec = async (type: string, row?: any) => { |
|
|
|
DeviceMaintenanceMainSec.allSchemas.formSchema.find(item => { |
|
|
|
return item.field == 'maintenance' |
|
|
|
}).componentProps.disabled = true |
|
|
|
DeviceMaintenanceMainSec.allSchemas.formSchema.find((item) => { |
|
|
|
return item.field == 'type' |
|
|
|
}).componentProps.disabled = true |
|
|
|
// DeviceMaintenanceMainSec.allSchemas.formSchema.find((item) => { |
|
|
|
// return item.field == 'type' |
|
|
|
// }).componentProps.disabled = true |
|
|
|
DeviceMaintenanceMainSec.allSchemas.formSchema.find((item) => { |
|
|
|
return item.field == 'type' |
|
|
|
}).value = 'DEVICE' |
|
|
@ -813,7 +813,7 @@ const openFormSec = async (type: string, row?: any) => { |
|
|
|
/** 详情操作 */ |
|
|
|
const detailRef = ref() |
|
|
|
const openDetail = async (row: any, titleName: any, titleValue: any) => { |
|
|
|
if(row.status == 'COMPLETED' || row.status == 'VERIFIED' || row.status == 'APPLYPASS'){ |
|
|
|
if(row.status == 'COMPLETED' || row.status == 'VERIFIED' || row.status == 'APPLYPASS' || row.status == 'APPROVEPASS'){ |
|
|
|
DeviceMaintenanceDetailFilter.value.allSchemas.tableColumns = DeviceMaintenanceDetail.allSchemas.tableColumns.filter(item => item.field !== 'action'); |
|
|
|
}else{ |
|
|
|
DeviceMaintenanceDetailFilter.value.allSchemas.tableColumns = DeviceMaintenanceDetail.allSchemas.tableColumns; |
|
|
|