소스 검색

隐藏公司名字段及下拉列表

VapourXiao 7 년 전
부모
커밋
2507d24398
1개의 변경된 파일10개의 추가작업 그리고 6개의 파일을 삭제
  1. 10 6
      src/widgets/HiddenDangerSearch/Widget.html

+ 10 - 6
src/widgets/HiddenDangerSearch/Widget.html

@@ -36,8 +36,9 @@
                     <% if (depid=="") { %>
 
                         <div class="form-group">
-                            <label for="company">公司名称</label>
-                            <select class="input-sm form-control company" id="company"> 
+                            <!-- modify by 肖成 不需要显示公司名,隐藏该字段 -->
+                            <label for="company" style="display:none">公司名称</label>
+                            <select class="input-sm form-control company" id="company" style="display:none"> 
                                         
                                 </select>
                         </div>
@@ -167,11 +168,13 @@
                     <th>地址</th>
                     <th>巡检片区</th>
                     <th>上报时间</th>
-                    <% if (range==00) { %>
+
+                    <!-- modify by 肖成 不需要显示公司名 -->
+                    <!-- <% if (range==00) { %>
                         <th>公司名</th>
                         <% } else { %>
 
-                            <% } %>
+                            <% } %> -->
                                 <th>是否隐患</th>
                                 <th>级别</th>
                                 <!--<th>是否处理</th>-->
@@ -274,8 +277,9 @@
                     <% if (depid=="") { %>
 
                         <div class="form-group">
-                            <label for="company">公司名称</label>
-                            <select class="input-sm form-control company" id="company"> 
+                             <!-- modify by 肖成 不需要显示公司名,隐藏该字段 -->
+                            <label for="company" style="display:none">公司名称</label>
+                            <select class="input-sm form-control company" id="company" style="display:none"> 
                                         
                                 </select>
                         </div>