<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<html xmlns:c="http://java.sun.com/jsp/jstl/core" lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <title>评价记录</title>
    <link rel="stylesheet" href="/static/css/wechat/weui.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/wechat/iconfont/iconfont.css"/>
    <link rel="stylesheet" href="/static/css/wechat/style.css">
    <style type="text/css">
    .weui-picker{
        font-size: 15px;
    }
    .evalustionlist_pj_ul li{
        display: inline-block;
        margin: 0.375rem 0.05rem;
    }
    </style>
</head>

<body ontouchstart class="bg-white">
<header>
    <div class="header">
        <a href="" class="btn-a-back"><i class="iconfont">&#xe61f;</i></a>
        <h2>评价列表</h2>
    </div>
</header>
<div class="visit-record___dl">
    <div class="weui-flex__item visit-record___dt t__c col_000" id="showPicker" th:switch="${checkStatus}">
        <span th:case="'0'">未审核</span>
        <span th:case="'1'">审核</span>
        <i class="iconfont">&#xe646;</i>
    </div>
</div>
<input id="delById" name="delById" type="hidden" value="">
    <!--<div class="visit-record___dd">-->
        <div class="my-client" th:each="evaluation : ${evaluationList}">
            <div class="pl_list_address">
                <p th:text="${evaluation.customerName}"></p>&nbsp;&nbsp; | &nbsp;&nbsp;<p th:text="${evaluation.projectName}"></p>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__hd">
                    <p class="f24">
                        <p class="my-client___star" th:switch="${evaluation.score}">
                        <span th:case="'1'"><i class="iconfont col_ff7300">&#xe632;</i></span>
                        <span th:case="'2'"><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i></span>
                        <span th:case="'3'"><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i></span>
                        <span th:case="'4'"><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i></span>
                        <span th:case="'5'"><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i><i class="iconfont col_ff7300">&#xe632;</i></span>
                        </p>
                    </p>
                    <ul class="evalustionlist_pj_ul">
                        <!--<c:choose>-->
                            <!--<c:when test="${null ne evaluation.tag0 && '' ne evaluation.tag0}">-->
                                <!--<li class="evalustionlist_pj_li"><p th:text="${evaluation.tag0}"></p></li>-->
                            <!--</c:when>-->
                            <!--<c:when test="${null ne evaluation.tag1 && '' ne evaluation.tag1}">-->
                                <!--<li class="evalustionlist_pj_li"><p th:text="${evaluation.tag1}"></p></li>-->
                            <!--</c:when>-->
                            <!--<c:when test="${null ne evaluation.tag2 && '' ne evaluation.tag2}">-->
                                <!--<li class="evalustionlist_pj_li"><p th:text="${evaluation.tag2}"></p></li>-->
                            <!--</c:when>-->
                            <!--<c:when test="${null ne evaluation.tag3 && '' ne evaluation.tag3}">-->
                                <!--<li class="evalustionlist_pj_li"><p th:text="${evaluation.tag3}"></p></li>-->
                            <!--</c:when>-->
                            <!--<c:when test="${null ne evaluation.tag4 && '' ne evaluation.tag4}">-->
                                <!--<li class="evalustionlist_pj_li"><p th:text="${evaluation.tag4}"></p></li>-->
                            <!--</c:when>-->
                            <!--<c:when test="${null ne evaluation.tag5 && '' ne evaluation.tag5}">-->
                                <!--<li class="evalustionlist_pj_li"><p th:text="${evaluation.tag5}"></p></li>-->
                            <!--</c:when>-->
                        <!--</c:choose>-->
                        <c:if test="${null ne evaluation.tag0 && '' ne evaluation.tag0}"><li class="evalustionlist_pj_li"><p th:text="${evaluation.tag0}"></p></li></c:if>
                        <c:if test="${null ne evaluation.tag1 && '' ne evaluation.tag1}"><li class="evalustionlist_pj_li"><p th:text="${evaluation.tag1}"></p></li></c:if>
                        <c:if test="${null ne evaluation.tag2 && '' ne evaluation.tag2}"><li class="evalustionlist_pj_li"><p th:text="${evaluation.tag2}"></p></li></c:if>
                        <c:if test="${null ne evaluation.tag3 && '' ne evaluation.tag3}"><li class="evalustionlist_pj_li"><p th:text="${evaluation.tag3}"></p></li></c:if>
                        <c:if test="${null ne evaluation.tag4 && '' ne evaluation.tag4}"><li class="evalustionlist_pj_li"><p th:text="${evaluation.tag4}"></p></li></c:if>
                        <c:if test="${null ne evaluation.tag5 && '' ne evaluation.tag5}"><li class="evalustionlist_pj_li"><p th:text="${evaluation.tag5}"></p></li></c:if>
                    </ul>
                    <p class="f24 mt6"><p th:text="${evaluation.content}"></p></p>
                </div>
            </div>
            <div class="weui-flex my-client__bd" th:switch="${evaluation.checkStatus}">
                <a href="javascript:;" class="weui-flex__item t-l"><i class="iconfont"></i><span th:text="${evaluation.evaTime}"></span></a>
                <!--<a href="javascript:;" class="btn-changesh" th:id="${evaluation.id}" th:onclick="'javascript:review(\'' +${evaluation.id}+ '\');'">审核</a>-->
                <a href="javascript:;" class="btn-changesh" th:case="'0'" th:id="${evaluation.id}" th:onclick="'javascript:review(\'' +${evaluation.id}+ '\');'">审核</a>
                <a href="javascript:return false;" th:case="'1'" class="btn-changesh" th:id="${evaluation.id}" >已审核</a>
                <a href="javascript:;" class="btn-del" th:onclick="'javascript:passId(\'' +${evaluation.id}+ '\');'">删除</a>
            </div>
        </div>
    <!--</div>-->
<!--</div>-->
<!--弹出选择-->
<div class="weui-mask" id="iosMask" style="display: none"></div>

<!--二次确认弹窗-->
<div id="dialogs">
    <!--BEGIN dialog1-->
    <div class="js_dialog" id="iosDialog1" style="display:none">
        <div class="weui-mask"></div>
        <div class="weui-dialog">
            <div class="weui-dialog__hd"><strong class="weui-dialog__title">提示</strong></div>
            <div class="weui-dialog__bd">是否删除该条评价</div>
            <div class="weui-dialog__ft">
                <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default">否</a>
                <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" onclick="delEvaluation()">是</a>
            </div>
        </div>
    </div>
</div>

<form id="searchForm" action="/customer/evaluation" method="get">
    <input type="hidden" id="checkStatus" name="checkStatus" value= />
</form>

<div id="loadingToast" style="opacity: 0; display: none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
        <p class="weui-toast__content">数据加载中</p>
    </div>
</div>
<script type="text/javascript" src="/static/js/wechat/zepto.min.js"></script>
<script type="text/javascript" src="/static/js/evaluationList.js"></script>
<script type="text/javascript" src="/static/js/statistics.js"></script>
<script type="text/javascript" src="/static/js/jquery.charfirst.pinyin.js"></script>
<script type="text/javascript" src="/static/js/sort.js"></script>
<!--<script type="text/javascript" th:inline="javascript"></script>-->
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="https://res.wx.qq.com/open/libs/weuijs/1.1.4/weui.min.js"></script>
</body>

</html>