| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 | 
							- <!DOCTYPE html>
 
- <html lang="en">
 
- <head>
 
-     <meta charset="utf-8">
 
-     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 
-     <meta http-equiv="x-ua-compatible" content="ie=edge">
 
-     <title>清单规则编辑器</title>
 
-     <link rel="stylesheet" href="../../css/bootstrap/bootstrap.min.css">
 
-     <!--<link rel="stylesheet" href="../../web/css/bootstrap/themes.css">-->
 
-     <link rel="stylesheet" href="../../css/main.css">
 
-     <link rel="stylesheet" href="../../css/font-awesome/font-awesome.min.css">
 
-     <!--spread-->
 
-     <link rel="stylesheet" href="../../../web/css/spreadjs/gc.spread.sheets.excel2013white.10.0.1.css">
 
-     <!--zTree-->
 
-     <link rel="stylesheet" href="../../css/ztree/zTreeStyle.css" type="text/css">
 
- </head>
 
- <body>
 
-     <div class="header">
 
-         <nav class="navbar navbar-toggleable-lg navbar-light bg-faded p-0 ">
 
-             <span class="header-logo px-2">清单规则编辑器</span>
 
-             <div class="navbar-text"><a href="main.html">清单规则</a><i class="fa fa-angle-right fa-fw"></i>XXX清单规则</div>
 
-         </nav>
 
-         <nav class="navbar navbar-toggleable-lg justify-content-between navbar-light p-0">
 
-               <ul class="nav nav-tabs" role="tablist">
 
-                   <li class="nav-item">
 
-                       <a class="nav-link px-3" href="qingdan.html">清单</a>
 
-                   </li>
 
-                   <li class="nav-item">
 
-                       <a class="nav-link px-3" href="neirong.html">工作内容</a>
 
-                   </li>
 
-                   <li class="nav-item">
 
-                       <a class="nav-link active px-3" href="tezheng.html">项目特征</a>
 
-                   </li>
 
-               </ul>
 
-         </nav>
 
-     </div>
 
-     <div class="main">
 
-       <div class="content">
 
-         <div class="container-fluid">
 
-           <div class="row">
 
-             <div class="main-content col-lg-7 p-0">
 
-               <nav class="tools-bar"></nav>
 
-               <div class="main-data" id="spreadAllItems">
 
-             </div>
 
-             </div>
 
-             <div class="main-side col-lg-5 p-0">
 
-               <div class="main-data" id="spreadEigenvalue">
 
-               </div>
 
-             </div>
 
-           </div>
 
-         </div>
 
-       </div>
 
-     </div>
 
-     <!--弹出添加-->
 
-     <div class="modal fade" id="add" data-backdrop="static" style="display: none;" aria-hidden="true">
 
-         <div class="modal-dialog" role="document">
 
-             <div class="modal-content">
 
-                 <div class="modal-header">
 
-                   <h5 class="modal-title">添加定额</h5>
 
-                   <button type="button" class="close" data-dismiss="modal" aria-label="Close">
 
-                     <span aria-hidden="true">×</span>
 
-                   </button>
 
-                 </div>
 
-                 <div class="modal-body">
 
-                   <form>
 
-                     <div class="form-group">
 
-                       <label>编码</label>
 
-                       <input class="form-control" placeholder="输入编码" type="text">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>名称</label>
 
-                       <input class="form-control" placeholder="输入名称" type="text">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>单位</label>
 
-                       <select class="form-control"><option>选择单位</option><option>m3</option></select>
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>基价</label>
 
-                       <input class="form-control" placeholder="输入基价" type="number">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>显示名称(以%s表示参数)</label>
 
-                       <input class="form-control" placeholder="输入显示名称" type="text">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>默认取费专业</label>
 
-                       <input class="form-control" placeholder="输入取费专业" type="text">
 
-                     </div>
 
-                   </form>
 
-                 </div>
 
-                 <div class="modal-footer">
 
-                     <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
 
-                     <a href="" class="btn btn-primary">添加</a>
 
-                 </div>
 
-             </div>
 
-         </div>
 
-     </div>
 
-     <!--弹出编辑-->
 
-     <div class="modal fade" id="edit" data-backdrop="static" style="display: none;" aria-hidden="true">
 
-         <div class="modal-dialog" role="document">
 
-             <div class="modal-content">
 
-                 <div class="modal-header">
 
-                   <h5 class="modal-title">编辑定额</h5>
 
-                   <button type="button" class="close" data-dismiss="modal" aria-label="Close">
 
-                     <span aria-hidden="true">×</span>
 
-                   </button>
 
-                 </div>
 
-                 <div class="modal-body">
 
-                   <form>
 
-                     <div class="form-group">
 
-                       <label>编码</label>
 
-                       <input class="form-control" placeholder="输入编码" type="text" value="AA0001">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>名称</label>
 
-                       <input class="form-control" placeholder="输入名称" type="text" value="人工挖土方">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>单位</label>
 
-                       <select class="form-control"><option>m3</option></select>
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>基价</label>
 
