|
|
@ -106,6 +106,7 @@ |
|
|
|
:openFormCallBack="openFormCallBack" |
|
|
|
:buttonControllFunction="buttonControllFunction" |
|
|
|
@deleteDetail="getList" |
|
|
|
:isShowAddBtn="isShowAddBtn" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
@ -303,6 +304,7 @@ const selectedOptions = ref([]) |
|
|
|
const options = ref([]) |
|
|
|
const isTemporaryShow = ref(false) |
|
|
|
const DeviceMaintenanceDetailFilter = ref(cloneDeep(DeviceMaintenanceDetail)) |
|
|
|
const isShowAddBtn = ref(false) |
|
|
|
// 查询页面返回 |
|
|
|
const searchTableSuccess = (formField, searchField, val, formRef, type, row) => { |
|
|
|
nextTick(() => { |
|
|
@ -815,8 +817,10 @@ const detailRef = ref() |
|
|
|
const openDetail = async (row: any, titleName: any, titleValue: any) => { |
|
|
|
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'); |
|
|
|
isShowAddBtn.value = false |
|
|
|
}else{ |
|
|
|
DeviceMaintenanceDetailFilter.value.allSchemas.tableColumns = DeviceMaintenanceDetail.allSchemas.tableColumns; |
|
|
|
isShowAddBtn.value = true |
|
|
|
} |
|
|
|
const userListAll = await UserApi.getSimpleUserList() |
|
|
|
const factoryList = await selectAllFactoryArea() |
|
|
|