<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>随访问卷列表</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <link href="js/plugins/artDialog/6.0.5/css/ui-dialog.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <style>
        .box{
            border: 1px solid #d7dce5;
            margin-top: 20px;
            border-radius: 8px;
        }
        .c-border-b{border-bottom: 1px solid #d7dce5;}
        .self-btn{
            background-color: #12b7f5;
            color: #fff;
            width: 100px;
            padding: 6px 8px;
            border-radius: 2px;
        }
        .ui-grid{padding: 10px 0;}
    </style>
</head>
<body class="white-bg plr10">
    <div class="plr10 ptb10" id="container">
        
    </div>

    <script type="text/html" id="info_tmp">
        {{each list as it}}
        <div class="plr20 box" data-json="{{it.jsonStr}}">
            <div class="ui-grid c-border-b">
                <div class="ui-col-1 c-f16">{{it.name}}</div>
                <div class="ui-col-1 text-right">
                    {{if it.statue == 1}}
                    <a class="import-fv self-btn">填入随访记录</a>
                    {{else}}
                    <a class="send-survey self-btn" style="display: none;">发送填写请求</a>
                    {{/if}}
                </div>
            </div>
            <div class="ui-grid">
                <div class="ui-col-1">问卷状态：{{it.statue == 1 ? '已填写' : '未填写'}}</div>
                {{if it.statue == 1}}
                <div class="ui-col-1 text-right">填写时间： {{it.createtime}}</div>
                {{/if}}
            </div>
        </div>
        {{/each}}
    </script>
    
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/pace/pace.min.js"></script>
    <script src="js/plugins/toastr/toastr.min.js"></script>
    <script src="js/es6-promise.js"></script>
    <script src="js/underscore.js"></script>
    <script src="js/util.js"></script>
    <script src="js/template.js"></script>
    <script src="js/api-service.js"></script>
    <script src="js/consulting-api.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/buz/fv-survey.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>