1、实现文章列表、设置、编辑功能

2、实现文章附件功能
This commit is contained in:
lifei6671
2018-07-17 19:13:11 +08:00
parent 96ba414dd8
commit 86637ef581
15 changed files with 1521 additions and 425 deletions

View File

@@ -55,13 +55,15 @@
{{end}}
</div>
<div class="form-group">
<label>项目名称</label>
<label>项目/文章名称</label>
<input type="text" value="{{.Model.BookName}}" class="form-control input-readonly" readonly placeholder="项目名称">
</div>
{{if ne .Model.BookId 0}}
<div class="form-group">
<label>文档名称</label>
<input type="text" value="{{.Model.DocumentName}}" class="form-control input-readonly" readonly placeholder="文档名称">
</div>
{{end}}
<div class="form-group">
<label>文件路径</label>
<input type="text" value="{{.Model.FilePath}}" class="form-control input-readonly" readonly placeholder="文件路径">

View File

@@ -48,7 +48,7 @@
<tr>
<th>#</th>
<th>附件名称</th>
<th>项目名称</th>
<th>项目/文章名称</th>
<th>文件大小</th>
<th>是否存在</th>
<th>操作</th>