<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>自有班组管理列表</title>
    <link rel="stylesheet" href="../../layui-v2.8.18/layui/css/layui.css" media="all"/>
</head>
<style>
    .layui-table th{
        font-weight: bold;
        text-align: center
    }
    .layui-table td{
        text-align: center
    }
    .layui-btn-sm {
        height: 35px;
        line-height: 35px;
        padding: 0px 10px;
        font-size: 16px;
    }
</style>
<body style="margin-left: 15px">
<form class="layui-form" action="" onsubmit="return false">
    <div class="layui-form-item" style="margin-bottom: 0px;">
        <div class="layui-inline" style="margin-top: 10px;">
            <div class="layui-input-inline">
                <input type="text" id="keyWord" placeholder="请输入关键字" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-input-inline" style="width: 150px;margin-left: 18px;">
                <select id="teamTypeId" name="teamTypeId" class="form-control input-sm">
                    <option value="">请选择班组类别</option>
                    <option value="1">基础</option>
                    <option value="2">杆塔</option>
                    <option value="3">架线</option>
                </select>
            </div>
            <div class="layui-input-inline" style="width: 150px;margin-left: 18px;">
                <select id="statusId" name="statusId" class="form-control input-sm">
                    <option value="">请选择状态</option>
                    <option value="0">闲置中</option>
                    <option value="1">已投入</option>
                </select>
            </div>

            <div class="layui-input-inline" style="width: 70px;margin-top: 2px">
                <button id="searchBt" class="layui-btn layui-btn-sm">查询</button>
            </div>
            <div class="layui-input-inline" style="width: 70px;margin-top: 2px">
                <button id="resetBt" class="layui-btn layui-btn-sm">重置</button>
            </div>
            <div class="layui-input-inline" style="width: 70px;margin-top: 2px" id="addDiv">
                <button id="addBt" class="layui-btn layui-btn-sm">新增</button>
            </div>
            <div class="layui-input-inline" style="width: 70px;margin-top: 2px">
                <button id="exportBt" class="layui-btn layui-btn-sm">导出</button>
            </div>
            <div class="layui-input-inline" style="width: 70px;margin-top: 2px">
                <button id="bindBt" class="layui-btn layui-btn-sm">分配班组</button>
            </div>
        </div>
    </div>
</form>

<table id="demo" lay-filter="test"></table>
<script type="text/html" id="switchTpl">
    <input type="checkbox" id="statusSwitch" name="status" value="{{d.id}}" lay-skin="switch" {{d.branchName ? 'disabled' : ''}} lay-text="启用|冻结" lay-filter="statusSwitch" {{ d.isUse == 1 ? 'checked' : '' }}>
</script>
<script type="text/html" id="toolsBar">
    <a lay-event="update" style="color: #009688;cursor: pointer;font-size: 15px">修改</a>
    {{#  if(d.status != 1){ }}
    <span style="font-size: 15px;"> | </span>
    <a lay-event="del" style="color: #009688;cursor: pointer;font-size: 15px">删除</a>
    {{#  } }}
</script>

</body>
</html>
<script src="../../js/jquery/jquery-3.6.0.js"></script>
<script src="../../layui-v2.8.18/layui/layui.js"></script>
<script type="text/javascript" src="../../js/jq.js"></script>
<script src="../../js/common_methon.js"></script>
<script type="text/javascript" src="../../js/publicJs.js"></script>
<script type="text/javascript" src="../../js/select.js"></script>
<script type="text/javascript" src="../../js/my/permission.js"></script>
<script src="../../js/ownteam/ownTeamList.js"></script>