This commit is contained in:
liuyuan
2025-04-02 16:25:38 +08:00
parent b7a12ac402
commit c3cb6cbd93

View File

@@ -35,8 +35,8 @@
</el-form-item>
<el-form-item label="解析结果" class="remark_block" v-if="resultStatus">
解析成功{{resultData.has.length}}
<span style=" color: #f56c6c;">解析失败{{resultData.no.length}}</span>
人员识别成功{{resultData.has.length}}
<span style=" color: #f56c6c;">未识别{{resultData.no.length}}</span>
<span style=" color: #17B3A3; text-decoration: underline; cursor: pointer; padding-left: 20px;" v-if="resultData.no.length>0" @click="showFail">查看</span>
</el-form-item>
</el-form>
@@ -44,15 +44,15 @@
<el-button type="primary" @click="dataFormSubmit()">提交</el-button>
</div>
<div class="resultCon" v-if="resultStatus2">
上传成功{{ resultData2.successList.length }}
<span style=" color: #f56c6c;">上传失败{{failList.length}}</span>
开课成功{{ resultData2.successList.length }}
<span style=" color: #f56c6c;">失败{{failList.length}}</span>
<span style=" color: #17B3A3; text-decoration: underline; cursor: pointer; padding-left: 20px;" v-if="failList.length>0" @click="showFail2">查看</span>
</div>
</div>
<div class="add-course-right">
<div class="result_fail" v-if="showFailStatus" :style="!showFailStatus2?'width: 100%':''">
<p>解析失败数据<span style=" color: #f56c6c;">录入数据</span></p>
<div class="result_fail result_fail_table1" v-if="showFailStatus" :style="!showFailStatus2?'width: 100%':''">
<p>解析失败数据<span style=" color: #f56c6c;">注册数据</span></p>
<el-table :data="resultData.no" border :style="resultData.no.length>=10?'max-height: 530px;overflow-y: scroll;':''">
<el-table-column prop="name" header-align="center" align="center" label="姓名">
</el-table-column>
@@ -60,13 +60,15 @@
</el-table-column>
</el-table>
</div>
<div class="result_fail" v-if="showFailStatus2" :style="!showFailStatus?'width: 100%':''">
<p>上传失败数据</p>
<div class="result_fail result_fail_table2" v-if="showFailStatus2" :style="!showFailStatus?'width: 100%':''">
<p>开课失败数据</p>
<el-table :data="failList" border :style="failList.length>=10?'max-height:530px;overflow-y: scroll;':''">
<el-table-column prop="name" header-align="center" align="center" label="姓名">
</el-table-column>
<el-table-column prop="tel" header-align="center" align="center" label="手机号">
</el-table-column>
<el-table-column prop="describe" header-align="center" align="center" label="失败原因">
</el-table-column>
</el-table>
</div>
</div>
@@ -153,6 +155,7 @@
},
//获取课程分部数据
getCourseCatalogues(id){
this.dataForm.catalogues = [];
this.$http({
url: this.$http.adornUrl("/master/course/getCourseCatalogues"),
method: "post",
@@ -308,8 +311,11 @@
margin-left: 5%;
display: flex;
justify-content: space-between;
.result_fail{
width: 49%;
.result_fail_table1{
width: 38%;
}
.result_fail_table2{
width: 60%;
}
}
.dialog-footer{