diff --git a/src/api/wms/file/index.ts b/src/api/wms/file/index.ts new file mode 100644 index 000000000..f81718173 --- /dev/null +++ b/src/api/wms/file/index.ts @@ -0,0 +1,12 @@ +import request from '@/config/axios' + +// 查询变更记录列表 +export const getFileList = async (params) => { + return await request.get({ url: `/infra/file/list`, params }) +} + +// 删除库区 +export const deleteFile = async (id: number) => { + return await request.delete({ url: `/infra/file/delete?id=` + id }) +} + diff --git a/src/components/Annex/src/Annex.vue b/src/components/Annex/src/Annex.vue index 48321f2ba..703db3fdd 100644 --- a/src/components/Annex/src/Annex.vue +++ b/src/components/Annex/src/Annex.vue @@ -3,21 +3,22 @@
附件
- +
-
+
-
{{ item.title}}
+
{{ item.name }}
-
{{ item.size }}
-
来自 {{ item.people }}
+
{{ item.size }}KB
+
来自 {{ item.nickname }}
- +
-
{{ item.time }}
+
{{ formatDate(item.createTime) }}
@@ -26,6 +27,7 @@ @@ -106,7 +102,7 @@ const deleteAnnex =async (item) => { div { color: #b6b6b6; margin-right: 20px; - font-size: 14px; + font-size: 14px; } } diff --git a/src/components/ChangeRecord/src/ChangeRecord.vue b/src/components/ChangeRecord/src/ChangeRecord.vue index 379e9b7ae..a7de4f902 100644 --- a/src/components/ChangeRecord/src/ChangeRecord.vue +++ b/src/components/ChangeRecord/src/ChangeRecord.vue @@ -10,7 +10,7 @@ @@ -22,17 +22,30 @@