-                       <input class="form-control" placeholder="输入基价" type="number" value="880.84">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>显示名称(以%s表示参数)</label>
 
-                       <input class="form-control" placeholder="输入显示名称" type="text" value="人工挖土方">
 
-                     </div>
 
-                     <div class="form-group">
 
-                       <label>默认取费专业</label>
 
-                       <input class="form-control" placeholder="输入取费专业" type="text" value="1">
 
-                     </div>
 
-                   </form>
 
-                 </div>
 
-                 <div class="modal-footer">
 
-                     <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
 
-                     <a href="" class="btn btn-primary">确定</a>
 
-                 </div>
 
-             </div>
 
-         </div>
 
-     </div>
 
-     <!--弹出删除-->
 
-     <div class="modal fade" id="del" data-backdrop="static" style="display: none;" aria-hidden="true">
 
-         <div class="modal-dialog" role="document">
 
-             <div class="modal-content">
 
-                 <div class="modal-header">
 
-                   <h5 class="modal-title">删除确认</h5>
 
-                   <button type="button" class="close" data-dismiss="modal" aria-label="Close">
 
-                     <span aria-hidden="true">×</span>
 
-                   </button>
 
-                 </div>
 
-                 <div class="modal-body">
 
-                     <h5 class="text-danger">删除后无法恢复,确认是否删除?</h5>
 
-                 </div>
 
-                 <div class="modal-footer">
 
-                     <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
 
-                     <a href="" class="btn btn-danger">删除</a>
 
-                 </div>
 
-             </div>
 
-         </div>
 
-     </div>
 
-     <!-- JS. -->
 
-     <script src="../../../lib/spreadjs/gc.spread.sheets.all.10.0.1.min.js"></script>
 
-     <script src="../../../lib/jquery/jquery.min.js"></script>
 
-     <script src="../../../lib/tether/tether.min.js"></script>
 
-     <script src="../../../lib/bootstrap/bootstrap.min.js"></script>
 
-     <script src="..//scripts/global.js"></script>
 
-     <script src="..//scripts/setSheets.js"></script>
 
-     <SCRIPT type="text/javascript">
 
-   		$(document).ready(function(){
 
-             buildAllItems();
 
-             buildEigenvalue();
 
-   		});
 
-         function buildAllItems(){
 
-             var spread = new GC.Spread.Sheets.Workbook($("#spreadAllItems")[0], {sheetCount: 1});
 
-             var sheet = spread.getSheet(0);
 
-             var chRowCount = 2;
 
-             var vpColCount = 2;
 
-             var vpRowCount = 28;
 
-             sheet.suspendPaint();
 
-             sheet.suspendEvent();
 
-             initSheet(spread, sheet, chRowCount, vpRowCount, vpColCount);
 
-             setupItemsColHeader(sheet);
 
-             //initRowHeight(sheet);
 
-             setCell(sheet);
 
-             myCommand(spread, sheet);
 
-             setScrollBar(spread, sheet, vpRowCount);
 
-             sheet.resumePaint();
 
-             sheet.resumeEvent();
 
-         }
 
-         function setupItemsColHeader(sheet){
 
-             var ch = GC.Spread.Sheets.SheetArea.colHeader;
 
-             sheet.addSpan(0 ,0, 2, 1, ch);
 
-             sheet.setValue(0, 0, "编号", ch);
 
-             sheet.setColumnWidth(0, 200);
 
-             sheet.addSpan(0 ,1, 2, 1, ch);
 
-             sheet.setValue(0, 1, "项目特征", ch);
 
-             sheet.setColumnWidth(1, 850);
 
-         }
 
-         function buildEigenvalue(){
 
-             var spread = new GC.Spread.Sheets.Workbook($("#spreadEigenvalue")[0], {sheetCount: 1});
 
-             var sheet = spread.getSheet(0);
 
-             var chRowCount = 2;
 
-             var vpColCount = 2;
 
-             var vpRowCount = 6;
 
-             sheet.suspendPaint();
 
-             sheet.suspendEvent();
 
-             initSheet(spread, sheet, chRowCount, vpRowCount, vpColCount);
 
-             setupValueColHeader(sheet);
 
-             //initRowHeight(sheet);
 
-             setCell(sheet);
 
-             myCommand(spread, sheet);
 
-             setScrollBar(spread, sheet, vpRowCount);
 
-             sheet.resumePaint();
 
-             sheet.resumeEvent();
 
-         }
 
-         function setupValueColHeader(sheet){
 
-             var ch = GC.Spread.Sheets.SheetArea.colHeader;
 
-             sheet.addSpan(0 ,0, 2, 1, ch);
 
-             sheet.setValue(0, 0, "编号", ch);
 
-             sheet.setColumnWidth(0, 200);
 
-             sheet.addSpan(0 ,1, 2, 1, ch);
 
-             sheet.setValue(0, 1, "特征值", ch);
 
-             sheet.setColumnWidth(1, 550);
 
-         }
 
-   	</SCRIPT>
 
- </body>
 
- <script type="text/javascript">
 
-     autoFlashHeight();
 
- </script>
 
- </html>
 
 
  |