<!-- <form class="form-horizontal">
    <div class="form-group">
        <div class="col-sm-7"></div>
        <div class="col-sm-2">
            <button class="btn btn-link"
                    type="button"
                    ng-click="vm.import()">
                <i class="fa fa-sign-out"></i> 导入
            </button>
        </div>
        <div class="col-sm-3">
            <button class="btn btn-link"
                    type="button"
                    ng-click="downloadfile()">
                <i class="fa fa-sign-out"></i> 下载模板
            </button>
        </div>
    </div>
    <div class="form-group">
        <rt-datetime ng-model="vm.importDate"
                     rt-type="month"
                     rt-title="选择年月:"
                     rt-required="true"
                     rt-col="3"
                     rt-label-col="3"></rt-datetime>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color:red;">*</span>选择文件:</label>
        <div class="col-sm-9">
            <div class="btn-group">
                <button   class="btn btn-default"
                          ng-file-select
                          ng-file-change="fileselect($files)"
                          multiple="multiple" >选择文件</button>{{selectedFileName}}
            </div>
        </div>
    </div>
</form> -->







<style type="text/css">
    .control-label {
        font-weight: normal;
    }
</style>
<p>1、
    <a style="cursor: pointer;" ng-click="downloadTemplateFile()">点击下载</a>
    《{{importHeader.Title}}导入模板》
</p>
<p style="margin-top: 13px;">2、填写模板文件选择文件，并且进行导入</p>
<div class="row" style="padding-left:15px;">
    <div class="col-sm-7">
        <input type="text" ng-model="selectedFileName" class="form-control" readonly>
    </div>
    <div class="col-sm-1">
        <button class="btn btn-default" ng-file-select ng-file-change="selectFile($files)" multiple="multiple">选择文件
        </button>
    </div>
</div>
<br>
<p>3、
    <a style="cursor: pointer;" ng-click="import()">开始导入</a>
</p>

<p>4、导入状态：{{importStatus}}
    <a style="cursor: pointer;" ng-click="downloadErrorFile()" ng-show="errorFileId!=''">下载错误日志</a>
</p>