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 @@