engageanswer.html 4.0 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>转诊模块</title>
    <script src="__TMPL__/public/assets/js/fontsize.js"></script>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/init.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/swiper-3.4.2.min.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_793738_tlxymah92x.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/referralModule.css">
</head>
<body STYLE="background: #F5F6FA">
<div class="container">
    <div class="tab_box">
        <div class="tab_item tab_on">
            <text>待处理</text>
            <!--<text class="point">1</text>-->
        </div>
        <div class="tab_item">
            <text>已处理</text>
            <!--<text class="point">1</text>-->
        </div>
    </div>
    <div>
        <!--待回答-->
        <div class="state_box">
            <volist name="undo" id="vo">
                <a href="{:url('engageDetail',['id'=>$vo.id])}">
                    <div class="tab_content_box">
                        <div class="tab_info title_info">
                            <text class="">提交时间:{:date('Y.m.d',$vo.add_time)}</text>
                            <switch name="$vo.state">
                                <case value="0">
                                    <text class="tab_state state">待审核</text>
                                </case>
                                <case value="1">
                                    <text class="tab_state">已通过</text>
                                </case>
                                <case value="0">
                                    <text class="tab_state state">已驳回</text>
                                </case>
                            </switch>
                        </div>
                        <div class="tab_content">
                            <div class="content_item">
                                <div class="tab_title">进修单位</div>
                                <div>{$vo.hospital_name}</div>
                            </div>
                        </div>
                    </div>
                </a>
            </volist>
        </div>


        <!--已回复-->
        <div class="state_box" hidden>
            <volist name="redo" id="vo">
                <a href="{:url('engageDetail',['id'=>$vo.id])}">
                    <div class="tab_content_box">
                        <div class="tab_info title_info">
                            <text class="">提交时间:{:date('Y.m.d',$vo.add_time)}</text>
                            <switch name="$vo.state">
                                <case value="0">
                                    <text class="tab_state state">待审核</text>
                                </case>
                                <case value="1">
                                    <text class="tab_state">已通过</text>
                                </case>
                                <case value="0">
                                    <text class="tab_state state">已驳回</text>
                                </case>
                            </switch>

                        </div>
                        <div class="tab_content">
                            <div class="content_item">
                                <div class="tab_title">进修单位</div>
                                <div>{$vo.hospital_name}</div>
                            </div>

                        </div>
                    </div>
                </a>
            </volist>

        </div>
    </div>
</div>

<script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
<script>
    $('.tab_item').click(function () {
        var index = $(this).index()
        $(this).addClass('tab_on').siblings().removeClass('tab_on')
        $('.state_box').eq(index).show().siblings().hide()
    })
</script>
</body>
</html>