瀏覽代碼

update col setting

zhangweicheng 6 年之前
父節點
當前提交
6295931c68

+ 2 - 2
web/maintain/main_col_lib/html/main.html

@@ -13,8 +13,8 @@
                                 <td><%= lib.compilationName%></td>
                                 <td><%= moment(lib.createDate).format('YYYY-MM-DD')%></td>
                                 <td>
-                                    <a href="javacript:void(0);" onclick='getMainColLib("<%= lib.ID%>")' title="编辑"><i class="fa fa-pencil-square-o"></i></a>
-                                    <a href="javacript:void(0);" onclick='showDeleteModal("<%= lib.ID%>")'class="text-danger" title="删除"><i class="fa fa-remove"></i></a>
+                                    <a style="color: #0275d8" onclick='getMainColLib("<%= 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>
                                 </td>
                             </tr>
                             <% } %>

+ 3 - 0
web/maintain/main_col_lib/js/main_tree_col.js

@@ -93,6 +93,9 @@ let MainTreeCol = {
         forCode:function (node) {
             return MainTreeCol.readOnly.glj(node)|| (node.sourceType === projectObj.project.Ration.getSourceType()&&node.data.type===rationType.gljRation);
         },
+        forName:function (node) {
+
+        },
         forUnit:function (node) {
             if(MainTreeCol.readOnly.bills(node)&&(node.data.type==billType.DXFY||node.data.type==billType.FB)){//在大项费用、分部行,计量单位只读。
                 return true;

web/users/js/main_tree_col.js → web/users/js/main_tree_col_backup.js


+ 0 - 1
web/users/views/compilation/engineering.html

@@ -209,5 +209,4 @@
 <script type="text/javascript" src="/public/web/id_tree.js"></script>
 <script type="text/javascript" src="/public/web/tree_sheet/tree_sheet_helper.js"></script>
 <script type="text/javascript" src="/web/users/js/compilation.js"></script>
-<script type="text/javascript" src="/web/users/js/main_tree_col.js"></script>
 <%include ../compilation/modal.html %>