<div class="main-panel">
    <div class="panel-sidebar">
        <div class="sidebar-title">项目设置</div>
        <div class="scrollbar-auto">
            <div class="nav-box">
                <ul class="nav-list list-unstyled">
      <li><a href="settings-poj.html"><span>项目信息</span></a></li>
                    <li><a href="settings-user.html"><span>账号设置</span></a></li>
      <li class="active"><a href="settings-data.html"><span>标段管理</span></a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="panel-content">
        <div class="panel-title">
            <div class="title-main  d-flex justify-content-between">
    <div>
      项目信息
    </div>
    <div>
        <a href="#add-folder" data-toggle="modal" data-target="#add-folder" class="btn btn-sm btn-primary pull-right"><i class="fas fa-folder"></i> 新建文件夹</a>
        <a href="#add-bd" data-toggle="modal" data-target="#add-bd" class="btn btn-sm btn-primary pull-right">新建标段</a>
    </div>
            </div>
        </div>
        <div class="content-wrap">
            <div class="c-body">
    <div class="sjs-height-0">
      <!--没有标段数据-->
      <div class="jumbotron m-3">
        <h3 class="display-6">没有标段数据</h3>
      </div>
      <div class="m-3">
      <!--管理标段-->
      <table class="table table-hover table-bordered">
        <thead class="text-center">
          <th>名称</th>
          <th width="200">成员</th>
          <th width="200">操作</th>
        </thead>
        <tr>
          <td class="in-1"><span class="fold-switch mr-1" title="展开"><i class="fal fa-plus-square"></i></span><i class="fal fa-folder"></i>&nbsp;文件夹1</td>
          <td></td>
          <td></td>
        </tr>
        <tr>
          <td class="in-1"><span class="fold-switch mr-1" title="收起"><i class="fal fa-minus-square"></i></span><i class="fal fa-folder-open"></i>&nbsp;文件夹2</td>
          <td></td>
          <td></td>
        </tr>
        <tr>
          <td class="in-2"><span class="fold-switch mr-1" title="收起"><i class="fal fa-minus-square"></i></span><i class="fal fa-folder-open"></i>&nbsp;文件夹2.1</td>
          <td></td>
          <td><a href="#move-folder" data-toggle="modal" data-target="#move-folder" class="btn btn-outline-primary btn-sm"><i class="fas fa-exchange-alt fa-rotate-90"></i> 移动</a></td>
        </tr>
        <tr>
          <td class="in-3"><span class="text-muted mr-2">├</span><a href="biaoduan-panel.html">WWUJ-1</a></td>
            <td>3 成员 <a href="settings-data-member.html" class="btn btn-outline-primary btn-sm">成员管理</a></td>
            <td>
              <a href="#add-bd" data-toggle="modal" data-target="#add-bd" class="btn btn-outline-primary btn-sm">编辑</a>
              <button class="btn btn-outline-secondary btn-sm ml-1 disabled" data-toggle="tooltip" data-placement="top" title="请先移除所有数据">删除</button>
            </td>
        </tr>
        <tr>
          <td class="in-3"><span class="text-muted mr-2">└</span><a href="biaoduan-panel.html">WWUJ-4</a></td>
            <td>3 成员 <a href="settings-data-member.html" class="btn btn-outline-primary btn-sm">成员管理</a></td>
            <td>
              <a href="#add-bd" data-toggle="modal" data-target="#add-bd" class="btn btn-outline-primary btn-sm">编辑</a>
              <button class="btn btn-outline-secondary btn-sm ml-1 disabled" data-toggle="tooltip" data-placement="top" title="请先移除所有数据">删除</button>
            </td>
        </tr>
        <tr>
          <td class="in-2"><span class="fold-switch mr-1" title="收起"><i class="fal fa-minus-square"></i></span><i class="fal fa-folder-open"></i>&nbsp;文件夹2.2</td>
          <td></td>
          <td><a href="#move-folder" data-toggle="modal" data-target="#move-folder" class="btn btn-outline-primary btn-sm"><i class="fas fa-exchange-alt fa-rotate-90"></i> 移动</a></td>
        </tr>
        <tr>
          <td class="in-3"><span class="text-muted mr-2">├</span><a href="#">WWUJ-2</a></td>
            <td>1 成员 <a href="settings-data-member.html" class="btn btn-outline-primary btn-sm">成员管理</a></td>
            <td>
              <a href="#add-bd" data-toggle="modal" data-target="#add-bd" class="btn btn-outline-primary btn-sm">编辑</a>
              <button class="btn btn-outline-secondary btn-sm ml-1 disabled" data-toggle="tooltip" data-placement="top" title="请先移除所有数据">删除</button>
            </td>
        </tr>
        <tr>
          <td class="in-3"><span class="text-muted mr-2">└</span><a href="biaoduan-panel.html">WWUJ-3</a></td>
            <td><a href="settings-data-member.html" class="btn btn-outline-primary btn-sm">成员管理</a></td>
            <td>
              <a href="#add-bd" data-toggle="modal" data-target="#add-bd" class="btn btn-outline-primary btn-sm">编辑</a>
              <a href="#del-bd" data-toggle="modal" data-target="#del-bd" class="btn btn-outline-danger btn-sm ml-1">删除</a>
            </td>
        </tr>
        <tr>
          <td class="in-3"><span class="text-muted mr-2">└</span><a href="biaoduan-panel.html">WWUJ-5</a></td>
            <td><a href="settings-data-member.html" class="btn btn-outline-primary btn-sm">成员管理</a></td>
            <td>
              <a href="#add-bd" data-toggle="modal" data-target="#add-bd" class="btn btn-outline-primary btn-sm">编辑</a>
              <a href="#del-bd2" data-toggle="modal" data-target="#del-bd2" class="btn btn-outline-danger btn-sm ml-1">删除</a>
            </td>
        </tr>
      </table>
      </div>
    </div>
            </div>
        </div>
    </div>
