{% if art|length %} {% for msg in art %}
<tr>
    <td>{{ msg.name }}</td>
    <td>
        {{ msg.farm }}
    </td>
    <td>{{ msg.scale }}</td>
    <td>{{ msg.ripe_time }}</td>
    <td>{{ msg.addr }}</td>
    <td>{{ msg.pick_s }}月~{{ msg.pick_e }}月</td>
    <td>
        {% if msg.hidden == 0 %}
        <a href="JavaScript:;" class="editBtn" onclick="editFun('{{msg.id}}')">编辑</a>
        |
        <a href="JavaScript:;" class="passBtn"  onclick="passFun('{{msg.id}}')">通过</a>
        |
        {% else %}
            <!-- {% if msg.hatType == 1 %}
            <button type="button" onclick="hatPush('{{msg.id}}',1)" class="layui-btn layui-btn-xs layui-btn-danger hatPush"><i class="layui-icon layui-icon-fire"></i></button>
            {% else %}
            <button type="button" onclick="hatPush('{{msg.id}}',0)" class="layui-btn layui-btn-xs layui-btn-primary rejectBtn"><i class="layui-icon layui-icon-fire"></i></button>
            {% endif %}
            <span>|</span> -->
        {% endif %}
        <a href="JavaScript:;" class="delBtn" onclick="delFun('{{msg.id}}')">删除</a>
        |
        <a href="JavaScript:;" class="lokBtn" onclick="lokFun('{{msg.id}}')">查看</a>
        <!-- <button type="button" class="layui-btn layui-btn-sm layui-btn-normal">编辑</button>
        <button type="button" class="layui-btn layui-btn-sm ">通过</button>
        <button type="button" class="layui-btn layui-btn-sm ">{{msg.id}}</button> -->
    </td>
</tr>
{% endfor %} {% else %}
<tr>
    <td colspan="7" style="text-align:center;">暂无数据</td>
</tr>
{% endif %}
<input type="hidden" value="{{nums}}" id="totalPage">