横幅等管理

dev
truthhun 2 years ago
parent a6ae07933b
commit 4f6eb43977

@ -29,6 +29,12 @@
横幅的增删改查
- [x] 删除横幅
- [x] 新增横幅
- [x] 更新横幅
- [x] 查看横幅
- [x] 横幅列表
### 系统配置模块
系统配置的增删改查
@ -56,6 +62,9 @@
### 附件模块
附件管理
- [x] 删除附件
- [x] 编辑附件
- [x] 查询附件列表
### 任务模块

@ -41,7 +41,7 @@
</div>
</el-card>
<el-dialog title="编辑附件" :visible.sync="formVisible">
<el-dialog title="编辑附件" width="640px" :visible.sync="formVisible">
<FormAttachment :init-attachment="attachment" @success="formSuccess" />
</el-dialog>
</div>
@ -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' },
]

@ -45,6 +45,7 @@
<el-dialog
:title="friendlink.id ? '编辑友链' : '新增友链'"
:visible.sync="formFriendlinkVisible"
width="640px"
>
<FormFriendlink
ref="friendlinkForm"
@ -191,12 +192,12 @@ export default {
{
type: 'select',
label: '状态',
name: 'status',
name: 'enable',
placeholder: '请选择状态',
multiple: true,
options: [
{ label: '启用', value: 0 },
{ label: '禁用', value: 1 },
{ label: '启用', value: 1 },
{ label: '禁用', value: 0 },
],
},
]

Loading…
Cancel
Save