</div>


{{ define "bidsection/manage/index-body"}}
<!--弹出添加标段-->
<div class="modal fade" id="add-folder" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">新建文件夹</h5>
            </div>
            <div class="modal-body">
              <div class="form-group">
                <label>文件夹父级</label>
                <input class="form-control form-control-sm"  placeholder="选择文件夹父级" type="text"  data-toggle="dropdown" >
                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                    <div class="modal-height-300">
                  <form class="p-2">
                       <ul id="treeDemo3" class="ztree"></ul>
                  </form>
                    </div>
                </div>
              </div>
              <div class="form-group">
                <label>文件夹名称<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm"  placeholder="输入文件夹名称" type="text">
              </div>
              <div class="form-group">
                <label>文件夹名称<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm is-invalid"  placeholder="输入文件夹名称" type="text" value="名称超过100个字">
                <div class="invalid-feedback">
                  名称超过30个字，请缩减名称。
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">取消</button>
              <button type="button" class="btn btn-sm btn-primary">确定添加</button>
            </div>
        </div>
    </div>
</div>
<!--弹出添加标段-->
<div class="modal fade" id="add-bd" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">添加新标段</h5>
            </div>
            <div class="modal-body">
              <div class="form-group">
                <label>文件夹<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm"  placeholder="选择文件夹目录" type="text"  data-toggle="dropdown" >
                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                    <div class="modal-height-300">
                  <form class="p-2">
                       <ul id="treeDemo3" class="ztree"></ul>
                  </form>
                    </div>
                </div>
              </div>
              <div class="form-group">
                <label>标段名称<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm"  placeholder="输入标段名称" type="text">
              </div>
              <div class="form-group">
                <label>标段名称<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm is-invalid"  placeholder="输入标段名称" type="text" value="名称超过100个字">
                <div class="invalid-feedback">
                  名称超过100个字，请缩减名称。
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">取消</button>
              <button type="button" class="btn btn-sm btn-primary">确定添加</button>
            </div>
        </div>
    </div>
</div>
<!--弹出编辑标段-->
<div class="modal fade" id="add-bd" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">编辑标段</h5>
            </div>
            <div class="modal-body">
              <div class="form-group">
                <label>文件夹父级<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm"  placeholder="选择文件夹父级录" type="text"  data-toggle="dropdown" >
                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                    <div class="modal-height-300">
                  <form class="p-2">
                       <ul id="treeDemo3" class="ztree"></ul>
                  </form>
                    </div>
                </div>
              </div>
              <div class="form-group">
                <label>标段名称<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm"  placeholder="输入标段名称" type="text">
              </div>
              <div class="form-group">
                <label>标段名称<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm is-invalid"  placeholder="输入标段名称" type="text" value="名称超过100个字">
                <div class="invalid-feedback">
                  名称超过100个字，请缩减名称。
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
              <button type="button" class="btn btn-primary">确定修改</button>
            </div>
        </div>
    </div>
</div>
<!--删除标段-->
<div class="modal fade" id="del-bd" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">删除标段</h5>
            </div>
            <div class="modal-body">
              <h6>确认删除「WWUJ-3」？</h6>
              <h6>删除后，数据无法恢复，请谨慎操作。</h6>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-sm btn-secondary" data-dismiss="modal">取消</button>
              <button type="button" class="btn btn-sm btn-danger">确定删除</button>
            </div>
        </div>
    </div>
</div>
<!--弹出移动文件夹-->
<div class="modal fade" id="move-folder" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">移动文件夹</h5>
            </div>
            <div class="modal-body">
              <div class="form-group">
                <label>文件夹父级<b class="text-danger">*</b></label>
                <input class="form-control form-control-sm"  placeholder="选择文件夹父级录" type="text"  data-toggle="dropdown" >
                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                    <div class="modal-height-300">
                  <form class="p-2">
                       <ul id="treeDemo3" class="ztree"></ul>
                  </form>
                    </div>
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
              <button type="button" class="btn btn-primary">确定修改</button>
            </div>
        </div>
    </div>
</div>
{{ end }}