|
|
@@ -19,17 +19,18 @@
|
|
|
<div class="col-md-8">
|
|
|
<div class="warp-p2 mt-3">
|
|
|
<table class="table table-hover table-bordered">
|
|
|
- <thead><tr><th>库名称</th><th>自定义显示名称</th><th >费用定额</th><th width="160">添加时间</th><th width="120">操作</th></tr></thead>
|
|
|
+ <thead><tr><th>库名称</th><th>自定义显示名称</th><th >费用定额</th><th width="160">添加时间</th><th width="70">操作</th></tr></thead>
|
|
|
<tbody id="showArea">
|
|
|
<% for(let lib of calcProgramLibs){ %>
|
|
|
<tr class="libTr">
|
|
|
- <td id="<%= lib.ID%>"><a href="/calcProgram/edit/<%= lib.ID%>"><%= lib.libName%></a></td>
|
|
|
+ <td id="<%= lib.ID%>"><a href="/calcProgram/edit/<%= lib.ID%>?locked=true"><%= lib.libName%></a></td>
|
|
|
<td><%= lib.displayName%></td>
|
|
|
<td><%= lib.compilationName%></td>
|
|
|
<td><%= moment(lib.createDate).format('YYYY-MM-DD')%></td>
|
|
|
<td>
|
|
|
- <a style="color: #0275d8" onclick='getCalcProgramLib("<%= lib.ID%>")' title="编辑"><i class="fa fa-pencil-square-o"></i></a>
|
|
|
- <a style="color: #0275d8" onclick='showDeleteModal("<%= lib.ID%>")' class="text-danger" title="删除"><i class="fa fa-remove"></i></a>
|
|
|
+ <a class="lock-btn-control disabled" href="javascript:void(0);" style="color: #0275d8" onclick='getCalcProgramLib("<%= lib.ID%>")' title="编辑"><i class="fa fa-pencil-square-o"></i></a>
|
|
|
+ <a class="text-danger lock-btn-control disabled" href="javascript:void(0);" style="color: #0275d8" onclick='showDeleteModal("<%= lib.ID%>")' title="删除"><i class="fa fa-remove"></i></a>
|
|
|
+ <a class="lock" data-locked="true" href="javascript:void(0);" title="解锁"><i class="fa fa-unlock-alt"></i></a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<% } %>
|
|
|
@@ -135,4 +136,5 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+<script src="/public/web/lock_util.js"></script>
|
|
|
<script type="text/javascript" src="/web/maintain/calc_program_lib/js/calc_program.js"></script>
|