diff --git a/src/api/eam/item/replaceItemDes/index.ts b/src/api/eam/item/replaceItemDes/index.ts index 502c819..4c7daf4 100644 --- a/src/api/eam/item/replaceItemDes/index.ts +++ b/src/api/eam/item/replaceItemDes/index.ts @@ -12,6 +12,7 @@ export interface AttachmentFileVO { // 查询备件台账列表 export const getReplaceItemDesPage = async (params) => { + params.funcCode="Replace_Item_Des" if (params.isSearch) { delete params.isSearch const data = {...params} diff --git a/src/views/eam/item/replaceItemDes/index.vue b/src/views/eam/item/replaceItemDes/index.vue index 9a74584..a20890e 100644 --- a/src/views/eam/item/replaceItemDes/index.vue +++ b/src/views/eam/item/replaceItemDes/index.vue @@ -4,29 +4,17 @@ - - + + - + }" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage" + v-model:sort="tableObject.sort"> diff --git a/src/views/eam/item/replaceItemDes/replaceItemDes.data.ts b/src/views/eam/item/replaceItemDes/replaceItemDes.data.ts index b4c4c8a..77def59 100644 --- a/src/views/eam/item/replaceItemDes/replaceItemDes.data.ts +++ b/src/views/eam/item/replaceItemDes/replaceItemDes.data.ts @@ -37,8 +37,9 @@ export const ReplaceItemDes = useCrudSchemas(reactive([ }, { label: '文件', - field: 'filePathList', + field: 'filePathListView', sort: 'custom', + isTable: false, table: { }, form: { @@ -48,6 +49,28 @@ export const ReplaceItemDes = useCrudSchemas(reactive([ } } }, + { + label: '文件', + field: 'filePathList', + sort: 'custom', + isTable: false, + isForm: false, + table: { + }, + form: { + component: 'UploadFile', + componentProps: { + + } + } + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isForm: false + }, { label: '操作', field: 'action',