<div class="wrap">
    <h2>签约-房客跟进</h2>
    <form method="get">
        <input type="hidden" name="page" value="customerTrackingList">
        <div id="search_form">
            <label for="status_type" class="hidden"></label>
            <select name="status_type" id="status_type">
                <option value="-1">跟进类型</option>
                {% for item in status %}
                <option
                {{ item.id == status_type ?"selected":"" }} value="{{ item.id }}">{{ item.value }}</option>
                {% endfor %}
            </select>
            <label for="search_consultant_name" class="hidden"></label>
            <input type="text" placeholder="请输入置业顾问" name="search_consultant_name" id="search_consultant_name"
                   value="{{ search_consultant_name }}">
            <span>日期</span>
            <label for="search_min_time" class="hidden"></label>
            <input type="date" name="search_min_time" id="search_min_time" value="{{ search_min_time }}">
            —
            <label for="search_max_time" class="hidden"></label>
            <input type="date" name="search_max_time" id="search_max_time" value="{{ search_max_time }}">
            <input type="submit" id="submit" class="button action" value="搜索">
        </div>
        {{ function("addCustomerTrackingTable") }}
    </form>
</div>
<script>
    $(document).ready(function () {
        search_form_set_page();
    });
</script>