数据类别名称

This commit is contained in:
caishi 2018-02-08 17:18:18 +08:00
parent 7f32f7f068
commit c8135e23c1
3 changed files with 98 additions and 752 deletions

View File

@ -1,29 +1,36 @@
<p id="notice"><%= notice %></p>
<div class="data_showdetail">
<p id="notice"><%= notice %></p>
<p>
<b>Name:</b>
<%= @statistic.name %>
</p>
<div class="detail_part">
<label>数据类别名称:</label>
<%= @statistic.name %>
</div>
<p>
<b>Description:</b>
<%= @statistic.description %>
</p>
<div class="cl detail_part">
<label>描述:</label>
<p class="detail_des"><%= @statistic.description %></p>
</div>
<div class="detail_part">
<label>添加时间:</label>
<%= format_time @statistic.created_at %>
</div>
<div class="detail_part">
<label>用户id:</label>
<%= @statistic.user_id %>
</div>
<div class="detail_part">
<label>状态:</label>
<%= @statistic.status %>
</div>
<p>
<b>User:</b>
<%= @statistic.user_id %>
</p>
<%# 附件局部刷新 %>
<% if @attachments.present? %>
<%= render :partial => 'attachments',:locals => {:attachments => @attachments} %>
<% end %>
<div class="detail_part">
<label>&nbsp;</label>
<%= link_to '编辑', edit_statistic_path(@statistic) ,:class => "submit_btn" %>
<%= link_to '返回', statistics_path ,:class=>"grey_btn" %>
</div>
<p>
<b>Status:</b>
<%= @statistic.status %>
</p>
<%# 附件局部刷新 %>
<% if @attachments.present? %>
<%= render :partial => 'attachments',:locals => {:attachments => @attachments} %>
<% end %>
<%= link_to 'Edit', edit_statistic_path(@statistic) %> |
<%= link_to 'Back', statistics_path %>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -992,10 +992,14 @@ span.down{display: block;position: absolute;top: 13px;right: 4px;width: 12px;hei
width: 50px;box-sizing: border-box;
height: 30px;
font-family: '微软雅黑',Arial,Helvetica,sans-serif;
font-size: 12px;
font-size: 14px;
color: #fff;
padding: 3px 9px;
background: #269ac9;
border-radius: 4px;
border: 1px solid #269ac9;color: #fff!important;align-items: flex-start;
cursor: pointer;}
cursor: pointer;}
.data_showdetail{background: #fff;padding: 20px 15px;margin-top: 20px;font-size: 15px}
.data_showdetail .detail_part{margin-bottom: 15px;}
.data_showdetail .detail_part label{width: 13%;padding-right: 10px;box-sizing: border-box;text-align: right;display: block;float: left}
.detail_des{border:none;padding: 0px;float: left;max-width: 818px;word-wrap: break-word;}