From 4f6eb4397789d64962ef6a0a8f587bca155937ff Mon Sep 17 00:00:00 2001 From: truthhun Date: Mon, 17 Oct 2022 21:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=AA=E5=B9=85=E7=AD=89=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/TODO.md | 9 +++++++++ web/pages/admin/attachment.vue | 8 ++++---- web/pages/admin/friendlink.vue | 7 ++++--- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index eced34d..c52dc59 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -29,6 +29,12 @@ 横幅的增删改查 +- [x] 删除横幅 +- [x] 新增横幅 +- [x] 更新横幅 +- [x] 查看横幅 +- [x] 横幅列表 + ### 系统配置模块 系统配置的增删改查 @@ -56,6 +62,9 @@ ### 附件模块 附件管理 +- [x] 删除附件 +- [x] 编辑附件 +- [x] 查询附件列表 ### 任务模块 diff --git a/web/pages/admin/attachment.vue b/web/pages/admin/attachment.vue index cef8793..6cbdd94 100644 --- a/web/pages/admin/attachment.vue +++ b/web/pages/admin/attachment.vue @@ -41,7 +41,7 @@ - + @@ -206,15 +206,15 @@ export default { width: 80, type: 'bool', }, - { prop: 'hash', label: 'HASH', width: 280 }, { prop: 'username', label: '上传者', width: 120 }, + { prop: 'ip', label: 'IP', width: 120 }, { prop: 'size', label: '大小', width: 90, type: 'bytes' }, { prop: 'width', label: '宽', width: 90 }, { prop: 'height', label: '高', width: 90 }, { prop: 'ext', label: '扩展', width: 90 }, - { prop: 'ip', label: 'IP', width: 120 }, - { prop: 'description', label: '备注', width: 200 }, + { prop: 'hash', label: 'HASH', width: 280 }, { prop: 'path', label: '存储路径', minWidth: 300 }, + { prop: 'description', label: '备注', width: 200 }, { prop: 'created_at', label: '创建时间', width: 160, type: 'datetime' }, { prop: 'updated_at', label: '更新时间', width: 160, type: 'datetime' }, ] diff --git a/web/pages/admin/friendlink.vue b/web/pages/admin/friendlink.vue index e006154..7e0e4da 100644 --- a/web/pages/admin/friendlink.vue +++ b/web/pages/admin/friendlink.vue @@ -45,6 +45,7 @@